@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.
Files changed (231) hide show
  1. package/.agent/CheatSheet.md +350 -0
  2. package/.agent/README.md +76 -0
  3. package/.agent/agents/README.md +155 -0
  4. package/.agent/agents/architect.md +185 -0
  5. package/.agent/agents/backend-specialist.md +276 -0
  6. package/.agent/agents/build-error-resolver.md +207 -0
  7. package/.agent/agents/code-reviewer.md +162 -0
  8. package/.agent/agents/database-architect.md +138 -0
  9. package/.agent/agents/devops-engineer.md +144 -0
  10. package/.agent/agents/doc-updater.md +229 -0
  11. package/.agent/agents/e2e-runner.md +145 -0
  12. package/.agent/agents/explorer-agent.md +143 -0
  13. package/.agent/agents/frontend-specialist.md +144 -0
  14. package/.agent/agents/go-reviewer.md +128 -0
  15. package/.agent/agents/knowledge-agent.md +197 -0
  16. package/.agent/agents/mobile-developer.md +150 -0
  17. package/.agent/agents/performance-optimizer.md +175 -0
  18. package/.agent/agents/planner.md +133 -0
  19. package/.agent/agents/pr-reviewer.md +148 -0
  20. package/.agent/agents/python-reviewer.md +123 -0
  21. package/.agent/agents/refactor-cleaner.md +201 -0
  22. package/.agent/agents/reliability-engineer.md +156 -0
  23. package/.agent/agents/security-reviewer.md +141 -0
  24. package/.agent/agents/sprint-orchestrator.md +124 -0
  25. package/.agent/agents/tdd-guide.md +179 -0
  26. package/.agent/agents/typescript-reviewer.md +110 -0
  27. package/.agent/checklists/README.md +102 -0
  28. package/.agent/checklists/pre-commit.md +93 -0
  29. package/.agent/checklists/session-end.md +99 -0
  30. package/.agent/checklists/session-start.md +102 -0
  31. package/.agent/checklists/task-complete.md +81 -0
  32. package/.agent/commands/README.md +130 -0
  33. package/.agent/commands/adr.md +29 -0
  34. package/.agent/commands/ask.md +28 -0
  35. package/.agent/commands/build.md +30 -0
  36. package/.agent/commands/changelog.md +40 -0
  37. package/.agent/commands/checkpoint.md +28 -0
  38. package/.agent/commands/code-review.md +65 -0
  39. package/.agent/commands/compact.md +28 -0
  40. package/.agent/commands/cook.md +30 -0
  41. package/.agent/commands/db.md +30 -0
  42. package/.agent/commands/debug.md +31 -0
  43. package/.agent/commands/deploy.md +37 -0
  44. package/.agent/commands/design.md +29 -0
  45. package/.agent/commands/doc.md +30 -0
  46. package/.agent/commands/eval.md +30 -0
  47. package/.agent/commands/fix.md +32 -0
  48. package/.agent/commands/git.md +32 -0
  49. package/.agent/commands/help.md +273 -0
  50. package/.agent/commands/implement.md +30 -0
  51. package/.agent/commands/integrate.md +32 -0
  52. package/.agent/commands/learn.md +29 -0
  53. package/.agent/commands/perf.md +31 -0
  54. package/.agent/commands/plan.md +56 -0
  55. package/.agent/commands/pr-describe.md +65 -0
  56. package/.agent/commands/pr-fix.md +45 -0
  57. package/.agent/commands/pr-merge.md +45 -0
  58. package/.agent/commands/pr-review.md +50 -0
  59. package/.agent/commands/pr-split.md +54 -0
  60. package/.agent/commands/pr-status.md +56 -0
  61. package/.agent/commands/pr.md +58 -0
  62. package/.agent/commands/refactor.md +32 -0
  63. package/.agent/commands/research.md +28 -0
  64. package/.agent/commands/scout.md +30 -0
  65. package/.agent/commands/security-scan.md +33 -0
  66. package/.agent/commands/setup.md +31 -0
  67. package/.agent/commands/status.md +59 -0
  68. package/.agent/commands/tdd.md +73 -0
  69. package/.agent/commands/verify.md +58 -0
  70. package/.agent/contexts/brainstorm.md +26 -0
  71. package/.agent/contexts/debug.md +28 -0
  72. package/.agent/contexts/implement.md +29 -0
  73. package/.agent/contexts/plan-quality-log.md +30 -0
  74. package/.agent/contexts/review.md +27 -0
  75. package/.agent/contexts/ship.md +28 -0
  76. package/.agent/decisions/001-trust-grade-governance.md +46 -0
  77. package/.agent/decisions/002-cross-ide-generation.md +15 -0
  78. package/.agent/engine/identity.json +4 -0
  79. package/.agent/engine/loading-rules.json +193 -0
  80. package/.agent/engine/marketplace-index.json +29 -0
  81. package/.agent/engine/mcp-servers/filesystem.json +9 -0
  82. package/.agent/engine/mcp-servers/github.json +11 -0
  83. package/.agent/engine/mcp-servers/postgres.json +11 -0
  84. package/.agent/engine/mcp-servers/supabase.json +11 -0
  85. package/.agent/engine/mcp-servers/vercel.json +11 -0
  86. package/.agent/engine/reliability-config.json +14 -0
  87. package/.agent/engine/sdlc-map.json +50 -0
  88. package/.agent/engine/workflow-state.json +167 -0
  89. package/.agent/hooks/README.md +101 -0
  90. package/.agent/hooks/hooks.json +104 -0
  91. package/.agent/hooks/templates/session-end.md +110 -0
  92. package/.agent/hooks/templates/session-start.md +95 -0
  93. package/.agent/manifest.json +466 -0
  94. package/.agent/rules/agent-upgrade-policy.md +56 -0
  95. package/.agent/rules/architecture.md +111 -0
  96. package/.agent/rules/coding-style.md +75 -0
  97. package/.agent/rules/documentation.md +74 -0
  98. package/.agent/rules/git-workflow.md +140 -0
  99. package/.agent/rules/quality-gate.md +117 -0
  100. package/.agent/rules/security.md +67 -0
  101. package/.agent/rules/sprint-tracking.md +103 -0
  102. package/.agent/rules/testing.md +80 -0
  103. package/.agent/rules/workflow-standards.md +30 -0
  104. package/.agent/rules.md +293 -0
  105. package/.agent/session-context.md +69 -0
  106. package/.agent/session-state.json +27 -0
  107. package/.agent/skills/README.md +135 -0
  108. package/.agent/skills/api-patterns/SKILL.md +117 -0
  109. package/.agent/skills/app-builder/SKILL.md +202 -0
  110. package/.agent/skills/architecture/SKILL.md +101 -0
  111. package/.agent/skills/behavioral-modes/SKILL.md +295 -0
  112. package/.agent/skills/brainstorming/SKILL.md +156 -0
  113. package/.agent/skills/clean-code/SKILL.md +142 -0
  114. package/.agent/skills/context-budget/SKILL.md +78 -0
  115. package/.agent/skills/continuous-learning/SKILL.md +145 -0
  116. package/.agent/skills/database-design/SKILL.md +303 -0
  117. package/.agent/skills/debugging-strategies/SKILL.md +158 -0
  118. package/.agent/skills/deployment-procedures/SKILL.md +191 -0
  119. package/.agent/skills/docker-patterns/SKILL.md +161 -0
  120. package/.agent/skills/eval-harness/SKILL.md +89 -0
  121. package/.agent/skills/frontend-patterns/SKILL.md +141 -0
  122. package/.agent/skills/git-workflow/SKILL.md +159 -0
  123. package/.agent/skills/i18n-localization/SKILL.md +191 -0
  124. package/.agent/skills/intelligent-routing/SKILL.md +180 -0
  125. package/.agent/skills/mcp-integration/SKILL.md +240 -0
  126. package/.agent/skills/mobile-design/SKILL.md +191 -0
  127. package/.agent/skills/nodejs-patterns/SKILL.md +164 -0
  128. package/.agent/skills/parallel-agents/SKILL.md +200 -0
  129. package/.agent/skills/performance-profiling/SKILL.md +134 -0
  130. package/.agent/skills/plan-validation/SKILL.md +192 -0
  131. package/.agent/skills/plan-writing/SKILL.md +183 -0
  132. package/.agent/skills/plan-writing/domain-enhancers.md +184 -0
  133. package/.agent/skills/plan-writing/plan-retrospective.md +116 -0
  134. package/.agent/skills/plan-writing/plan-schema.md +119 -0
  135. package/.agent/skills/pr-toolkit/SKILL.md +174 -0
  136. package/.agent/skills/production-readiness/SKILL.md +126 -0
  137. package/.agent/skills/security-practices/SKILL.md +109 -0
  138. package/.agent/skills/shell-conventions/SKILL.md +92 -0
  139. package/.agent/skills/strategic-compact/SKILL.md +62 -0
  140. package/.agent/skills/testing-patterns/SKILL.md +141 -0
  141. package/.agent/skills/typescript-expert/SKILL.md +160 -0
  142. package/.agent/skills/ui-ux-pro-max/SKILL.md +137 -0
  143. package/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
  144. package/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
  145. package/.agent/skills/ui-ux-pro-max/data/icons.csv +101 -0
  146. package/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
  147. package/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
  148. package/.agent/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
  149. package/.agent/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
  150. package/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  151. package/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  152. package/.agent/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  153. package/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  154. package/.agent/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  155. package/.agent/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  156. package/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  157. package/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
  158. package/.agent/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  159. package/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  160. package/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  161. package/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  162. package/.agent/skills/ui-ux-pro-max/data/styles.csv +68 -0
  163. package/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
  164. package/.agent/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  165. package/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  166. package/.agent/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
  167. package/.agent/skills/ui-ux-pro-max/scripts/core.py +253 -0
  168. package/.agent/skills/ui-ux-pro-max/scripts/design_system.py +1067 -0
  169. package/.agent/skills/ui-ux-pro-max/scripts/search.py +114 -0
  170. package/.agent/skills/verification-loop/SKILL.md +89 -0
  171. package/.agent/skills/webapp-testing/SKILL.md +175 -0
  172. package/.agent/templates/adr-template.md +32 -0
  173. package/.agent/templates/bug-report.md +37 -0
  174. package/.agent/templates/feature-request.md +32 -0
  175. package/.agent/workflows/README.md +101 -0
  176. package/.agent/workflows/brainstorm.md +86 -0
  177. package/.agent/workflows/create.md +85 -0
  178. package/.agent/workflows/debug.md +83 -0
  179. package/.agent/workflows/deploy.md +114 -0
  180. package/.agent/workflows/enhance.md +85 -0
  181. package/.agent/workflows/orchestrate.md +106 -0
  182. package/.agent/workflows/plan.md +105 -0
  183. package/.agent/workflows/pr-fix.md +163 -0
  184. package/.agent/workflows/pr-merge.md +117 -0
  185. package/.agent/workflows/pr-review.md +178 -0
  186. package/.agent/workflows/pr-split.md +118 -0
  187. package/.agent/workflows/pr.md +184 -0
  188. package/.agent/workflows/preflight.md +107 -0
  189. package/.agent/workflows/preview.md +95 -0
  190. package/.agent/workflows/quality-gate.md +103 -0
  191. package/.agent/workflows/retrospective.md +100 -0
  192. package/.agent/workflows/review.md +104 -0
  193. package/.agent/workflows/status.md +89 -0
  194. package/.agent/workflows/test.md +98 -0
  195. package/.agent/workflows/ui-ux-pro-max.md +93 -0
  196. package/.agent/workflows/upgrade.md +97 -0
  197. package/LICENSE +21 -0
  198. package/README.md +218 -0
  199. package/bin/kit.js +773 -0
  200. package/lib/agent-registry.js +228 -0
  201. package/lib/agent-reputation.js +343 -0
  202. package/lib/circuit-breaker.js +195 -0
  203. package/lib/cli-commands.js +322 -0
  204. package/lib/config-validator.js +274 -0
  205. package/lib/conflict-detector.js +252 -0
  206. package/lib/constants.js +47 -0
  207. package/lib/engineering-manager.js +336 -0
  208. package/lib/error-budget.js +370 -0
  209. package/lib/hook-system.js +256 -0
  210. package/lib/ide-generator.js +434 -0
  211. package/lib/identity.js +240 -0
  212. package/lib/io.js +146 -0
  213. package/lib/learning-engine.js +163 -0
  214. package/lib/loading-engine.js +421 -0
  215. package/lib/logger.js +118 -0
  216. package/lib/marketplace.js +321 -0
  217. package/lib/plugin-system.js +604 -0
  218. package/lib/plugin-verifier.js +197 -0
  219. package/lib/rate-limiter.js +113 -0
  220. package/lib/security-scanner.js +312 -0
  221. package/lib/self-healing.js +468 -0
  222. package/lib/session-manager.js +264 -0
  223. package/lib/skill-sandbox.js +244 -0
  224. package/lib/task-governance.js +522 -0
  225. package/lib/task-model.js +332 -0
  226. package/lib/updater.js +240 -0
  227. package/lib/verify.js +279 -0
  228. package/lib/workflow-engine.js +373 -0
  229. package/lib/workflow-events.js +166 -0
  230. package/lib/workflow-persistence.js +160 -0
  231. package/package.json +57 -0
