
AI Factory
Stop configuring. Start building.
You want to build with AI, but setting up the right context, prompts, and workflows takes time. AI Factory handles all of that so you can focus on what matters — shipping quality code.
One command. Full AI-powered development environment.
ai-factory init
Why AI Factory?
- Zero configuration — installs relevant skills, configures integrations
- Best practices built-in — logging, commits, code review, all following industry standards
- Spec-driven development — AI follows plans, not random exploration. Predictable, resumable, reviewable
- Community skills — leverage skills.sh ecosystem or generate custom skills
- Stack-agnostic — works with any language, framework, or platform
- Multi-agent support — Claude Code, Cursor, Windsurf, Roo Code, Kilo Code, Antigravity, OpenCode, Warp, Zencoder, Codex CLI, Codex app, GitHub Copilot, Gemini CLI, Junie, Qwen Code, or any agent
Installation
Using npm
npm install -g ai-factory
Using mise
mise use -g npm:ai-factory
Quick Start
ai-factory init
ai-factory init --agents claude,codex --mcp playwright,github
This will:
- Ask which AI agent you use (or use
--agents flag)
- Install relevant skills (or use
--skills flag)
- Configure MCP servers (or use
--mcp flag)
Then open your AI agent and start working:
/aif
Codex CLI and Codex app use $aif style invocations after installation.
Need CLI flags, update/upgrade details, or extension commands? See Getting Started. Need slash-command reference? See Core Skills.
Example Workflow
/aif-explore Add user authentication with OAuth
/aif-grounded Does this repo already support OAuth providers?
/aif-plan Add user authentication with OAuth
/aif-improve
/aif-implement
/aif-reference https://docs.example.com/api-reference --name example-api
/aif-fix TypeError: Cannot read property 'name' of undefined
/aif-ci github
/aif-docs
See the full Development Workflow with diagram and decision table.
Documentation
| Getting Started | What is AI Factory, supported agents, CLI commands |
| Development Workflow | Workflow diagram, when to use explore vs grounded, spec-driven approach |
| Reflex Loop | Iterative generate → evaluate → critique → refine workflow |
| Subagents | Bundled Claude subagents and the baseline Codex native agent-file bundle, including managed Codex config |
| Core Skills | All slash commands — workflow, quality, docs, and WordPress skills |
| WordPress Workflow | VyatkaIT WordPress Figma-to-theme workflow with CPT, blocks, QA, and fixes |
| Quality Gates | Machine-readable aif-gate-result summaries for verify, review, security, and rules gates |
| Skill Evolution | How /aif-fix patches feed into /aif-evolve to generate smarter skill rules |
| Plan Files | Plan files, self-improvement patches, skill acquisition |
| Security | Two-level security scanning for external skills |
| Extensions | Writing and installing extensions — commands, injections, MCP, agents |
| Configuration | .ai-factory.json, MCP servers, project structure, best practices |
| Config Reference | Full config.yaml key reference and skill read/write matrix |
Links
License
MIT