|
| 1 | +# DevAgent Core Kit |
| 2 | + |
| 3 | +The DevAgent **core** kit is a portable collection of agent instruction sheets and reusable templates that enable structured product development workflows. Copy this entire `core/` directory to any project to gain immediate access to the full DevAgent roster and workflow templates. |
| 4 | + |
| 5 | +## What's Included |
| 6 | + |
| 7 | +- **Agent Instruction Sheets** (`agents/`) - Detailed briefs for 10+ specialized agents covering ideation, research, specification, planning, and execution |
| 8 | +- **Document Templates** (`templates/`) - Reusable structures for research packets, specs, task plans, and feature hubs |
| 9 | +- **Agent Roster** (`AGENTS.md`) - Quick reference guide for when to invoke each agent |
| 10 | +- **This Setup Guide** (`README.md`) - Instructions for initializing DevAgent in new projects |
| 11 | + |
| 12 | +## Core vs Workspace |
| 13 | + |
| 14 | +DevAgent separates **portable** artifacts (core) from **project-specific** artifacts (workspace): |
| 15 | + |
| 16 | +- **`.devagent/core/`** (this directory) - PORTABLE agent kit that can be copied to any project |
| 17 | +- **`.devagent/workspace/`** - PROJECT-SPECIFIC product mission, features, research, and decisions |
| 18 | + |
| 19 | +This separation enables **5-minute setup** for new projects: copy `core/`, create `workspace/` skeleton, customize your mission, and start working. |
| 20 | + |
| 21 | +## Directory Structure |
| 22 | + |
| 23 | +``` |
| 24 | +.devagent/ |
| 25 | +├── core/ # PORTABLE - Copy to any project |
| 26 | +│ ├── agents/ # Agent instruction sheets |
| 27 | +│ │ ├── ProductMissionPartner.md |
| 28 | +│ │ ├── FeatureClarifyAgent.md |
| 29 | +│ │ ├── FeatureBrainstormAgent.md |
| 30 | +│ │ ├── ResearchAgent.md |
| 31 | +│ │ ├── SpecArchitect.md |
| 32 | +│ │ ├── TaskPlanner.md |
| 33 | +│ │ ├── TaskExecutor.md |
| 34 | +│ │ ├── TechStackAgent.md |
| 35 | +│ │ ├── AgentBuilder.md |
| 36 | +│ │ └── codegen/ |
| 37 | +│ │ └── CodegenBackgroundAgent.md |
| 38 | +│ ├── templates/ # Reusable document templates |
| 39 | +│ │ ├── agent-brief-template.md |
| 40 | +│ │ ├── brainstorm-packet-template.md |
| 41 | +│ │ ├── clarification-packet-template.md |
| 42 | +│ │ ├── clarification-questions-framework.md |
| 43 | +│ │ ├── constitution-template.md |
| 44 | +│ │ ├── research-packet-template.md |
| 45 | +│ │ ├── spec-document-template.md |
| 46 | +│ │ ├── task-plan-template.md |
| 47 | +│ │ ├── task-prompt-template.md |
| 48 | +│ │ ├── tech-stack-template.md |
| 49 | +│ │ └── feature-hub-template/ # Template for new feature hubs |
| 50 | +│ │ ├── README.md |
| 51 | +│ │ ├── research/ |
| 52 | +│ │ └── spec/ |
| 53 | +│ ├── AGENTS.md # Agent roster documentation |
| 54 | +│ └── README.md # Core kit usage & setup instructions |
| 55 | +│ |
| 56 | +└── workspace/ # PROJECT-SPECIFIC - Changes per project |
| 57 | + ├── product/ # Product mission & strategy |
| 58 | + │ ├── mission.md |
| 59 | + │ ├── roadmap.md |
| 60 | + │ └── guiding-questions.md |
| 61 | + ├── memory/ # Project constitution & decisions |
| 62 | + │ ├── constitution.md |
| 63 | + │ ├── decision-journal.md |
| 64 | + │ ├── tech-stack.md |
| 65 | + │ ├── overview.md |
| 66 | + │ └── _archive/ # Historical constitution snapshots |
| 67 | + ├── features/ # Feature hubs with research & specs |
| 68 | + │ ├── README.md |
| 69 | + │ └── YYYY-MM-DD_feature-slug/ |
| 70 | + │ ├── README.md |
| 71 | + │ ├── research/ |
| 72 | + │ │ └── YYYY-MM-DD_topic.md |
| 73 | + │ └── spec/ |
| 74 | + │ └── YYYY-MM-DD_spec.md |
| 75 | + ├── research/ # Cross-cutting research |
| 76 | + │ └── YYYY-MM-DD_topic.md |
| 77 | + └── tasks/ # Task execution logs (future) |
| 78 | + └── YYYY-MM-DD_task-id.md |
| 79 | +``` |
| 80 | + |
| 81 | +## Quick Setup (< 5 Minutes) |
| 82 | + |
| 83 | +Initialize DevAgent in a new project with these steps: |
| 84 | + |
| 85 | +### 1. Copy the Core Kit |
| 86 | +```bash |
| 87 | +# From an existing DevAgent project |
| 88 | +cp -r .devagent/core /path/to/new-project/.devagent/ |
| 89 | + |
| 90 | +# Or clone this repository and copy core/ |
| 91 | +git clone <this-repo-url> |
| 92 | +cp -r devagent/.devagent/core /path/to/new-project/.devagent/ |
| 93 | +``` |
| 94 | + |
| 95 | +### 2. Create Workspace Skeleton |
| 96 | +```bash |
| 97 | +cd /path/to/new-project/.devagent |
| 98 | +mkdir -p workspace/{product,memory,features,research,tasks} |
| 99 | +mkdir -p workspace/memory/_archive |
| 100 | +``` |
| 101 | + |
| 102 | +### 3. Initialize Product Mission |
| 103 | +```bash |
| 104 | +# Create your product mission document |
| 105 | +cat > workspace/product/mission.md << 'EOF' |
| 106 | +# Product Mission |
| 107 | +
|
| 108 | +## Vision |
| 109 | +[What does success look like?] |
| 110 | +
|
| 111 | +## Target Users |
| 112 | +[Who are we building for?] |
| 113 | +
|
| 114 | +## Core Value Proposition |
| 115 | +[What unique value do we provide?] |
| 116 | +
|
| 117 | +## Success Metrics |
| 118 | +[How will we measure impact?] |
| 119 | +EOF |
| 120 | +``` |
| 121 | + |
| 122 | +### 4. Invoke Your First Agent |
| 123 | +Open your AI chat interface (Cursor, Codegen, etc.) and reference: |
| 124 | +``` |
| 125 | +@.devagent/core/agents/ProductMissionPartner.md |
| 126 | +
|
| 127 | +Help me refine our product mission based on: |
| 128 | +- Our target market is [X] |
| 129 | +- Our key differentiator is [Y] |
| 130 | +- Our success criteria are [Z] |
| 131 | +``` |
| 132 | + |
| 133 | +### 5. Start Building |
| 134 | +- Use `#ResearchAgent` to explore new features |
| 135 | +- Use `#SpecArchitect` to document implementations |
| 136 | +- Use `#TaskPlanner` and `#TaskExecutor` to break down work |
| 137 | +- All artifacts save to `workspace/` while `core/` remains portable |
| 138 | + |
| 139 | +**Target Setup Time:** Under 5 minutes from copy to first agent invocation. |
| 140 | + |
| 141 | +## How Agents Use This Structure |
| 142 | + |
| 143 | +**Agents Read From:** |
| 144 | +- `core/agents/` - To understand their role and workflow |
| 145 | +- `core/templates/` - To structure their outputs consistently |
| 146 | +- `workspace/product/` - To align with product mission and strategy |
| 147 | +- `workspace/memory/` - To respect project constitution and decisions |
| 148 | + |
| 149 | +**Agents Write To:** |
| 150 | +- `workspace/features/YYYY-MM-DD_feature-slug/` - Research packets, specs |
| 151 | +- `workspace/memory/` - Constitution updates, decision journal entries |
| 152 | +- `workspace/research/` - Cross-cutting research that spans multiple features |
| 153 | +- `workspace/tasks/` - Task execution logs (future capability) |
| 154 | + |
| 155 | +**Key Principle:** `core/` provides the *how* (agent instructions + templates), while `workspace/` captures the *what* (your project's specific artifacts). |
| 156 | + |
| 157 | +## Usage Notes |
| 158 | + |
| 159 | +### Updating the Core Kit |
| 160 | +- When DevAgent core is updated, simply replace your `core/` directory with the new version |
| 161 | +- Your `workspace/` remains untouched during core updates |
| 162 | +- Review changelog below before updating to understand changes |
| 163 | + |
| 164 | +### Customizing for Your Team |
| 165 | +- **Recommended:** Keep `core/` unmodified for easy updates |
| 166 | +- **Team-specific customizations:** Add to `workspace/memory/constitution.md` instead |
| 167 | +- **Template extensions:** Reference core templates but save customized versions in your project docs |
| 168 | + |
| 169 | +### Cross-Project Learning |
| 170 | +- Share research and patterns by copying specific `workspace/` subdirectories between projects |
| 171 | +- The portable `core/` kit means setup is always < 5 minutes |
| 172 | +- Consider maintaining an internal "DevAgent template project" with your team's baseline `workspace/` structure |
| 173 | + |
| 174 | +## Agent Roster Quick Reference |
| 175 | + |
| 176 | +See `AGENTS.md` for full details. Common workflows: |
| 177 | + |
| 178 | +**Simple Enhancement:** |
| 179 | +1. `#ResearchAgent` - Explore the problem space |
| 180 | +2. `#TaskExecutor` - Implement directly from research |
| 181 | + |
| 182 | +**Complex Feature:** |
| 183 | +1. `#ProductMissionPartner` - Validate mission alignment |
| 184 | +2. `#FeatureBrainstormAgent` - Generate solution ideas |
| 185 | +3. `#ResearchAgent` - Gather technical context |
| 186 | +4. `#SpecArchitect` - Document the design |
| 187 | +5. `#TaskPlanner` - Break into tasks |
| 188 | +6. `#TaskExecutor` - Implement step by step |
| 189 | + |
| 190 | +**When Requirements Are Unclear:** |
| 191 | +- Insert `#FeatureClarifyAgent` after ideation to validate completeness |
| 192 | +- Use structured clarification sessions before committing to specs |
| 193 | + |
| 194 | +## Updates & Changelog |
| 195 | + |
| 196 | +### Version History |
| 197 | +- **2025-10-01** - Initial core-workspace split release |
| 198 | + - Separated portable core from project-specific workspace |
| 199 | + - Added comprehensive setup documentation |
| 200 | + - Established < 5 minute setup target |
| 201 | + |
| 202 | +### Upcoming Features |
| 203 | +- Enhanced task execution logging in `workspace/tasks/` |
| 204 | +- Agent-to-agent handoff automation |
| 205 | +- Template versioning and migration tools |
| 206 | + |
| 207 | +--- |
| 208 | + |
| 209 | +**Questions or Issues?** Review individual agent instructions in `agents/` or see the root `README.md` for project-specific context. |
| 210 | + |
0 commit comments