@@ -0,0 +1,93 @@
1
+ # Pre-Commit Checklist
2
+
3
+ > **Framework**: Devran AI Kit
4
+ > **Purpose**: Quality gate before committing code
5
+ > **Principle**: Prevention over correction
6
+
7
+ ---
8
+
9
+ ## 🔍 Code Quality
10
+
11
+ - [ ] **No debug code left**
12
+ - No `console.log` statements (unless intentional)
13
+ - No `debugger` statements
14
+ - No commented-out code blocks
15
+ - [ ] **Code is self-documenting**
16
+ - Clear variable/function names
17
+ - Complex logic has comments explaining WHY
18
+
19
+ ---
20
+
21
+ ## 🧪 Testing
22
+
23
+ - [ ] **All tests pass**
24
+ ```bash
25
+ npm test
26
+ ```
27
+ - [ ] **New code has tests** (when applicable)
28
+ - [ ] **Coverage maintained or improved**
29
+
30
+ ---
31
+
32
+ ## 🔨 Build & Lint
33
+
34
+ - [ ] **TypeScript compiles**
35
+ ```bash
36
+ npm run build
37
+ ```
38
+ - [ ] **Linting passes**
39
+ ```bash
40
+ npm run lint
41
+ ```
42
+ - [ ] **Formatting correct**
43
+ ```bash
44
+ npm run format
45
+ ```
46
+
47
+ ---
48
+
49
+ ## 🔐 Security
50
+
51
+ - [ ] **No secrets in code**
52
+ - No API keys
53
+ - No passwords
54
+ - No tokens
55
+ - [ ] **Dependencies secure**
56
+ ```bash
57
+ npm audit
58
+ ```
59
+
60
+ ---
61
+
62
+ ## 📋 Commit Message
63
+
64
+ Follow conventional commits format:
65
+
66
+ ```
67
+ <type>(<scope>): <description>
68
+
69
+ [optional body]
70
+
71
+ [optional footer(s)]
72
+ ```
73
+
74
+ **Types**: `feat`, `fix`, `docs`, `style`, `refactor`, `test`, `chore`, `perf`, `ci`
75
+
76
+ **Examples**:
77
+
78
+ ```bash
79
+ git commit -m "feat(auth): add JWT refresh token support"
80
+ git commit -m "fix(api): handle null user in profile endpoint"
81
+ git commit -m "docs(readme): add installation instructions"
82
+ ```
83
+
84
+ ---
85
+
86
+ ## ✅ Ready to Commit
87
+
88
+ All checks passed? Proceed with:
89
+
90
+ ```bash
91
+ git add -A
92
+ git commit -m "<type>(<scope>): <description>"
93
+ ```
@@ -0,0 +1,99 @@
1
+ # Session End Checklist
2
+
3
+ > **Framework**: Devran AI Kit
4
+ > **Purpose**: Complete this checklist before ending any work session
5
+ > **Principle**: Context preservation for continuity
6
+
7
+ ---
8
+
9
+ ## 📝 Context Preservation
10
+
11
+ - [ ] **session-context.md** updated with:
12
+ - What was accomplished
13
+ - Open items and next steps
14
+ - Any blockers discovered
15
+ - [ ] **session-state.json** updated
16
+ - ⚠️ **Volatile-only metadata**: Only update machine-readable fields (lastCommit, currentTask, status). Never track task progress here.
17
+
18
+ ---
19
+
20
+ ## 📋 Sprint State Sync
21
+
22
+ - [ ] **docs/ROADMAP.md** updated:
23
+ - Completed items marked `[x]`
24
+ - In-progress items marked `[/]`
25
+ - New discovered items added under appropriate section
26
+ - [ ] **docs/CHANGELOG.md** synced with shipped work from this session
27
+ - [ ] **Duplicate tracking prevention**:
28
+ - [ ] No task status tracked outside ROADMAP.md
29
+ - [ ] No duplicate entries between ROADMAP ↔ CHANGELOG ↔ session-context
30
+ - [ ] **Sync verification**: ROADMAP.md ↔ session-context.md ↔ session-state.json reflect same state
31
+
32
+ ---
33
+
34
+ ## 📊 Progress Documentation
35
+
36
+ - [ ] **README.md** or docs updated (if needed)
37
+ - [ ] **CHANGELOG.md** updated (if release-worthy changes)
38
+ - [ ] **ADRs created** for significant decisions
39
+ - Use `/adr` command for new decisions
40
+
41
+ ---
42
+
43
+ ## 🔍 Quality Verification
44
+
45
+ - [ ] **All tests pass**
46
+ ```bash
47
+ npm test
48
+ ```
49
+ - [ ] **Build succeeds**
50
+ ```bash
51
+ npm run build
52
+ ```
53
+ - [ ] **Linting clean**
54
+ ```bash
55
+ npm run lint
56
+ ```
57
+
58
+ ---
59
+
60
+ ## 📦 Git Status
61
+
62
+ - [ ] **All changes committed**
63
+ ```bash
64
+ git status # Should be clean
65
+ ```
66
+ - [ ] **Commit messages follow convention**
67
+ ```
68
+ feat(scope): description
69
+ fix(scope): description
70
+ docs(scope): description
71
+ ```
72
+ - [ ] **Pushed to remote**
73
+ ```bash
74
+ git push origin [branch]
75
+ ```
76
+
77
+ ---
78
+
79
+ ## 🔄 Handoff Preparation
80
+
81
+ If another session will continue this work:
82
+
83
+ - [ ] Clear **Next Steps** documented in session-context.md
84
+ - [ ] **Blockers** clearly identified
85
+ - [ ] Required **context files** listed
86
+ - [ ] Any **environment changes** noted
87
+
88
+ ---
89
+
90
+ ## ✅ Session Complete
91
+
92
+ **Final commit convention:**
93
+
94
+ ```bash
95
+ git commit -m "chore(session): end session - [summary]"
96
+ git push origin [branch]
97
+ ```
98
+
99
+ Session can now be safely ended.
@@ -0,0 +1,102 @@
1
+ # Session Start Checklist
2
+
3
+ > **Framework**: Devran AI Kit
4
+ > **Purpose**: Complete this checklist at the beginning of every work session
5
+ > **Principle**: Full context before new work
6
+
7
+ ---
8
+
9
+ ## 🔄 Context Loading
10
+
11
+ - [ ] **session-context.md** loaded
12
+ - Last session summary reviewed
13
+ - Open items identified
14
+ - Handoff context verified (not just session-end boilerplate)
15
+ - [ ] **session-state.json** loaded
16
+ - Last commit verified
17
+ - Current task identified
18
+ - **Staleness check**: Compare `lastCommit` with `git log --oneline -1` — if diverged, flag to user
19
+ - [ ] **rules.md** loaded (if project has one)
20
+ - Project-specific rules acknowledged
21
+
22
+ ---
23
+
24
+ ## 📋 Sprint State Validation
25
+
26
+ - [ ] **docs/ROADMAP.md** loaded (SSOT for sprint tracking)
27
+ - Current sprint identified
28
+ - In-progress `[/]` items from last session reviewed
29
+ - Completed `[x]` items acknowledged
30
+ - [ ] **Sprint state presented** to user before starting work
31
+ - Summary of where we left off
32
+ - Proposed next items to work on
33
+ - [ ] **docs/ARCHITECTURE.md** reviewed for structural context
34
+ - [ ] **docs/CHANGELOG.md** reviewed for recent shipped work
35
+
36
+ ---
37
+
38
+ ## 📂 Project State
39
+
40
+ - [ ] **Git status** clean or understood
41
+ ```bash
42
+ git status
43
+ git branch
44
+ ```
45
+ - [ ] **Dependencies** up to date
46
+ ```bash
47
+ npm install # or pnpm install
48
+ ```
49
+ - [ ] **Build** passes
50
+ ```bash
51
+ npm run build
52
+ ```
53
+
54
+ ---
55
+
56
+ ## 🎯 Task Context
57
+
58
+ Based on task type, load relevant context:
59
+
60
+ **For Feature Work:**
61
+
62
+ - [ ] Requirements document located
63
+ - [ ] Related existing code identified
64
+ - [ ] Test strategy understood
65
+
66
+ **For Bug Fixes:**
67
+
68
+ - [ ] Bug reproduction steps known
69
+ - [ ] Related logs/errors reviewed
70
+ - [ ] Affected code paths identified
71
+
72
+ **For Refactoring:**
73
+
74
+ - [ ] Scope of changes understood
75
+ - [ ] Test coverage verified
76
+ - [ ] Rollback plan considered
77
+
78
+ ---
79
+
80
+ ## ⚡ Quick Verification
81
+
82
+ - [ ] Development server starts
83
+ ```bash
84
+ npm run dev
85
+ ```
86
+ - [ ] Tests pass
87
+ ```bash
88
+ npm test
89
+ ```
90
+ - [ ] No critical errors in console
91
+
92
+ ---
93
+
94
+ ## ✅ Ready State
95
+
96
+ After completing this checklist:
97
+
98
+ 1. ✅ Context fully loaded
99
+ 2. ✅ Environment verified
100
+ 3. ✅ Ready to begin task
101
+
102
+ **Proceed with**: `/plan` or `/implement`
@@ -0,0 +1,81 @@
1
+ # Task-Complete Checkpoint
2
+
3
+ > **Framework**: Devran AI Kit
4
+ > **Purpose**: Decision gate after task completion — present options before commit/push
5
+ > **Principle**: Human-in-the-loop governance
6
+
7
+ ---
8
+
9
+ ## 🎯 Trigger Condition
10
+
11
+ This checkpoint activates when:
12
+ - Implementation work is complete AND quality gates have passed (VERIFY → CHECKPOINT transition)
13
+ - The agent has made code changes that are ready for commit
14
+
15
+ This checkpoint does NOT activate when:
16
+ - The developer has explicitly enabled "skip checkpoint" mode for the session
17
+ - The change is docs-only or config-only (handled by commit-type scoping)
18
+
19
+ ---
20
+
21
+ ## 📋 Decision Prompt
22
+
23
+ Present these options to the developer:
24
+
25
+ | # | Action | Command | When to Recommend |
26
+ |:--|:-------|:--------|:-----------------|
27
+ | 1 | 🔍 Quality Review | `/review` | ✅ Always (if not already run) |
28
+ | 2 | 🛡️ Retrospective Audit | `/retrospective` | Sprint-end or milestone |
29
+ | 3 | 📋 Update Tracking | Manual | ✅ Always |
30
+ | 4 | 📦 Commit & Push | `git commit + push` | After review passes |
31
+ | 5 | 🔀 Pull Request | `/pr` | Feature branch with commits |
32
+ | 6 | 🔚 Session-End | Protocol | End of work session |
33
+ | 7 | 🚀 Deploy | `/deploy` | Production-impacting changes |
34
+ | 8 | 📝 Continue Working | Skip commit | Batching multiple changes |
35
+ | 9 | ⏭️ Skip Checkpoint | Session flag | Rapid iteration mode |
36
+
37
+ **Prompt format:**
38
+
39
+ ```
40
+ How should we proceed?
41
+
42
+ 1. 🔍 /review — Run quality gates (lint, type-check, test, security, build)
43
+ 2. 🛡️ /retrospective — Tier-1 audit (architecture, market benchmark, ethics)
44
+ 3. 📋 Update tracking — Sync ROADMAP.md, session-context.md, session-state.json
45
+ 4. 📦 Commit & push — Stage, commit (conventional), push to remote
46
+ 5. 🔀 /pr — Create pull request with pre-flight checks and CI verification
47
+ 6. 🔚 Session-end protocol — Preserve context and prepare for handoff
48
+ 7. 🚀 /deploy — Production deployment with pre-flight checks
49
+ 8. 📝 Continue working — Proceed to next task without committing
50
+ 9. ⏭️ Skip checkpoint — Disable checkpoint for remainder of session
51
+
52
+ > Choose options (e.g., "1, 3, 4" or "1 through 5"):
53
+ ```
54
+
55
+ ---
56
+
57
+ ## 🧠 Recommendation Intelligence
58
+
59
+ Dynamically adjust recommendations based on:
60
+
61
+ - [ ] **Sprint boundary**: If ROADMAP shows sprint ending → recommend `/retrospective`
62
+ - [ ] **Production files**: If `apps/api/**` or `apps/web/**` changed → recommend `/deploy`
63
+ - [ ] **Session duration**: If >2 hours of work → recommend session-end
64
+ - [ ] **File count**: If >5 files changed → recommend atomic commit review
65
+ - [ ] **New code without tests**: Flag with ⚠️ if test coverage gap detected
66
+ - [ ] **Security-sensitive**: If auth/crypto/token files changed → recommend `/review security`
67
+ - [ ] **Feature branch**: If on feature branch with unpushed commits → recommend `/pr`
68
+
69
+ ---
70
+
71
+ ## 🔒 Governance
72
+
73
+ **PROHIBITED:**
74
+ - Committing or pushing without presenting this checkpoint
75
+ - Auto-selecting options without developer input
76
+ - Skipping this checkpoint for session-end commits
77
+
78
+ **REQUIRED:**
79
+ - Present decision prompt after every task completion
80
+ - Wait for explicit developer response
81
+ - Log the developer's choice for session audit trail
@@ -0,0 +1,130 @@
1
+ # Devran AI Kit — Commands
2
+
3
+ > **Purpose**: Slash commands for quick access to common operations
4
+ > **Count**: 37 Commands
5
+
6
+ ---
7
+
8
+ ## Overview
9
+
10
+ Commands are quick invocations that trigger specific actions or workflows. Type `/command-name` in chat to use.
11
+
12
+ ---
13
+
14
+ ## Command Categories
15
+
16
+ ### Core Workflow
17
+
18
+ | Command | Description |
19
+ | :----------- | :------------------------- |
20
+ | `/plan` | Create implementation plan |
21
+ | `/implement` | Execute the approved plan |
22
+ | `/verify` | Run all quality gates |
23
+ | `/status` | Check project status |
24
+
25
+ ### Development
26
+
27
+ | Command | Description |
28
+ | :---------- | :--------------------------------- |
29
+ | `/build` | Build a new feature from scratch |
30
+ | `/fix` | Fix linting, type, or build errors |
31
+ | `/debug` | Systematic debugging process |
32
+ | `/refactor` | Improve code quality |
33
+ | `/cook` | Full scratch-to-done workflow |
34
+
35
+ ### Documentation & Git
36
+
37
+ | Command | Description |
38
+ | :----------- | :---------------------------------- |
39
+ | `/doc` | Generate documentation |
40
+ | `/adr` | Create Architecture Decision Record |
41
+ | `/changelog` | Generate changelog from commits |
42
+ | `/git` | Git operations with best practices |
43
+ | `/pr` | Create production-grade pull requests |
44
+
45
+ ### PR Toolkit
46
+
47
+ | Command | Description |
48
+ | :------------- | :---------------------------------------------- |
49
+ | `/pr-review` | Review a PR with senior engineering expertise |
50
+ | `/pr-fix` | Fix PR issues based on review comments |
51
+ | `/pr-merge` | Merge PR safely with dependency validation |
52
+ | `/pr-split` | Split oversized PRs into focused sub-PRs |
53
+ | `/pr-status` | Triage PRs with CI, staleness, and merge readiness |
54
+ | `/pr-describe` | Auto-generate PR title, summary, and labels |
55
+
56
+ ### Exploration & Research
57
+
58
+ | Command | Description |
59
+ | :---------- | :--------------------------------- |
60
+ | `/scout` | Explore and understand codebase |
61
+ | `/research` | Research technologies or solutions |
62
+ | `/ask` | Ask questions about code |
63
+
64
+ ### Quality & Security
65
+
66
+ | Command | Description |
67
+ | :--------------- | :------------------------------------ |
68
+ | `/code-review` | Run code review |
69
+ | `/tdd` | Test-driven development workflow |
70
+ | `/security-scan` | Security audit and vulnerability scan |
71
+ | `/perf` | Performance analysis and optimization |
72
+
73
+ ### Integration & Deployment
74
+
75
+ | Command | Description |
76
+ | :----------- | :------------------------------ |
77
+ | `/integrate` | Third-party service integration |
78
+ | `/db` | Database schema and migrations |
79
+ | `/deploy` | Deploy to target environment |
80
+ | `/design` | UI/UX design specifications |
81
+
82
+ ### Context Management
83
+
84
+ | Command | Description |
85
+ | :------------ | :---------------------------- |
86
+ | `/learn` | Extract patterns from session |
87
+ | `/checkpoint` | Save progress checkpoint |
88
+ | `/compact` | Compress context for memory |
89
+ | `/eval` | Evaluate metrics |
90
+ | `/setup` | Configure project with kit |
91
+ | `/help` | Show available commands |
92
+
93
+ ---
94
+
95
+ ## Command Format
96
+
97
+ ```markdown
98
+ ---
99
+ description: What this command does
100
+ ---
101
+
102
+ # /command-name Command
103
+
104
+ Brief description.
105
+
106
+ ## Usage
107
+
108
+ \`\`\`
109
+ /command-name [options]
110
+ \`\`\`
111
+
112
+ ## Examples
113
+
114
+ \`\`\`
115
+ /command-name example usage
116
+ \`\`\`
117
+
118
+ ## Process
119
+
120
+ 1. Step 1
121
+ 2. Step 2
122
+ ```
123
+
124
+ ---
125
+
126
+ ## Creating Custom Commands
127
+
128
+ 1. Create `commands/my-command.md`
129
+ 2. Add frontmatter with `description`
130
+ 3. Define usage, examples, and process
@@ -0,0 +1,29 @@
1
+ ---
2
+ description: Create an Architecture Decision Record
3
+ ---
4
+
5
+ # /adr Command
6
+
7
+ Document an architecture decision.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /adr <decision>
13
+ ```
14
+
15
+ ## Examples
16
+
17
+ ```
18
+ /adr Use PostgreSQL over MySQL
19
+ /adr Adopt NestJS for backend
20
+ /adr Choose React Query for server state
21
+ ```
22
+
23
+ ## ADR Format
24
+
25
+ - **Title**: Decision name
26
+ - **Status**: Proposed/Accepted/Deprecated
27
+ - **Context**: Why this decision is needed
28
+ - **Decision**: What we decided
29
+ - **Consequences**: Implications
@@ -0,0 +1,28 @@
1
+ ---
2
+ description: Ask questions about the codebase
3
+ ---
4
+
5
+ # /ask Command
6
+
7
+ Ask questions about code, architecture, or patterns.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /ask <question>
13
+ ```
14
+
15
+ ## Examples
16
+
17
+ ```
18
+ /ask How does authentication work?
19
+ /ask What's the database schema?
20
+ /ask Where is payment processing handled?
21
+ ```
22
+
23
+ ## Capabilities
24
+
25
+ - Code explanation
26
+ - Architecture overview
27
+ - Pattern identification
28
+ - Dependency analysis
@@ -0,0 +1,30 @@
1
+ ---
2
+ description: Build a new feature or module from scratch
3
+ ---
4
+
5
+ # /build Command
6
+
7
+ Execute a comprehensive build workflow for a new feature.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /build <feature description>
13
+ ```
14
+
15
+ ## Examples
16
+
17
+ ```
18
+ /build user authentication with JWT
19
+ /build product catalog with search
20
+ /build payment integration with Stripe
21
+ ```
22
+
23
+ ## Process
24
+
25
+ 1. Analyze requirements
26
+ 2. Design architecture
27
+ 3. Create file structure
28
+ 4. Implement core logic
29
+ 5. Add tests
30
+ 6. Document usage
@@ -0,0 +1,40 @@
1
+ ---
2
+ description: Generate changelog from commits
3
+ ---
4
+
5
+ # /changelog Command
6
+
7
+ Generate or update changelog from git history.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /changelog # Generate from recent commits
13
+ /changelog <version> # Changelog for specific version
14
+ ```
15
+
16
+ ## Examples
17
+
18
+ ```
19
+ /changelog
20
+ /changelog v1.2.0
21
+ /changelog since last release
22
+ ```
23
+
24
+ ## Output Format
25
+
26
+ ```markdown
27
+ ## [1.2.0] - 2026-02-06
28
+
29
+ ### Added
30
+
31
+ - New user profile feature
32
+
33
+ ### Changed
34
+
35
+ - Updated authentication flow
36
+
37
+ ### Fixed
38
+
39
+ - Login error handling
40
+ ```
@@ -0,0 +1,28 @@
1
+ ---
2
+ description: Save a checkpoint for later recovery
3
+ ---
4
+
5
+ # /checkpoint Command
6
+
7
+ Create a save point for your work.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /checkpoint <name> # Create named checkpoint
13
+ /checkpoint restore # List and restore checkpoints
14
+ ```
15
+
16
+ ## Examples
17
+
18
+ ```
19
+ /checkpoint before-refactor
20
+ /checkpoint auth-complete
21
+ /checkpoint restore
22
+ ```
23
+
24
+ ## Purpose
25
+
26
+ - Save progress before risky changes
27
+ - Enable easy rollback
28
+ - Track work milestones