AI-Optimized Protocol Management System
Knowledge Transfer CLI (kt-cli) is a command-line tool that creates AI-ready projects with proven Knowledge Transfer Protocols. It ensures seamless knowledge transfer across projects, teams, and AI coding assistants.
# Install from npm (when published)
npm install -g @knowledge-transfer/cli
# Or install directly from GitHub
npm install -g git+https://github.com/knowledge-transfer-protocols/kt-cli.gitkt-cli version
kt-cli help# Create AI-ready project with Knowledge Transfer Protocols
kt-cli new my-awesome-project
# Enter project directory
cd my-awesome-project
# Install dependencies
npm install# Generate comprehensive AI context
kt-cli ai prepare
# Copy output and share with your AI coding assistant
# AI will immediately understand project structure and protocols# Start development server
npm run dev
# Run tests
npm test
# Validate protocol compliance
kt-cli validate # (future feature)Every project created with kt-cli new includes:
- src/ - Core application logic
- tests/ - Comprehensive testing framework
- docs/ - Complete documentation
- BestPractices/ - Knowledge Transfer Protocols
- .kt-context/ - AI assistant context and project memory
- Complete AI context package for immediate understanding
- Protocol documentation for consistent application
- Project-specific knowledge preserved across sessions
- Conventional commits from day one
- Comprehensive documentation following proven frameworks
- Testing structure for reliable development
- Code organization following universal best practices
kt-cli ai prepareThis generates a complete context package that you can share with any AI coding assistant:
# AI Assistant Context Package
# Project: my-awesome-project
# Generated: 2025-09-09
## π― PROJECT OVERVIEW
**Name:** my-awesome-project
**Type:** Node.js Express Web Application
**Technology Stack:** Node.js, Express.js, JSON file storage
## π§ CORE PROTOCOLS (Always Apply)
1. CodeOrganizationFramework.md - Universal project structure
2. GitWorkflowPatterns.md - Professional version control
3. DocumentationFramework.md - Knowledge capture standards
## π€ AI BEHAVIOR GUIDELINES
- Always follow protocols without deviation
- Document everything as you build
- Use conventional commit messages
- Maintain consistency with existing patterns- β Zero Context Loss - AI understands project immediately
- β Consistent Application - Same standards across all projects
- β Seamless Handoffs - New AI sessions continue without friction
- β Knowledge Evolution - Protocols improve based on usage
| Command | Description |
|---|---|
kt-cli new <name> |
Create new project with protocols |
kt-cli ai prepare |
Generate AI assistant context |
kt-cli ai validate |
Test AI understanding (future) |
kt-cli ai handoff |
Package for new AI session (future) |
kt-cli sync |
Update to latest protocols (future) |
kt-cli version |
Show version information |
kt-cli help |
Show help information |
- Node.js v16+ (v18+ recommended)
- npm v8+
- Git (for version control)
Projects created with kt-cli follow this proven structure:
my-awesome-project/
βββ src/ # Core application logic
β βββ server.js # Main Express server
βββ tests/ # Testing framework
β βββ test-server.js # Server tests
βββ docs/ # Documentation
β βββ README.md # Project documentation
β βββ API_DOCUMENTATION.md
βββ public/ # Frontend assets
βββ data/ # Data storage
βββ BestPractices/ # Knowledge Transfer Protocols
β βββ Generic/ # Universal best practices
β βββ ProjectSpecific/ # Project-specific knowledge
βββ .kt-context/ # AI context and project memory
β βββ ai-context.md # Complete AI assistant context
β βββ project-dna.json # Project metadata
βββ package.json # Dependencies and scripts
βββ README.md # Project overview
βββ .gitignore # Git ignore patterns
kt-cli new my-web-app
cd my-web-app
npm install
npm run dev# Create project
kt-cli new ai-assisted-project
cd ai-assisted-project
# Generate AI context
kt-cli ai prepare
# Share output with AI assistant
# AI now understands complete project context and protocolsEvery project includes proven best practices:
Universal directory structure and organization principles for any technology stack.
Professional version control practices including conventional commits and semantic versioning.
Knowledge capture and transfer standards for seamless team onboarding and project handoffs.
System for continuous improvement and sharing of best practices across projects.
- Fork the repository
- Create a feature branch
- Follow our Knowledge Transfer Protocols
- Submit a pull request
MIT License - see LICENSE file for details.
- GitHub Issues: Report bugs and request features
- Documentation: Complete guides in generated project docs
- Community: Join our discussions for best practices sharing
Built with Knowledge Transfer Protocol Evolution System v1.0