๐บ๐ธ English | ๐ท๐บ ะ ัััะบะธะน
Note
This is the primary version. Translations may lag behind.
This framework orchestrates a multi-agent system for structured software development. It transforms vague requirements into high-quality code through a strict pipeline of specialized agents (Analyst, Architect, Planner, Developer, Reviewer, Security Auditor).
The methodology combines two key approaches (see Comparison):
- TDD (Test-Driven Development): The "Stub-First" strategy ensures that tests are written and verified against stubs before actual implementation begins. Read more.
- VDD (Verification-Driven Development): A high-integrity mode where an adversarial agent proactively challenges the plan and code to eliminate hallucinations and logic errors before they are committed. Read more.
- Installation & Setup
- System Overview
- Workspace Workflows
- How to Start Development
- Practical Usage (Claude Code & Gemini)
- Artifact Management
- What to do with .AGENTS.md files?
- How to prepare for future iterations?
- Reverse Engineering
- Starter Prompts
- Migration Guide
Deploy the framework into a clean project with the installer:
cd /path/to/your-project
/path/to/agentic-development/install.sh install --vendor claudeThe installer (install.sh โ System/scripts/install.py) supports five vendor
profiles โ claude, antigravity, codex, cursor, gemini-cli โ and five
subcommands:
| Subcommand | Purpose |
|---|---|
install |
Deploy the framework into a target project |
switch |
Switch the installed agent system (e.g. --vendor antigravity) |
update |
Re-sync framework symlinks after the framework changes |
uninstall |
Remove framework artifacts (--purge also removes the framework itself) |
doctor |
Verify install integrity (--json for a machine-readable report) |
The framework lives in <project>/.agentic-development/ โ a symlink to a sibling
clone (default, --mode symlink) or a full copy (--mode copy, for airgapped / CI).
Per-item relative symlinks point into it, and a managed .gitignore block keeps
framework files out of your project's git history. Pre-flight conflict scanning never
overwrites your own files (CLAUDE.md, settings.json, a user-owned System/, โฆ);
--dry-run previews the plan without touching the filesystem.
Copy these folders to your project root:
| Folder | Required | Description |
|---|---|---|
System/ |
โ Yes | Agent Personas, Docs, and Tool Dispatcher |
.agent/ |
โ Yes | Skills, Workflows, and Tool definitions |
# Installation
cp -r /path/to/framework/System ./
cp -r /path/to/framework/.agent ./
cp /path/to/framework/GEMINI.md ./ # (For Antigravity)Note
The Tool Execution Subsystem is included in System/scripts/:
System/scripts/tool_runner.pyโ fallback tool dispatcher (execute_tool; loop not yet wired).agent/tools/โ Tool logic and schemas
To configure Cursor for this workflow:
- Context Rules: Copy
AGENTS.mdto your project root. - Skills: Create a symbolic link to enable native skill detection:
ln -s .agent/skills .cursor/skills
- Note: This allows Cursor to index the skills while keeping
.agent/skillsas the single source of truth.
- Note: This allows Cursor to index the skills while keeping
Antigravity supports this architecture out-of-the-box:
- Configuration: Copy
GEMINI.mdto your project root (this is the system prompt). - Skills: Ensure
.agent/skills/directory exists. Antigravity automatically loads skills from here. - Workflows: (Optional) Use
.agent/workflows/for automated sequences. - Auto-Run Permissions: To enable autonomous command execution, add the following to Allow List Terminal Commands in IDE Settings:
ls,cat,head,tail,find,grep,tree,wc,stat,file,du,df,git status,git log,git diff,git show,git branch,git remote,git tag,mv docs/TASK.md,mv docs/PLAN.md,mkdir -p docs,mkdir -p .agent,mkdir -p tests,python -m pytest,python3 -m pytest,npm test,npx jest,cargo test
To use with Anthropic's claude CLI:
- Configuration:
CLAUDE.mdis included and ready to use. - Hooks:
.claude/settings.jsonauto-validates skills on modification. - Commands: Available slash commands (in
.claude/commands/):/start-featureโ Analysis + Architecture/planโ Planning phase/developโ Develop single task/develop-allโ Loop all tasks/lightโ Fast-track for trivial tasks/vddโ VDD Enhanced pipeline/vdd-start-featureโ VDD Analysis + Architecture/vdd-planโ VDD Planning phase/vdd-developโ VDD Development phase/vdd-adversarialโ VDD Adversarial testing/vdd-multiโ VDD Multi-task pipeline/fullโ Full pipeline + Security Audit/security-auditโ Security audit/base-stub-firstโ Standard full pipeline/update-docsโ Documentation update/framework-upgradeโ Framework upgrade/iterative-designโ Iterative design/product-full-discoveryโ Full product discovery/product-market-onlyโ Market-only product analysis/product-quick-visionโ Quick product vision
- Usage: Run
claudein the project root.CLAUDE.mdloads automatically.
To use with Google's gemini CLI:
- Configuration: Ensure
GEMINI.mdis present in the project root. - Usage: Run
geminicommands. The tool will look forGEMINI.mdas the system instruction.
To use this framework in Codex:
- Configuration: Use a Codex-compatible
AGENTS.md. If your current file is Cursor-specific, adapt it so runtime rules do not depend on.cursor/*paths. - Skills: Keep project skills in
.agent/skills/as the source of truth. - Optional Global Skills: Reusable meta-skills can be installed to
$CODEX_HOME/skillswhen you want cross-project reuse. - Usage: Open the project in Codex and start tasks from the repository root context.
This framework requires a reproducible Python environment for tool execution, validators, and test automation.
- Required: Python
3.11+(recommended) - Minimum: Python
3.9+(legacy compatibility)
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip setuptools wheelpip install -r requirements-dev.txt
# Optional integrations:
pip install openai python-dotenvpython --version
python -m pytest --version
python -c "import yaml; print('pyyaml: ok')"
python .agent/skills/skill-creator/scripts/init_skill.py --help
python .agent/skills/skill-creator/scripts/validate_skill.py .agent/skills/skill-creator
python System/scripts/doctor.pyNo module named pytest- Run:
pip install -r requirements-dev.txt
- Run:
No module named yaml- Run:
pip install -r requirements-dev.txt
- Run:
- If global Python conflicts occur:
- Deactivate and recreate
.venv, then reinstall only required packages.
- Deactivate and recreate
Important
Do not install dependencies globally. Use .venv for all framework tooling.
project-root/
โโโ AGENTS.md # [Cursor] Context & Rules
โโโ GEMINI.md # [Antigravity] System Config
โโโ .agent/
โ โโโ skills/ # [Common] Skill Catalog
โ โ โโโ ...
โ โ โโโ skill-product-* # [Product] Strategy, Vision, Handoff
โ โโโ workflows/ # [Common] Workflow Library
โ โโโ tools/ # [Common] Tool Logic & Schemas
โโโ System/
โ โโโ Agents/ # [Common] Agent Personas (00-10, p00-p04)
โ โโโ Docs/ # [Common] Framework Documentation
โ โโโ scripts/ # [Common] Tool Dispatcher
โ โโโ tool_runner.py
โโโ src/ # Your Source Code
To understand how the system works, it is crucial to distinguish between the Documentation and the System Prompt.
This file is the Constitutional Document of the system.
- Role: Describes "What the system is" and "How it is composed".
- Content: Role definitions (Analyst, Architect, etc.), Skill Tiers, Task Boundary logic, and specific rules for artifacts (TASK.md, ARCHITECTURE.md).
- Usage: Source of Truth for humans and for agents needing to understand the "Theory" of the framework.
This file is the Executable System Instruction for the AI Agent.
- Role: Tells the agent "What to do RIGHT NOW" and "How to execute the rules".
- Content: Imperative commands (MUST, CRITICAL), the Execution Pipeline (Analysis -> Architecture -> ...), and Protocol definitions.
- Usage: The active prompt that "programs" the agent's behavior.
graph TD
subgraph "The Blueprint (Theory)"
A[00_agent_development.md] -->|Defines| B(Roles)
A -->|Defines| C(Processes)
end
subgraph "The Driver (Execution)"
D[GEMINI.md / AGENTS.md] -->|Implements| A
D -->|Controls| E[AI Agent]
end
E -->|Reads| D
E -->|Executes| F[Agentic Pipeline]
| Feature | 00_agent_development.md |
GEMINI.md / AGENTS.md |
|---|---|---|
| Type | Documentation / Specification | Prompt / Instruction |
| Style | Descriptive ("System consists of...") | Imperative ("You MUST do...") |
| Goal | Explain system structure | Control agent behavior |
| Target | Developer & Agents (Context) | AI Model (System Prompt) |
| Analogy | Constitution / Bylaws | Job Description / Algorithm |
Relationship:
GEMINI.mdenforces what is described in00_agent_development.md. Without the first, the agent wouldn't know the big picture. Without the second, the agent would know the theory but lack the strict algorithm to execute user tasks.
| Role | File | Responsibility |
|---|---|---|
| Orchestrator | 01_orchestrator.md |
Project Manager. Dispatches tasks, manages the pipeline. |
| Analyst | 02_analyst_prompt.md |
Requirements elicitation, TASK creation. |
| TASK Reviewer | 03_task_reviewer_prompt.md |
Quality control for Technical Specifications. |
| Architect | 04_architect_prompt.md |
System design, database schema, API definition. |
| Arch Reviewer | 05_architecture_reviewer_prompt.md |
Validates verification of architectural decisions. |
| Planner | 06_planner_prompt.md |
Breaks down implementation into atomic steps (Stub-First). |
| Plan Reviewer | 07_plan_reviewer_prompt.md |
Ensures the plan is logical and testable. |
| Developer | 08_developer_prompt.md |
Writes code (Stubs -> Tests -> Implementation). |
| Code Reviewer | 09_code_reviewer_prompt.md |
Final code quality check. |
| Security Auditor | 10_security_auditor.md |
Security vulnerability assessment (OWASP, smart contracts, IaC, secrets, SBOM) and reporting. |
| Role | File | Responsibility |
|---|---|---|
| Product Orch | p00_product_orchestrator_prompt.md |
Dispatches product tasks to Strategy/Vision/Director. |
| Strategic Analyst | p01_strategic_analyst_prompt.md |
Market Research, TAM/SAM/SOM, Competitive Analysis. |
| Product Analyst | p02_product_analyst_prompt.md |
Product Vision, User Stories, Backlog Prioritization (WSJF). |
| Director | p03_product_director_prompt.md |
Quality Gate. Approves BRD with cryptographic hash. |
| Solution Arch | p04_solution_architect_prompt.md |
Feasibility Check, ROI, Solution Blueprint. |
| Tool | System Prompt File | Loading Method |
|---|---|---|
| Cursor IDE | AGENTS.md |
Automatic (context rules) |
| Antigravity | GEMINI.md |
Automatic (native) |
| Claude Code | CLAUDE.md |
Automatic (on launch) |
| Codex | AGENTS.md (Codex-compatible) |
Automatic (workspace policy) |
| Gemini CLI | GEMINI.md |
Automatic (system instruction) |
Note: See Blueprint vs Driver for the difference between 00_agent_development.md (theory) and system prompt files (execution).
Version 3.0 introduces a modular Skills System that separates "Who" (Agent) from "What" (Capabilities).
- Reduces Prompt Size: Agents only load what they need.
- Shared Logic: Improvements in a skill benefit all agents.
Structure:
.agent/skills/โ Markdown instructions and templates..agent/tools/โ Native tool definitions and schemas.System/scripts/โ Execution engine for tools.
Capabilities: Run tests, Git operations, File I/O, Archiving.
>> View Full Skills Catalog << >> Orchestrator Tools โ Fallback / Additional-Tools Guide << >> Source of Truth Map << >> Release Checklist <<
By default, the system uses English prompts. To use Russian context:
- Copy content from
Translations/RU/AgentstoSystem/Agents. - Copy content from
Translations/RU/Skillsto.agent/skills.
To simplify launching different development modes, the project provides special Workflows. Detailed description of all workflows: WORKFLOWS.
You can run a workflow simply by asking the agent:
-
Canonical command form is
run <workflow-name>; slash form (/workflow-name) is an alias. -
Product Discovery (New):
- "Start Product Discovery" -> runs
run product-full-discovery(Full pipeline) - "Just the vision" -> runs
run product-quick-vision(Fast track) - "Analyze market" -> runs
run product-market-only(Strategy only)
- "Start Product Discovery" -> runs
-
Standard Mode (Stub-First):
- "Start feature X" -> runs
run 01-start-feature - "Plan implementation" -> runs
run 02-plan-implementation - "Develop task" -> runs
run 03-develop-single-task(single) orrun 05-run-full-task(loop)
- "Start feature X" -> runs
-
VDD Mode (Verification-Driven Development):
- "Start feature X in VDD mode" -> runs
run vdd-01-start-feature - "Develop task in VDD mode" -> runs
run vdd-03-develop(Adversarial Loop)
- "Start feature X in VDD mode" -> runs
- Standard: Basic mode, focused on speed and structure (Stub-First).
- VDD (Verification-Driven): High-reliability mode using an "Adversarial Agent" (Sarcasmotron) that harshly criticizes code.
- Nested & Advanced:
- VDD Enhanced (
run vdd-enhanced; alias:/vdd-enhanced): Runs Stub-First then VDD Refinement. - VDD Multi-Adversarial (
run vdd-multi; alias:/vdd-multi): Sequential 3-critic verification (Logic โ Security โ Performance). - Full Robust (
run full-robust; alias:/full-robust): Runs VDD Enhanced then Security Audit.
- VDD Enhanced (
This process will take you from an idea to finished code in the repository.
Agents p00-p04 ensure you are building the right product before you build it right.
- Orchestrator (p00): Decides if you need "Market Research" or just a "Quick Vision".
- Strategy (p01): Calculates TAM/SAM/SOM and checks competitors.
- Vision (p02): Defines the "Soul" of the product and User Stories.
- Director (p03): Adversarial Gatekeeper. Rejects fluff. Signs off with a cryptographic hash.
- Solution (p04): Converts Vision to
SOLUTION_BLUEPRINT.md(ROI, UX Flows). - Handoff: Compiles
BRD.mdand triggers the Technical Phase.
>> Read the full Product Development Playbook <<
- Initialization: Ensure you are in the project root.
- Reconnaissance: If the project already exists, ensure
.AGENTS.mdfiles exist in root folders. If not, create empty or basic ones so agents have somewhere to write.
- Analyst (02_analyst_prompt.md):
- Provide the agent with the idea/task.
- The agent studies the project structure (Reconnaissance).
- Result: Technical Specification (TASK).
- TASK Review (03_task_reviewer_prompt.md):
- Check the TASK for completeness and consistency.
- Architect (04_architect_prompt.md):
- Based on the TASK, the agent designs the architecture.
- Result: Architecture Document (
docs/ARCHITECTURE.md) - (classes, databases, APIs).
- Architecture Review (05_architecture_reviewer_prompt.md):
- Approve the architecture before planning.
- Planner (06_planner_prompt.md):
- The agent creates a work plan.
- IMPORTANT: The plan must follow the Stub-First strategy:
- Task X.1 [STUB]: Create structure and stubs + E2E test on hardcode.
- Task X.2 [IMPL]: Implement logic + update tests.
- Plan Review (07_plan_reviewer_prompt.md):
- Check that Stub-First principle is observed. If not, send for revision.
For each pair of tasks in the plan (Stub -> Impl):
- Developer (08_developer_prompt.md) โ STUB Phase:
- Creates files, classes, and methods.
- Methods return
Noneor hardcode (e.g.,return True). - Writes an E2E test that passes on this hardcode.
- Documentation First: Creates/updates
.AGENTS.mdin affected folders.
- Code Review (09_code_reviewer_prompt.md) โ STUB Phase:
- Checks: "Are these really stubs? Does the test pass?".
- Developer (08_developer_prompt.md) โ IMPLEMENTATION Phase:
- Replaces hardcode with real logic.
- Updates tests (removes hardcode asserts, adds real checks).
- Anti-Loop: If tests fail 2 times in a row with the same error โ stop and analyze.
- Code Review (09_code_reviewer_prompt.md) โ IMPLEMENTATION Phase:
- Checks: "No stubs left? Is code clean? Do tests pass?".
- Final Check: Run the full test suite (Regression Testing).
- Git Commit:
- If all tests are green, make a commit.
- Recommended format:
feat(scope): description.
- Artifacts:
- Ensure all created artifacts (TASK, Architecture, Plan) are saved in the project documentation.
- Archive TASK: Copy the final Technical Specification to the archive:
cp docs/TASK.md docs/tasks/task-ID-name.md.
cd my-project
claude
# or geminiPrompt:
Develop a "Payment Gateway" module.
Requirements:
- Stripe API integration
- Webhook handling
- Database transaction logging
Automated Process:
- Analysis: Agent reads
02_analyst_prompt.md, createsTASK.md. - Architecture: Agent reads
04_architect_prompt.md, updatesARCHITECTURE.md. - Planning: Agent reads
06_planner_prompt.md, createsPLAN.md(Stub-First). - Development: Agent reads
08_developer_prompt.md, implements Stubs -> Tests -> Code.
Result: You get a fully implemented, tested feature with documentation without manual intervention.
For simple tasks (typos, UI tweaks), use the /light workflow to skip heavy planning.
Prompt:
/light
Fix the typo in the Submit button: "Sumbit" -> "Submit"
Automated Process:
- Recognition: Agent detects
[LIGHT]mode. - Execution: Skips Architecture/Planning.
- Action: Directly modifies the code and runs a quick verification.
If you interrupt the session, you can resume exactly where you left off.
Prompt:
Resume work on the Email Notifications task.
Automated Process:
- Read State: Agent reads
.agent/sessions/latest.yaml. - Restore Context: "AH, we were in Development Phase, Task 2.1 [STUB]".
- Continue: Resumes execution without re-analyzing the whole project.
During the development process, agents create various artifacts. Here is how to handle them:
| Artifact | Path | Status | Recommendation |
|---|---|---|---|
| Product Strategy | docs/product/MARKET_STRATEGY.md |
Strategic | TAM/SAM/SOM & Competitive Analysis. Update quarterly. |
| Product Vision | docs/product/PRODUCT_VISION.md |
Strategic | "North Star". Defines User Stories and Values. |
| Solution Blueprint | docs/product/SOLUTION_BLUEPRINT.md |
Tactical | ROI, Risk Register, UX Flows. |
| BRD | docs/product/BRD.md |
Quality Gate | Business Requirements. Signed with hash. Triggers dev. |
| Technical Specification | docs/TASK.md |
Single Source of Truth (Technical) | STRICTLY for current active task. Derived from BRD. |
| Architecture | docs/ARCHITECTURE.md |
Source of Truth (System) | NEVER DELETE. Keep updated. This is the map of your system. |
| Known Issues | docs/KNOWN_ISSUES.md |
Living Document | Keep. Document bugs, workarounds, and complex logic explanation. |
| Task Archive | docs/tasks/task-ID-name.md |
History / Immutable | Mandatory Archive. All completed TASKs move here. Never edit after archiving. |
| Subtask Description | docs/tasks/task-ID-SubID-slug.md |
Granular Plan | Created by Planner. detailed steps for Developer. |
| Implementation Plan | docs/PLAN.md (or implementation_plan.md) |
Transient | Can be kept for history or deleted after task completion. |
| Test Report | tests/tests-{TaskID}/... |
Proof of Quality | Created by Developer. Contains verification results. |
| Walkthrough | walkthrough.md |
Proof of Work | Created after verification. Demonstrates changes and validation results. |
| Task Checklist | task.md |
Transient | Task tracking. Reset/overwrite for new tasks. |
| Agent Memory | .AGENTS.md |
Long-term Memory | NEVER DELETE. Commit to Git. |
| Open Questions | docs/open_questions.md |
Unresolved Issues | Track unresolved architectural questions here. |
Strict Artefact Rules (New v2.1):
- One Task = One TASK:
docs/TASK.mdalways reflects only what is being built right now. - Archive Strategy:
- Before starting a fundamentally new task: Archive
docs/TASK.md->docs/tasks/task-00N-name.md. - During the task: Only overwrite
docs/TASK.md. Never append.
- Before starting a fundamentally new task: Archive
- Cleanup:
- Keep: All
docs/*files that describe the current state of the system. - Cleanup: Intermediate scratchpads if you used them outside of
docs/.
- Keep: All
DO NOT DELETE THEM!
The .AGENTS.md files are the project's "long-term memory" for agents (and humans).
- When development is complete: Leave them in the repository. They should be committed along with the code.
- Why they are needed: When you return to the project in a month (or another agent comes), this file explains: "This folder is responsible for auth, main files here are X and Y".
- Maintenance: If you refactor code manually, do not forget to update
.AGENTS.md.
To make the next iteration go smoothly:
- Green Tests: Leave the project with passing tests. A broken test at the start of the next task will confuse agents.
- Actual Map: Check that
.AGENTS.mdmatches reality. - Open Questions: If unresolved architectural questions remain, record them in
docs/open_questions.mdso the Architect of the next iteration sees them.
If the user made "free-form" fixes during development completion, the documentation (e.g., docs/TASK.md, docs/ARCHITECTURE.md) might have desynchronized with the actual code.
To prevent AI from breaking what you fixed when adding a feature next time, you need to update the documentation.
Tip
Use skill-reverse-engineering for structured recovery of architecture docs from code.
Use skill-update-memory for automatic .AGENTS.md updates based on git diff.
Example prompt (Reverse Engineering):
@docs/ARCHITECTURE.md
You are an Architect and Technical Writer.
Apply skill-reverse-engineering.
SITUATION:
We completed active development. Many manual fixes were made.
Current documentation is outdated and does not reflect the actual code structure.
TASK:
1. Use the iterative analysis strategy from skill-reverse-engineering.
2. Update docs/ARCHITECTURE.md with the real technical solution.
3. Record hidden knowledge in docs/KNOWN_ISSUES.md (TODOs, HACKs, complex spots).
4. Generate missing .AGENTS.md files using skill-update-memory format.
IMPORTANT: To launch the process, use Composer (Cmd+I) or chat.
Copy this text to activate the Orchestrator via AGENTS.md.
You are an Orchestrator.
Context: Our project - [PROJECT_NAME/DESCRIPTION].
TASK: Develop "[FEATURE_NAME]" module.
INPUT:
- [REQUIREMENT_1]
- [REQUIREMENT_2]
ACTION:
- Execute workflow `/base-stub-first` (Standard Pipeline).
You are an Orchestrator.
TASK: Refactor "[MODULE_NAME]" module.
CONTEXT:
- Current code: `[PATH/TO/CODE]`.
- Problem: [DESCRIPTION_OF_PROBLEM].
- Goal: [DESCRIPTION_OF_GOAL].
ACTION:
- Execute workflow `/base-stub-first` (Analysis -> Arch -> Plan -> Refactor).
You are an Orchestrator.
TASK: Fix the "[ERROR_DESCRIPTION]" bug.
INPUT:
- Log file: [PATH_TO_LOGS].
ACTION:
- Execute workflow `/vdd-adversarial` to reproduce and fix.
You are an Orchestrator.
TASK: Restore outdated documentation.
CONTEXT:
- Active development finished, but `docs/` are stale.
ACTION:
- Execute workflow `/04-update-docs` to reverse-engineer architecture and update memory.
You are an Orchestrator.
TASK: Audit the "[MODULE_OR_SERVICE_NAME]" for vulnerabilities.
ACTION:
- Execute workflow `/security-audit`.
Goal: Transition from "TZ" (ะขะตั ะฝะธัะตัะบะพะต ะะฐะดะฐะฝะธะต) to "TASK" to align with the new standard.
- Rename Artifact:
mv docs/TZ.md docs/TASK.md
- Update Prompts:
- Overwrite
System/Agents/with the latest version from v3.1.0 release. - Key shift:
03_tz_reviewer_prompt.mdis now03_task_reviewer_prompt.md.
- Overwrite
- Update Skills:
- Overwrite
.agent/skills/with the latest version.
- Overwrite
Goal: Enable modular agents.
- Delete Legacy: Remove
System/Agents(if it contains monolithic prompts). - Install New: Copy
System/Agents(v3.0+) and.agent/folder to root. - Config: Ensure
GEMINI.mdorAGENTS.mdare updated.
