@devran-ai/kit 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/CheatSheet.md +350 -0
- package/.agent/README.md +76 -0
- package/.agent/agents/README.md +155 -0
- package/.agent/agents/architect.md +185 -0
- package/.agent/agents/backend-specialist.md +276 -0
- package/.agent/agents/build-error-resolver.md +207 -0
- package/.agent/agents/code-reviewer.md +162 -0
- package/.agent/agents/database-architect.md +138 -0
- package/.agent/agents/devops-engineer.md +144 -0
- package/.agent/agents/doc-updater.md +229 -0
- package/.agent/agents/e2e-runner.md +145 -0
- package/.agent/agents/explorer-agent.md +143 -0
- package/.agent/agents/frontend-specialist.md +144 -0
- package/.agent/agents/go-reviewer.md +128 -0
- package/.agent/agents/knowledge-agent.md +197 -0
- package/.agent/agents/mobile-developer.md +150 -0
- package/.agent/agents/performance-optimizer.md +175 -0
- package/.agent/agents/planner.md +133 -0
- package/.agent/agents/pr-reviewer.md +148 -0
- package/.agent/agents/python-reviewer.md +123 -0
- package/.agent/agents/refactor-cleaner.md +201 -0
- package/.agent/agents/reliability-engineer.md +156 -0
- package/.agent/agents/security-reviewer.md +141 -0
- package/.agent/agents/sprint-orchestrator.md +124 -0
- package/.agent/agents/tdd-guide.md +179 -0
- package/.agent/agents/typescript-reviewer.md +110 -0
- package/.agent/checklists/README.md +102 -0
- package/.agent/checklists/pre-commit.md +93 -0
- package/.agent/checklists/session-end.md +99 -0
- package/.agent/checklists/session-start.md +102 -0
- package/.agent/checklists/task-complete.md +81 -0
- package/.agent/commands/README.md +130 -0
- package/.agent/commands/adr.md +29 -0
- package/.agent/commands/ask.md +28 -0
- package/.agent/commands/build.md +30 -0
- package/.agent/commands/changelog.md +40 -0
- package/.agent/commands/checkpoint.md +28 -0
- package/.agent/commands/code-review.md +65 -0
- package/.agent/commands/compact.md +28 -0
- package/.agent/commands/cook.md +30 -0
- package/.agent/commands/db.md +30 -0
- package/.agent/commands/debug.md +31 -0
- package/.agent/commands/deploy.md +37 -0
- package/.agent/commands/design.md +29 -0
- package/.agent/commands/doc.md +30 -0
- package/.agent/commands/eval.md +30 -0
- package/.agent/commands/fix.md +32 -0
- package/.agent/commands/git.md +32 -0
- package/.agent/commands/help.md +273 -0
- package/.agent/commands/implement.md +30 -0
- package/.agent/commands/integrate.md +32 -0
- package/.agent/commands/learn.md +29 -0
- package/.agent/commands/perf.md +31 -0
- package/.agent/commands/plan.md +56 -0
- package/.agent/commands/pr-describe.md +65 -0
- package/.agent/commands/pr-fix.md +45 -0
- package/.agent/commands/pr-merge.md +45 -0
- package/.agent/commands/pr-review.md +50 -0
- package/.agent/commands/pr-split.md +54 -0
- package/.agent/commands/pr-status.md +56 -0
- package/.agent/commands/pr.md +58 -0
- package/.agent/commands/refactor.md +32 -0
- package/.agent/commands/research.md +28 -0
- package/.agent/commands/scout.md +30 -0
- package/.agent/commands/security-scan.md +33 -0
- package/.agent/commands/setup.md +31 -0
- package/.agent/commands/status.md +59 -0
- package/.agent/commands/tdd.md +73 -0
- package/.agent/commands/verify.md +58 -0
- package/.agent/contexts/brainstorm.md +26 -0
- package/.agent/contexts/debug.md +28 -0
- package/.agent/contexts/implement.md +29 -0
- package/.agent/contexts/plan-quality-log.md +30 -0
- package/.agent/contexts/review.md +27 -0
- package/.agent/contexts/ship.md +28 -0
- package/.agent/decisions/001-trust-grade-governance.md +46 -0
- package/.agent/decisions/002-cross-ide-generation.md +15 -0
- package/.agent/engine/identity.json +4 -0
- package/.agent/engine/loading-rules.json +193 -0
- package/.agent/engine/marketplace-index.json +29 -0
- package/.agent/engine/mcp-servers/filesystem.json +9 -0
- package/.agent/engine/mcp-servers/github.json +11 -0
- package/.agent/engine/mcp-servers/postgres.json +11 -0
- package/.agent/engine/mcp-servers/supabase.json +11 -0
- package/.agent/engine/mcp-servers/vercel.json +11 -0
- package/.agent/engine/reliability-config.json +14 -0
- package/.agent/engine/sdlc-map.json +50 -0
- package/.agent/engine/workflow-state.json +167 -0
- package/.agent/hooks/README.md +101 -0
- package/.agent/hooks/hooks.json +104 -0
- package/.agent/hooks/templates/session-end.md +110 -0
- package/.agent/hooks/templates/session-start.md +95 -0
- package/.agent/manifest.json +466 -0
- package/.agent/rules/agent-upgrade-policy.md +56 -0
- package/.agent/rules/architecture.md +111 -0
- package/.agent/rules/coding-style.md +75 -0
- package/.agent/rules/documentation.md +74 -0
- package/.agent/rules/git-workflow.md +140 -0
- package/.agent/rules/quality-gate.md +117 -0
- package/.agent/rules/security.md +67 -0
- package/.agent/rules/sprint-tracking.md +103 -0
- package/.agent/rules/testing.md +80 -0
- package/.agent/rules/workflow-standards.md +30 -0
- package/.agent/rules.md +293 -0
- package/.agent/session-context.md +69 -0
- package/.agent/session-state.json +27 -0
- package/.agent/skills/README.md +135 -0
- package/.agent/skills/api-patterns/SKILL.md +117 -0
- package/.agent/skills/app-builder/SKILL.md +202 -0
- package/.agent/skills/architecture/SKILL.md +101 -0
- package/.agent/skills/behavioral-modes/SKILL.md +295 -0
- package/.agent/skills/brainstorming/SKILL.md +156 -0
- package/.agent/skills/clean-code/SKILL.md +142 -0
- package/.agent/skills/context-budget/SKILL.md +78 -0
- package/.agent/skills/continuous-learning/SKILL.md +145 -0
- package/.agent/skills/database-design/SKILL.md +303 -0
- package/.agent/skills/debugging-strategies/SKILL.md +158 -0
- package/.agent/skills/deployment-procedures/SKILL.md +191 -0
- package/.agent/skills/docker-patterns/SKILL.md +161 -0
- package/.agent/skills/eval-harness/SKILL.md +89 -0
- package/.agent/skills/frontend-patterns/SKILL.md +141 -0
- package/.agent/skills/git-workflow/SKILL.md +159 -0
- package/.agent/skills/i18n-localization/SKILL.md +191 -0
- package/.agent/skills/intelligent-routing/SKILL.md +180 -0
- package/.agent/skills/mcp-integration/SKILL.md +240 -0
- package/.agent/skills/mobile-design/SKILL.md +191 -0
- package/.agent/skills/nodejs-patterns/SKILL.md +164 -0
- package/.agent/skills/parallel-agents/SKILL.md +200 -0
- package/.agent/skills/performance-profiling/SKILL.md +134 -0
- package/.agent/skills/plan-validation/SKILL.md +192 -0
- package/.agent/skills/plan-writing/SKILL.md +183 -0
- package/.agent/skills/plan-writing/domain-enhancers.md +184 -0
- package/.agent/skills/plan-writing/plan-retrospective.md +116 -0
- package/.agent/skills/plan-writing/plan-schema.md +119 -0
- package/.agent/skills/pr-toolkit/SKILL.md +174 -0
- package/.agent/skills/production-readiness/SKILL.md +126 -0
- package/.agent/skills/security-practices/SKILL.md +109 -0
- package/.agent/skills/shell-conventions/SKILL.md +92 -0
- package/.agent/skills/strategic-compact/SKILL.md +62 -0
- package/.agent/skills/testing-patterns/SKILL.md +141 -0
- package/.agent/skills/typescript-expert/SKILL.md +160 -0
- package/.agent/skills/ui-ux-pro-max/SKILL.md +137 -0
- package/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/icons.csv +101 -0
- package/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/.agent/skills/ui-ux-pro-max/data/styles.csv +68 -0
- package/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/.agent/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/.agent/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/.agent/skills/ui-ux-pro-max/scripts/core.py +253 -0
- package/.agent/skills/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/.agent/skills/ui-ux-pro-max/scripts/search.py +114 -0
- package/.agent/skills/verification-loop/SKILL.md +89 -0
- package/.agent/skills/webapp-testing/SKILL.md +175 -0
- package/.agent/templates/adr-template.md +32 -0
- package/.agent/templates/bug-report.md +37 -0
- package/.agent/templates/feature-request.md +32 -0
- package/.agent/workflows/README.md +101 -0
- package/.agent/workflows/brainstorm.md +86 -0
- package/.agent/workflows/create.md +85 -0
- package/.agent/workflows/debug.md +83 -0
- package/.agent/workflows/deploy.md +114 -0
- package/.agent/workflows/enhance.md +85 -0
- package/.agent/workflows/orchestrate.md +106 -0
- package/.agent/workflows/plan.md +105 -0
- package/.agent/workflows/pr-fix.md +163 -0
- package/.agent/workflows/pr-merge.md +117 -0
- package/.agent/workflows/pr-review.md +178 -0
- package/.agent/workflows/pr-split.md +118 -0
- package/.agent/workflows/pr.md +184 -0
- package/.agent/workflows/preflight.md +107 -0
- package/.agent/workflows/preview.md +95 -0
- package/.agent/workflows/quality-gate.md +103 -0
- package/.agent/workflows/retrospective.md +100 -0
- package/.agent/workflows/review.md +104 -0
- package/.agent/workflows/status.md +89 -0
- package/.agent/workflows/test.md +98 -0
- package/.agent/workflows/ui-ux-pro-max.md +93 -0
- package/.agent/workflows/upgrade.md +97 -0
- package/LICENSE +21 -0
- package/README.md +218 -0
- package/bin/kit.js +773 -0
- package/lib/agent-registry.js +228 -0
- package/lib/agent-reputation.js +343 -0
- package/lib/circuit-breaker.js +195 -0
- package/lib/cli-commands.js +322 -0
- package/lib/config-validator.js +274 -0
- package/lib/conflict-detector.js +252 -0
- package/lib/constants.js +47 -0
- package/lib/engineering-manager.js +336 -0
- package/lib/error-budget.js +370 -0
- package/lib/hook-system.js +256 -0
- package/lib/ide-generator.js +434 -0
- package/lib/identity.js +240 -0
- package/lib/io.js +146 -0
- package/lib/learning-engine.js +163 -0
- package/lib/loading-engine.js +421 -0
- package/lib/logger.js +118 -0
- package/lib/marketplace.js +321 -0
- package/lib/plugin-system.js +604 -0
- package/lib/plugin-verifier.js +197 -0
- package/lib/rate-limiter.js +113 -0
- package/lib/security-scanner.js +312 -0
- package/lib/self-healing.js +468 -0
- package/lib/session-manager.js +264 -0
- package/lib/skill-sandbox.js +244 -0
- package/lib/task-governance.js +522 -0
- package/lib/task-model.js +332 -0
- package/lib/updater.js +240 -0
- package/lib/verify.js +279 -0
- package/lib/workflow-engine.js +373 -0
- package/lib/workflow-events.js +166 -0
- package/lib/workflow-persistence.js +160 -0
- package/package.json +57 -0
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
# Devran AI Kit โ CheatSheet
|
|
2
|
+
|
|
3
|
+
> **Version**: v4.1.0 | **Quick Reference** for all capabilities
|
|
4
|
+
> **Session**: Start with `/status`, end with session-end checklist
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## ๐ Session Lifecycle
|
|
9
|
+
|
|
10
|
+
### Start a Session
|
|
11
|
+
|
|
12
|
+
1. Run `/status` to load context
|
|
13
|
+
2. Review sprint state from `docs/ROADMAP.md`
|
|
14
|
+
3. Verify Git state and dependencies
|
|
15
|
+
4. Confirm direction with user
|
|
16
|
+
|
|
17
|
+
### End a Session
|
|
18
|
+
|
|
19
|
+
1. Update `docs/ROADMAP.md` with completed/in-progress items
|
|
20
|
+
2. Sync `docs/CHANGELOG.md` with shipped work
|
|
21
|
+
3. Update `.agent/session-context.md` with handoff notes
|
|
22
|
+
4. Update `.agent/session-state.json`
|
|
23
|
+
5. Commit all tracking files
|
|
24
|
+
6. Push (triggers LOCAL-CI-GATE)
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## ๐ Commands (37)
|
|
29
|
+
|
|
30
|
+
### Core Workflow
|
|
31
|
+
|
|
32
|
+
| Command | Description |
|
|
33
|
+
|:--------|:------------|
|
|
34
|
+
| `/plan` | Create implementation plan |
|
|
35
|
+
| `/implement` | Execute the approved plan |
|
|
36
|
+
| `/verify` | Run all quality gates |
|
|
37
|
+
| `/status` | Check project status |
|
|
38
|
+
|
|
39
|
+
### Development
|
|
40
|
+
|
|
41
|
+
| Command | Description |
|
|
42
|
+
|:--------|:------------|
|
|
43
|
+
| `/build` | Build a new feature from scratch |
|
|
44
|
+
| `/fix` | Fix linting, type, or build errors |
|
|
45
|
+
| `/debug` | Systematic debugging process |
|
|
46
|
+
| `/refactor` | Improve code quality |
|
|
47
|
+
| `/cook` | Full scratch-to-done workflow |
|
|
48
|
+
|
|
49
|
+
### Documentation & Git
|
|
50
|
+
|
|
51
|
+
| Command | Description |
|
|
52
|
+
|:--------|:------------|
|
|
53
|
+
| `/doc` | Generate documentation |
|
|
54
|
+
| `/adr` | Create Architecture Decision Record |
|
|
55
|
+
| `/changelog` | Generate changelog from commits |
|
|
56
|
+
| `/git` | Git operations with best practices |
|
|
57
|
+
| `/pr` | Create production-grade pull requests |
|
|
58
|
+
|
|
59
|
+
### PR Toolkit
|
|
60
|
+
|
|
61
|
+
| Command | Description |
|
|
62
|
+
|:--------|:------------|
|
|
63
|
+
| `/pr-review` | Review a PR with senior engineering expertise |
|
|
64
|
+
| `/pr-fix` | Fix PR issues based on review comments |
|
|
65
|
+
| `/pr-merge` | Merge PR safely with dependency validation |
|
|
66
|
+
| `/pr-split` | Split oversized PRs into focused sub-PRs |
|
|
67
|
+
| `/pr-status` | Triage PRs with CI, staleness, and merge readiness |
|
|
68
|
+
| `/pr-describe` | Auto-generate PR title, summary, and labels |
|
|
69
|
+
|
|
70
|
+
### Exploration & Research
|
|
71
|
+
|
|
72
|
+
| Command | Description |
|
|
73
|
+
|:--------|:------------|
|
|
74
|
+
| `/scout` | Explore and understand codebase |
|
|
75
|
+
| `/research` | Research technologies or solutions |
|
|
76
|
+
| `/ask` | Ask questions about code |
|
|
77
|
+
|
|
78
|
+
### Quality & Security
|
|
79
|
+
|
|
80
|
+
| Command | Description |
|
|
81
|
+
|:--------|:------------|
|
|
82
|
+
| `/code-review` | Run code review |
|
|
83
|
+
| `/tdd` | Test-driven development workflow |
|
|
84
|
+
| `/security-scan` | Security audit and vulnerability scan |
|
|
85
|
+
| `/perf` | Performance analysis and optimization |
|
|
86
|
+
|
|
87
|
+
### Integration & Deployment
|
|
88
|
+
|
|
89
|
+
| Command | Description |
|
|
90
|
+
|:--------|:------------|
|
|
91
|
+
| `/integrate` | Third-party service integration |
|
|
92
|
+
| `/db` | Database schema and migrations |
|
|
93
|
+
| `/deploy` | Deploy to target environment |
|
|
94
|
+
| `/design` | UI/UX design specifications |
|
|
95
|
+
|
|
96
|
+
### Context Management
|
|
97
|
+
|
|
98
|
+
| Command | Description |
|
|
99
|
+
|:--------|:------------|
|
|
100
|
+
| `/learn` | Extract patterns from session |
|
|
101
|
+
| `/checkpoint` | Save progress checkpoint |
|
|
102
|
+
| `/compact` | Compress context for memory |
|
|
103
|
+
| `/eval` | Evaluate metrics |
|
|
104
|
+
| `/setup` | Configure project with kit |
|
|
105
|
+
| `/help` | Show available commands |
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## ๐ค Agents (23)
|
|
110
|
+
|
|
111
|
+
### Core Development
|
|
112
|
+
|
|
113
|
+
| Agent | Purpose |
|
|
114
|
+
|:------|:--------|
|
|
115
|
+
| ๐ Planner | Feature planning, risk assessment |
|
|
116
|
+
| ๐๏ธ Architect | System design, ADR creation |
|
|
117
|
+
| ๐ Code Reviewer | Quality + security review |
|
|
118
|
+
| ๐งช TDD Guide | Test-first enforcement |
|
|
119
|
+
| ๐ง Build Error Resolver | Rapid build fixes |
|
|
120
|
+
| ๐จ Frontend Specialist | React, Next.js, UI architecture |
|
|
121
|
+
| โ๏ธ Backend Specialist | Node.js, Python, API design |
|
|
122
|
+
|
|
123
|
+
### Quality & Security
|
|
124
|
+
|
|
125
|
+
| Agent | Purpose |
|
|
126
|
+
|:------|:--------|
|
|
127
|
+
| ๐ Security Reviewer | Vulnerability analysis |
|
|
128
|
+
| ๐ญ E2E Runner | End-to-end testing |
|
|
129
|
+
| โก Performance Optimizer | Core Web Vitals optimization |
|
|
130
|
+
|
|
131
|
+
### Infrastructure
|
|
132
|
+
|
|
133
|
+
| Agent | Purpose |
|
|
134
|
+
|:------|:--------|
|
|
135
|
+
| ๐ฑ Mobile Developer | React Native/Expo development |
|
|
136
|
+
| ๐๏ธ Database Architect | Schema design, queries |
|
|
137
|
+
| ๐ DevOps Engineer | CI/CD, deployment |
|
|
138
|
+
| ๐ก๏ธ Reliability Engineer | SRE, production readiness |
|
|
139
|
+
|
|
140
|
+
### Maintenance & Discovery
|
|
141
|
+
|
|
142
|
+
| Agent | Purpose |
|
|
143
|
+
|:------|:--------|
|
|
144
|
+
| ๐งน Refactor Cleaner | Dead code cleanup |
|
|
145
|
+
| ๐ Doc Updater | Documentation sync |
|
|
146
|
+
| ๐ง Knowledge Agent | RAG retrieval |
|
|
147
|
+
| ๐ญ Explorer Agent | Codebase discovery |
|
|
148
|
+
| ๐ Sprint Orchestrator | Sprint planning & velocity |
|
|
149
|
+
|
|
150
|
+
### PR & Code Review
|
|
151
|
+
|
|
152
|
+
| Agent | Purpose |
|
|
153
|
+
|:------|:--------|
|
|
154
|
+
| ๐ PR Reviewer | PR review, branch strategy, code quality |
|
|
155
|
+
|
|
156
|
+
### Language-Specific Reviewers
|
|
157
|
+
|
|
158
|
+
| Agent | Purpose |
|
|
159
|
+
|:------|:--------|
|
|
160
|
+
| ๐ TypeScript Reviewer | Type safety & TS patterns |
|
|
161
|
+
| ๐ Python Reviewer | PEP 8 & Python best practices |
|
|
162
|
+
| ๐ท Go Reviewer | Go idioms & concurrency |
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## ๐งฉ Skills (34)
|
|
167
|
+
|
|
168
|
+
### Operational (7)
|
|
169
|
+
|
|
170
|
+
| Skill | Purpose |
|
|
171
|
+
|:------|:--------|
|
|
172
|
+
| verification-loop | Continuous quality gates |
|
|
173
|
+
| continuous-learning | Pattern extraction (PAAL) |
|
|
174
|
+
| strategic-compact | Context window management |
|
|
175
|
+
| eval-harness | Performance evaluation |
|
|
176
|
+
| context-budget | LLM token budget management |
|
|
177
|
+
| plan-validation | Plan quality gate with scoring |
|
|
178
|
+
| production-readiness | Preflight audit and readiness checks |
|
|
179
|
+
|
|
180
|
+
### Orchestration (4)
|
|
181
|
+
|
|
182
|
+
| Skill | Purpose |
|
|
183
|
+
|:------|:--------|
|
|
184
|
+
| intelligent-routing | Automatic agent selection |
|
|
185
|
+
| parallel-agents | Multi-agent orchestration |
|
|
186
|
+
| behavioral-modes | Adaptive AI operation modes |
|
|
187
|
+
| mcp-integration | MCP server integration |
|
|
188
|
+
|
|
189
|
+
### Domain โ Architecture & Design (6)
|
|
190
|
+
|
|
191
|
+
| Skill | Purpose |
|
|
192
|
+
|:------|:--------|
|
|
193
|
+
| architecture | System design patterns |
|
|
194
|
+
| api-patterns | RESTful API design |
|
|
195
|
+
| database-design | Schema optimization |
|
|
196
|
+
| frontend-patterns | React/component patterns |
|
|
197
|
+
| nodejs-patterns | Backend patterns |
|
|
198
|
+
| i18n-localization | Internationalization |
|
|
199
|
+
|
|
200
|
+
### Domain โ Code Quality (4)
|
|
201
|
+
|
|
202
|
+
| Skill | Purpose |
|
|
203
|
+
|:------|:--------|
|
|
204
|
+
| clean-code | Code quality principles |
|
|
205
|
+
| typescript-expert | Advanced TypeScript |
|
|
206
|
+
| testing-patterns | TDD, unit, integration |
|
|
207
|
+
| debugging-strategies | Systematic debugging |
|
|
208
|
+
|
|
209
|
+
### Domain โ Operations (4)
|
|
210
|
+
|
|
211
|
+
| Skill | Purpose |
|
|
212
|
+
|:------|:--------|
|
|
213
|
+
| docker-patterns | Containerization |
|
|
214
|
+
| git-workflow | Branching, commits |
|
|
215
|
+
| security-practices | OWASP, vulnerability prevention |
|
|
216
|
+
| pr-toolkit | PR lifecycle, review, merge, split |
|
|
217
|
+
|
|
218
|
+
### Development (9)
|
|
219
|
+
|
|
220
|
+
| Skill | Purpose |
|
|
221
|
+
|:------|:--------|
|
|
222
|
+
| app-builder | Full-stack scaffolding |
|
|
223
|
+
| mobile-design | Mobile UI/UX patterns |
|
|
224
|
+
| webapp-testing | E2E and Playwright testing |
|
|
225
|
+
| deployment-procedures | CI/CD and rollback strategies |
|
|
226
|
+
| performance-profiling | Core Web Vitals optimization |
|
|
227
|
+
| brainstorming | Socratic discovery protocol |
|
|
228
|
+
| plan-writing | Structured task breakdown |
|
|
229
|
+
| shell-conventions | PowerShell/Bash conventions |
|
|
230
|
+
| ui-ux-pro-max | Premium UI/UX design system |
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
## ๐ Workflows (21)
|
|
235
|
+
|
|
236
|
+
| Workflow | Command | Phase |
|
|
237
|
+
|:---------|:--------|:------|
|
|
238
|
+
| brainstorm | `/brainstorm` | Discover |
|
|
239
|
+
| quality-gate | `/quality-gate` | Discover |
|
|
240
|
+
| plan | `/plan` | Plan |
|
|
241
|
+
| create | `/create` | Build |
|
|
242
|
+
| enhance | `/enhance` | Build |
|
|
243
|
+
| preview | `/preview` | Build |
|
|
244
|
+
| ui-ux-pro-max | `/ui-ux-pro-max` | Build |
|
|
245
|
+
| pr-fix | `/pr-fix` | Build |
|
|
246
|
+
| pr-split | `/pr-split` | Build |
|
|
247
|
+
| test | `/test` | Verify |
|
|
248
|
+
| review | `/review` | Verify |
|
|
249
|
+
| preflight | `/preflight` | Verify |
|
|
250
|
+
| pr-review | `/pr-review` | Verify |
|
|
251
|
+
| pr | `/pr` | Ship |
|
|
252
|
+
| pr-merge | `/pr-merge` | Ship |
|
|
253
|
+
| deploy | `/deploy` | Ship |
|
|
254
|
+
| debug | `/debug` | Reactive |
|
|
255
|
+
| orchestrate | `/orchestrate` | Reactive |
|
|
256
|
+
| retrospective | `/retrospective` | Evaluate |
|
|
257
|
+
| status | `/status` | Cross-cutting |
|
|
258
|
+
| upgrade | `/upgrade` | Maintenance |
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
## โ
Checklists (4)
|
|
263
|
+
|
|
264
|
+
| Checklist | When to Use |
|
|
265
|
+
|:----------|:------------|
|
|
266
|
+
| `session-start.md` | Beginning of every work session |
|
|
267
|
+
| `session-end.md` | Before ending any work session |
|
|
268
|
+
| `pre-commit.md` | Before every commit |
|
|
269
|
+
| `task-complete.md` | After completing any task |
|
|
270
|
+
|
|
271
|
+
---
|
|
272
|
+
|
|
273
|
+
## โ๏ธ Governance Rules (9)
|
|
274
|
+
|
|
275
|
+
| Rule File | Scope |
|
|
276
|
+
|:----------|:------|
|
|
277
|
+
| `coding-style.md` | TypeScript + Python conventions |
|
|
278
|
+
| `security.md` | Secrets, auth, data protection, AI safety |
|
|
279
|
+
| `testing.md` | TDD, pytest, Jest/Vitest patterns |
|
|
280
|
+
| `git-workflow.md` | Commits, branches, push policy |
|
|
281
|
+
| `documentation.md` | Doc hierarchy, SSOT, preservation |
|
|
282
|
+
| `sprint-tracking.md` | ROADMAP.md as SSOT, session protocols |
|
|
283
|
+
| `quality-gate.md` | Pre-task validation and quality standards |
|
|
284
|
+
| `architecture.md` | System design patterns and ADR governance |
|
|
285
|
+
| `agent-upgrade-policy.md` | Framework upgrade preservation rules |
|
|
286
|
+
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
## ๐ฏ Common Scenarios
|
|
290
|
+
|
|
291
|
+
### 1. Starting a New Feature
|
|
292
|
+
|
|
293
|
+
```
|
|
294
|
+
/status โ /plan โ /create โ /test โ /review โ /pr โ /deploy
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
### 2. Fixing a Bug
|
|
298
|
+
|
|
299
|
+
```
|
|
300
|
+
/status โ /debug โ /fix โ /test โ /review
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
### 3. UI/UX Design Work
|
|
304
|
+
|
|
305
|
+
```
|
|
306
|
+
/brainstorm โ /quality-gate โ /ui-ux-pro-max โ /preview โ /review
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
### 4. Code Quality Improvement
|
|
310
|
+
|
|
311
|
+
```
|
|
312
|
+
/status โ /review โ /refactor โ /test โ /verify
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
### 5. Sprint Planning
|
|
316
|
+
|
|
317
|
+
```
|
|
318
|
+
/status โ /plan โ /brainstorm โ update ROADMAP.md
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
### 6. PR Lifecycle
|
|
322
|
+
|
|
323
|
+
```
|
|
324
|
+
/pr โ /pr-review โ /pr-fix โ /pr-merge
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
|
|
329
|
+
## ๐ Directory Structure
|
|
330
|
+
|
|
331
|
+
```
|
|
332
|
+
.agent/
|
|
333
|
+
โโโ rules.md # Core governance & identity
|
|
334
|
+
โโโ session-state.json # Machine-readable state
|
|
335
|
+
โโโ session-context.md # Human-readable session context
|
|
336
|
+
โโโ CheatSheet.md # This file
|
|
337
|
+
โโโ manifest.json # Capability registry
|
|
338
|
+
โ
|
|
339
|
+
โโโ agents/ # 23 specialized agents
|
|
340
|
+
โโโ commands/ # 37 slash commands
|
|
341
|
+
โโโ skills/ # 34 capability extensions
|
|
342
|
+
โโโ workflows/ # 21 slash command workflows
|
|
343
|
+
โโโ hooks/ # Event-driven automation
|
|
344
|
+
โโโ rules/ # 9 modular governance rules
|
|
345
|
+
โโโ contexts/ # Mode switching (brainstorm, debug, etc.)
|
|
346
|
+
โโโ checklists/ # Session & pre-commit verification
|
|
347
|
+
โโโ templates/ # Feature, ADR, bug-report templates
|
|
348
|
+
โโโ decisions/ # Architecture Decision Records
|
|
349
|
+
โโโ engine/ # Runtime engine configs
|
|
350
|
+
```
|
package/.agent/README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Devran AI Kit โ .agent/ Directory
|
|
2
|
+
|
|
3
|
+
> **Purpose**: Core agent architecture for AI-assisted development
|
|
4
|
+
> **Quick Start**: Copy this folder to your project root
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## ๐ Session Initialization
|
|
9
|
+
|
|
10
|
+
Every new AI session, run:
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/status
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
This loads your session context and activates the orchestrator.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## ๐ Directory Structure
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
.agent/
|
|
24
|
+
โโโ rules.md # Core governance & identity
|
|
25
|
+
โโโ session-state.json # Machine-readable state
|
|
26
|
+
โ
|
|
27
|
+
โโโ agents/ # 23 specialized agents
|
|
28
|
+
โโโ commands/ # 37 slash commands
|
|
29
|
+
โโโ skills/ # 34 capability extensions
|
|
30
|
+
โโโ workflows/ # 21 slash command workflows
|
|
31
|
+
โโโ hooks/ # Event-driven automation
|
|
32
|
+
โโโ rules/ # Modular governance
|
|
33
|
+
โโโ contexts/ # Mode switching
|
|
34
|
+
โโโ checklists/ # Verification lists
|
|
35
|
+
โโโ templates/ # Feature templates
|
|
36
|
+
โโโ decisions/ # ADR system
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## โก Quick Reference
|
|
42
|
+
|
|
43
|
+
### Core Commands
|
|
44
|
+
|
|
45
|
+
| Command | Purpose |
|
|
46
|
+
| :------------- | :------------------------- |
|
|
47
|
+
| `/status` | Current session status |
|
|
48
|
+
| `/plan` | Create implementation plan |
|
|
49
|
+
| `/tdd` | Test-driven development |
|
|
50
|
+
| `/verify` | Full verification loop |
|
|
51
|
+
| `/code-review` | Quality review |
|
|
52
|
+
|
|
53
|
+
### Session Files
|
|
54
|
+
|
|
55
|
+
| File | Purpose |
|
|
56
|
+
| :------------------- | :------------------------- |
|
|
57
|
+
| `rules.md` | Core identity & governance |
|
|
58
|
+
| `session-state.json` | Machine-readable state |
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## โ๏ธ Operating Constraints
|
|
63
|
+
|
|
64
|
+
| Constraint | Meaning |
|
|
65
|
+
| :---------------------- | :------------------------------- |
|
|
66
|
+
| Trust > Optimization | User trust is never sacrificed |
|
|
67
|
+
| Safety > Growth | Safety overrides business goals |
|
|
68
|
+
| Completion > Suggestion | Finish work before proposing new |
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## ๐ Documentation
|
|
73
|
+
|
|
74
|
+
- [Full README](../README.md)
|
|
75
|
+
- [Commands Reference](commands/README.md)
|
|
76
|
+
- [Agents Reference](agents/README.md)
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# Agents
|
|
2
|
+
|
|
3
|
+
> **Purpose**: Specialized sub-agents for task delegation
|
|
4
|
+
> **Count**: 23 Agents
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
Agents are specialized personas that handle delegated tasks with focused expertise. Each agent has:
|
|
11
|
+
|
|
12
|
+
- **Defined responsibilities** โ What it handles
|
|
13
|
+
- **Specific tools** โ What it can use
|
|
14
|
+
- **Constraints** โ What it cannot do
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Agent Roster
|
|
19
|
+
|
|
20
|
+
### Core Development Agents
|
|
21
|
+
|
|
22
|
+
| Agent | File | Purpose |
|
|
23
|
+
| :-------------------------- | :------------------------ | :------------------------------ |
|
|
24
|
+
| ๐ **Planner** | `planner.md` | Feature implementation planning |
|
|
25
|
+
| ๐๏ธ **Architect** | `architect.md` | System design decisions |
|
|
26
|
+
| ๐ **Code Reviewer** | `code-reviewer.md` | Quality & security review |
|
|
27
|
+
| ๐งช **TDD Guide** | `tdd-guide.md` | Test-driven development |
|
|
28
|
+
| ๐ง **Build Error Resolver** | `build-error-resolver.md` | Rapid build fixes |
|
|
29
|
+
| ๐ฅ๏ธ **Backend Specialist** | `backend-specialist.md` | Node.js, NestJS, API design |
|
|
30
|
+
| ๐จ **Frontend Specialist** | `frontend-specialist.md` | React, Next.js, UI architecture |
|
|
31
|
+
|
|
32
|
+
### Quality & Security Agents
|
|
33
|
+
|
|
34
|
+
| Agent | File | Purpose |
|
|
35
|
+
| :--------------------------- | :------------------------- | :--------------------------- |
|
|
36
|
+
| ๐ **Security Reviewer** | `security-reviewer.md` | Vulnerability analysis |
|
|
37
|
+
| ๐ญ **E2E Runner** | `e2e-runner.md` | End-to-end testing |
|
|
38
|
+
| โก **Performance Optimizer** | `performance-optimizer.md` | Core Web Vitals optimization |
|
|
39
|
+
|
|
40
|
+
### Infrastructure Agents
|
|
41
|
+
|
|
42
|
+
| Agent | File | Purpose |
|
|
43
|
+
| :--------------------------- | :------------------------- | :---------------------------- |
|
|
44
|
+
| ๐ฑ **Mobile Developer** | `mobile-developer.md` | React Native/Expo development |
|
|
45
|
+
| ๐๏ธ **Database Architect** | `database-architect.md` | Schema design, queries |
|
|
46
|
+
| ๐ **DevOps Engineer** | `devops-engineer.md` | CI/CD, deployment |
|
|
47
|
+
| ๐ก๏ธ **Reliability Engineer** | `reliability-engineer.md` | SRE, production readiness |
|
|
48
|
+
|
|
49
|
+
### Maintenance & Discovery Agents
|
|
50
|
+
|
|
51
|
+
| Agent | File | Purpose |
|
|
52
|
+
| :------------------------- | :----------------------- | :-------------------------- |
|
|
53
|
+
| ๐งน **Refactor Cleaner** | `refactor-cleaner.md` | Dead code cleanup |
|
|
54
|
+
| ๐ **Doc Updater** | `doc-updater.md` | Documentation sync |
|
|
55
|
+
| ๐ง **Knowledge Agent** | `knowledge-agent.md` | RAG retrieval |
|
|
56
|
+
| ๐ญ **Explorer Agent** | `explorer-agent.md` | Codebase discovery |
|
|
57
|
+
| ๐ **Sprint Orchestrator** | `sprint-orchestrator.md` | Sprint planning & velocity |
|
|
58
|
+
|
|
59
|
+
### PR & Code Review Agents
|
|
60
|
+
|
|
61
|
+
| Agent | File | Purpose |
|
|
62
|
+
| :------------------------- | :----------------------- | :-------------------------- |
|
|
63
|
+
| ๐ **PR Reviewer** | `pr-reviewer.md` | PR review, branch strategy, code quality |
|
|
64
|
+
|
|
65
|
+
### Language-Specific Reviewers
|
|
66
|
+
|
|
67
|
+
| Agent | File | Purpose |
|
|
68
|
+
| :----------------------------- | :-------------------------- | :-------------------------- |
|
|
69
|
+
| ๐ **TypeScript Reviewer** | `typescript-reviewer.md` | Type safety & TS patterns |
|
|
70
|
+
| ๐ **Python Reviewer** | `python-reviewer.md` | PEP 8 & Python best practices |
|
|
71
|
+
| ๐ท **Go Reviewer** | `go-reviewer.md` | Go idioms & concurrency |
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Agent Selection Matrix
|
|
76
|
+
|
|
77
|
+
The `intelligent-routing` skill automatically selects agents based on request keywords:
|
|
78
|
+
|
|
79
|
+
| Intent | Keywords | Agent(s) |
|
|
80
|
+
| ------------ | ----------------------------------- | ------------------------- |
|
|
81
|
+
| Architecture | "design", "structure", "pattern" | `architect` |
|
|
82
|
+
| Planning | "plan", "roadmap", "sprint" | `planner` |
|
|
83
|
+
| Security | "security", "vulnerability", "auth" | `security-reviewer` |
|
|
84
|
+
| Testing | "test", "coverage", "e2e" | `tdd-guide`, `e2e-runner` |
|
|
85
|
+
| Mobile | "mobile", "react native", "expo" | `mobile-developer` |
|
|
86
|
+
| Database | "schema", "migration", "query" | `database-architect` |
|
|
87
|
+
| Deployment | "deploy", "CI/CD", "production" | `devops-engineer` |
|
|
88
|
+
| Performance | "slow", "optimize", "performance" | `performance-optimizer` |
|
|
89
|
+
| Discovery | "explore", "map", "understand" | `explorer-agent` |
|
|
90
|
+
| Frontend | "frontend", "react", "css", "ui" | `frontend-specialist` |
|
|
91
|
+
| Backend | "backend", "api", "server", "node" | `backend-specialist` |
|
|
92
|
+
| Sprint | "sprint", "velocity", "backlog" | `sprint-orchestrator` |
|
|
93
|
+
| Reliability | "SRE", "incident", "production" | `reliability-engineer` |
|
|
94
|
+
| PR Review | "PR", "pull request", "review PR" | `pr-reviewer` |
|
|
95
|
+
| TypeScript | "typescript", ".ts", "type" | `typescript-reviewer` |
|
|
96
|
+
| Python | "python", "django", "flask" | `python-reviewer` |
|
|
97
|
+
| Go | "golang", "goroutine", "go" | `go-reviewer` |
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## How to Use Agents
|
|
102
|
+
|
|
103
|
+
Agents are invoked automatically by the orchestrator based on context. You can also explicitly request them:
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
Use the architect agent to design the database schema.
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
Delegate this security review to the security-reviewer agent.
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## Agent Specification Format
|
|
116
|
+
|
|
117
|
+
Each agent file follows this structure:
|
|
118
|
+
|
|
119
|
+
```markdown
|
|
120
|
+
# [Agent Name]
|
|
121
|
+
|
|
122
|
+
> **Platform**: Devran AI Kit
|
|
123
|
+
> **Purpose**: [Brief description]
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Identity
|
|
128
|
+
|
|
129
|
+
[Agent persona and core responsibility]
|
|
130
|
+
|
|
131
|
+
## Capabilities
|
|
132
|
+
|
|
133
|
+
- [What the agent can do]
|
|
134
|
+
|
|
135
|
+
## Constraints
|
|
136
|
+
|
|
137
|
+
- [What the agent cannot do]
|
|
138
|
+
|
|
139
|
+
## Workflow
|
|
140
|
+
|
|
141
|
+
1. [Step 1]
|
|
142
|
+
2. [Step 2]
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## Extending Agents
|
|
148
|
+
|
|
149
|
+
To add a custom agent:
|
|
150
|
+
|
|
151
|
+
1. Create a new `.md` file in this directory
|
|
152
|
+
2. Follow the specification format above
|
|
153
|
+
3. Reference it in your workflows
|
|
154
|
+
|
|
155
|
+
Custom agents inherit the Operating Constraints from `rules.md`.
|