ai-devkit
v0.42.1
Published
Make AI coding agents follow a repeatable engineering workflow with memory, verification, skills, and multi-agent setup
Maintainers
Readme
AI DevKit CLI
The command-line interface for AI DevKit — make AI coding agents follow a repeatable engineering workflow in your project.
Use this package when you want the ai-devkit command to install agent skills, memory, verification gates, MCP configuration, and docs/ai/ workflow files into a project.
Features
- Workflow layer — Requirements, design, planning, implementation, testing, verification, and review
- AI environment setup — One-command configuration for Cursor, Claude Code, Codex, Gemini CLI, Devin, and other agents
- Skill management — Install reusable AI skills that change agent behavior
- Persistent memory — Store project decisions and conventions so agents can reuse them across sessions
Installation
# Run directly (no install needed)
npx ai-devkit@latest init
# Or install globally
npm install -g ai-devkitQuick Start
# Set up your project interactively
ai-devkit init
# Set up from template (no step-by-step prompts when template is complete)
ai-devkit init --template ./ai-devkit.init.yamlThis will:
- Create a
.ai-devkit.jsonconfiguration file - Set up your AI coding agent environment, including skills and MCP servers where supported
- Generate
docs/ai/workflow docs for requirements, design, planning, implementation, and testing - Give your agent a repeatable process instead of relying on one-off chat instructions
After initialization, your repo gets project-local files you can review and commit:
your-project/
├── .ai-devkit.json
├── .claude/ # or .cursor/, .codex/, etc. based on selected agents
│ ├── skills/
│ └── settings.json
└── docs/ai/
├── requirements/
├── design/
├── planning/
├── implementation/
└── testing/In your AI editor, ask the agent to use the dev-lifecycle skill to clarify the feature before editing code.
Common Commands
# Initialize project
ai-devkit init
# Initialize project from YAML/JSON template
ai-devkit init --template ./ai-devkit.init.yaml
# Install/reconcile project setup from .ai-devkit.json
ai-devkit install
# Overwrite all existing install artifacts without extra prompts
ai-devkit install --overwrite
# Add a development phase
ai-devkit phase requirements
# Validate workspace docs readiness
ai-devkit lint
# Validate a feature's docs and git branch/worktree conventions
ai-devkit lint --feature lint-command
# Emit machine-readable output for CI
ai-devkit lint --feature lint-command --json
# Install a skill
ai-devkit skill add <skill-registry> [skill-name]
# Store project knowledge for future agent sessions
ai-devkit memory storeTemplate example:
version: 1
environments:
- codex
- claude
phases:
- requirements
- design
- planning
- implementation
- testing
skills:
- registry: codeaholicguy/ai-devkit
skill: dev-lifecycle
- registry: codeaholicguy/ai-devkit
skill: verify
- registry: codeaholicguy/ai-devkit
skill: memory
- registry: codeaholicguy/ai-devkit
skill: tddDocumentation
📖 For the full user guide, workflow examples, and best practices, visit:
License
MIT
