@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,32 @@
1
+ ---
2
+ description: Integrate third-party services or APIs
3
+ ---
4
+
5
+ # /integrate Command
6
+
7
+ Integrate external services and APIs.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /integrate <service>
13
+ ```
14
+
15
+ ## Examples
16
+
17
+ ```
18
+ /integrate Stripe for payments
19
+ /integrate Sendgrid for emails
20
+ /integrate AWS S3 for file storage
21
+ /integrate Firebase for authentication
22
+ ```
23
+
24
+ ## Process
25
+
26
+ 1. Research service requirements
27
+ 2. Install necessary packages
28
+ 3. Configure environment variables
29
+ 4. Create service abstraction
30
+ 5. Implement integration
31
+ 6. Add error handling
32
+ 7. Write tests
@@ -0,0 +1,29 @@
1
+ ---
2
+ description: Learn patterns from current session
3
+ ---
4
+
5
+ # /learn Command
6
+
7
+ Extract reusable patterns from the current session.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /learn # Extract all patterns
13
+ /learn <topic> # Focus on specific topic
14
+ ```
15
+
16
+ ## Examples
17
+
18
+ ```
19
+ /learn
20
+ /learn authentication patterns
21
+ /learn error handling approaches
22
+ ```
23
+
24
+ ## Output
25
+
26
+ - Identified patterns
27
+ - Reusable code snippets
28
+ - Best practices discovered
29
+ - Saved to knowledge base
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: Profile and optimize performance
3
+ ---
4
+
5
+ # /perf Command
6
+
7
+ Analyze and optimize application performance.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /perf analyze <file> # Profile specific file
13
+ /perf bundle # Analyze bundle size
14
+ /perf web-vitals # Check Core Web Vitals
15
+ ```
16
+
17
+ ## Examples
18
+
19
+ ```
20
+ /perf analyze src/pages/Dashboard
21
+ /perf bundle optimization suggestions
22
+ /perf Check render performance
23
+ ```
24
+
25
+ ## Metrics
26
+
27
+ - Bundle size analysis
28
+ - Render performance
29
+ - Memory usage
30
+ - API response times
31
+ - Core Web Vitals (LCP, FID, CLS)
@@ -0,0 +1,56 @@
1
+ ---
2
+ name: plan
3
+ description: Create a comprehensive implementation plan for a feature or change
4
+ invokes: planner
5
+ workflow: plan
6
+ ---
7
+
8
+ # /plan
9
+
10
+ > **Purpose**: Create a detailed, actionable implementation plan before coding
11
+
12
+ ---
13
+
14
+ ## Usage
15
+
16
+ ```
17
+ /plan [feature description]
18
+ ```
19
+
20
+ ## Examples
21
+
22
+ ```
23
+ /plan Add user authentication with JWT
24
+ /plan Refactor database layer to use repository pattern
25
+ /plan Implement caching for API responses
26
+ ```
27
+
28
+ ---
29
+
30
+ ## Behavior
31
+
32
+ 1. **Invoke Planner Agent** with the feature description
33
+ 2. **Analyze Requirements** - Understand what needs to be built
34
+ 3. **Check Alignment** - Verify against operating constraints
35
+ 4. **Create Plan** - Detailed steps with files, actions, risks
36
+ 5. **Wait for Approval** - Plan must be approved before implementation
37
+
38
+ ---
39
+
40
+ ## Output
41
+
42
+ A structured implementation plan with:
43
+
44
+ - Requirements summary
45
+ - Architecture changes
46
+ - Implementation steps (phased)
47
+ - Testing strategy
48
+ - Risks and mitigations
49
+ - Estimated effort
50
+
51
+ ---
52
+
53
+ ## Related Commands
54
+
55
+ - `/implement` - Execute an approved plan
56
+ - `/track` - Start formal tracking
@@ -0,0 +1,65 @@
1
+ ---
2
+ description: Auto-generate PR title, summary, and labels from diff analysis
3
+ ---
4
+
5
+ # /pr-describe Command
6
+
7
+ Automatically generate a conventional-commit title, structured summary, change categorization, and suggested labels by analyzing the PR diff.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /pr-describe # Describe current branch diff
13
+ /pr-describe #<number> # Describe existing PR
14
+ /pr-describe <url> # Describe PR at GitHub URL
15
+ /pr-describe #<number> --update # Update existing PR description in-place
16
+ /pr-describe --format brief # Short summary only
17
+ ```
18
+
19
+ ## Examples
20
+
21
+ ```
22
+ /pr-describe # Generate description for current branch
23
+ /pr-describe #42 # Generate description for PR #42
24
+ /pr-describe #42 --update # Overwrite PR #42's description
25
+ /pr-describe --format brief # One-paragraph summary
26
+ ```
27
+
28
+ ## What It Does
29
+
30
+ 1. Analyzes the full diff (commits, file changes, additions/deletions)
31
+ 2. Detects the primary change type (feat, fix, refactor, chore, etc.)
32
+ 3. Generates conventional-commit title from branch name and diff content
33
+ 4. Creates structured body (Summary, Changes by Category, Test Plan)
34
+ 5. Suggests labels based on file types and change patterns
35
+ 6. Optionally updates the PR description on GitHub
36
+
37
+ ## Output
38
+
39
+ ```markdown
40
+ ## Generated PR Description
41
+
42
+ **Title**: feat(auth): add OAuth2 provider support
43
+
44
+ **Summary**:
45
+ Adds Google and GitHub OAuth2 providers with PKCE flow,
46
+ token refresh, and session management.
47
+
48
+ **Changes**:
49
+ - Feature: 4 files (OAuth provider, token service, session middleware, config)
50
+ - Tests: 3 files (unit + integration for OAuth flow)
51
+ - Config: 1 file (environment variables for provider credentials)
52
+
53
+ **Labels**: `feature`, `auth`, `needs-review`
54
+
55
+ **Test Plan**:
56
+ - [ ] OAuth login flow with Google provider
57
+ - [ ] Token refresh after expiry
58
+ - [ ] Session persistence across browser restart
59
+ ```
60
+
61
+ ## Related
62
+
63
+ - `/pr` — Create a pull request (uses /pr-describe internally)
64
+ - `/pr-review` — Review a pull request
65
+ - `/pr-status` — Check PR merge readiness
@@ -0,0 +1,45 @@
1
+ ---
2
+ description: Fix pull request issues based on review comments
3
+ ---
4
+
5
+ # /pr-fix Command
6
+
7
+ Fix PR issues by fetching review comments, prioritizing by severity, implementing fixes, and pushing resolution.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /pr-fix <url> # Fix PR at GitHub URL
13
+ /pr-fix <owner/repo>#<number> # Fix PR by repo and number
14
+ /pr-fix #<number> # Fix PR in current repo
15
+ /pr-fix #<number> --critical-only # Fix only CRITICAL findings
16
+ /pr-fix #<number> --dry-run # Show fix plan without implementing
17
+ ```
18
+
19
+ ## Examples
20
+
21
+ ```
22
+ /pr-fix https://github.com/org/repo/pull/42
23
+ /pr-fix deelmarkt/app#10
24
+ /pr-fix #5
25
+ /pr-fix #5 --critical-only
26
+ /pr-fix #5 --dry-run
27
+ ```
28
+
29
+ ## What It Does
30
+
31
+ 1. Fetches all review comments and requested changes
32
+ 2. Categorizes fixes by severity (P0-P3)
33
+ 3. Checks out the PR branch
34
+ 4. Implements fixes in priority order
35
+ 5. Runs `/review` verification pipeline
36
+ 6. Pushes fixes and posts resolution summary
37
+ 7. Re-requests review from original reviewer
38
+
39
+ ## Related
40
+
41
+ - `/pr-review` — Review a pull request
42
+ - `/pr` — Create a pull request
43
+ - `/pr-merge` — Merge with dependency validation
44
+ - `/pr-status` — Check merge readiness
45
+ - `/review` — Local code quality gates
@@ -0,0 +1,45 @@
1
+ ---
2
+ description: Merge a pull request safely with dependency validation and post-merge checks
3
+ ---
4
+
5
+ # /pr-merge Command
6
+
7
+ Safely merge a pull request after validating CI status, review approval, dependency chain, and branch strategy compliance. Includes post-merge verification and dependent PR notification.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /pr-merge #<number> # Merge PR in current repo
13
+ /pr-merge <url> # Merge PR at GitHub URL
14
+ /pr-merge #<number> --squash # Force squash merge
15
+ /pr-merge #<number> --merge-commit # Force merge commit
16
+ /pr-merge #<number> --rebase # Force rebase merge
17
+ /pr-merge #<number> --dry-run # Validate merge readiness without merging
18
+ ```
19
+
20
+ ## Examples
21
+
22
+ ```
23
+ /pr-merge #42 # Merge with auto-detected strategy
24
+ /pr-merge #42 --squash # Squash merge
25
+ /pr-merge #42 --dry-run # Check if #42 is ready to merge
26
+ /pr-merge https://github.com/org/repo/pull/42
27
+ ```
28
+
29
+ ## What It Does
30
+
31
+ 1. Validates PR state (open, mergeable, not blocked)
32
+ 2. Verifies review approval and CI checks passing
33
+ 3. Validates dependency chain (`Depends-On:` PRs all merged)
34
+ 4. Checks branch strategy compliance (correct merge target)
35
+ 5. Selects merge strategy (squash / merge commit / rebase)
36
+ 6. Executes merge and deletes merged branch
37
+ 7. Runs post-merge validation (CI on target branch)
38
+ 8. Notifies dependent PRs that this dependency is resolved
39
+
40
+ ## Related
41
+
42
+ - `/pr` — Create a pull request
43
+ - `/pr-review` — Review a pull request
44
+ - `/pr-status` — Check merge readiness
45
+ - `/pr-split` — Split oversized PR into sub-PRs
@@ -0,0 +1,50 @@
1
+ ---
2
+ description: Review a pull request with Senior Staff Engineer expertise
3
+ ---
4
+
5
+ # /pr-review Command
6
+
7
+ Review any pull request with multi-perspective analysis covering PR hygiene, branch strategy, code quality, security, testing, and architecture.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /pr-review <url> # Review PR at GitHub URL
13
+ /pr-review <owner/repo>#<number> # Review PR by repo and number
14
+ /pr-review #<number> # Review PR in current repo
15
+ /pr-review #<number> --local # Review locally only (don't post)
16
+ /pr-review #<number> --focus <area> # Focus on specific perspective
17
+ ```
18
+
19
+ ## Examples
20
+
21
+ ```
22
+ /pr-review https://github.com/org/repo/pull/42
23
+ /pr-review deelmarkt/app#10
24
+ /pr-review #5
25
+ /pr-review #5 --local
26
+ /pr-review #5 --focus security
27
+ ```
28
+
29
+ ## Focus Areas
30
+
31
+ - `security` — Security-only review
32
+ - `quality` — Code quality-only review
33
+ - `hygiene` — PR structure and process compliance
34
+
35
+ ## What It Does
36
+
37
+ 1. Fetches PR metadata, diff, and existing reviews
38
+ 2. Detects branch strategy (GitFlow / Trunk-Based)
39
+ 3. Applies 6-perspective review framework
40
+ 4. Generates findings with severity and fix suggestions
41
+ 5. Posts review to GitHub (REQUEST_CHANGES / APPROVE / COMMENT)
42
+
43
+ ## Related
44
+
45
+ - `/pr` — Create a pull request
46
+ - `/pr-fix` — Fix issues from review comments
47
+ - `/pr-merge` — Merge with dependency validation
48
+ - `/pr-split` — Split oversized PRs
49
+ - `/pr-status` — Check merge readiness
50
+ - `/review` — Local code quality gates
@@ -0,0 +1,54 @@
1
+ ---
2
+ description: Split oversized PRs into focused sub-PRs by concern category
3
+ ---
4
+
5
+ # /pr-split Command
6
+
7
+ Split large (L/XL) pull requests into focused, independently-reviewable sub-PRs organized by concern category with a dependency-ordered merge plan.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /pr-split # Analyze current branch for splitting
13
+ /pr-split #<number> # Analyze existing PR for splitting
14
+ /pr-split --dry-run # Show split plan without creating branches
15
+ /pr-split --auto # Auto-split by file category
16
+ ```
17
+
18
+ ## Examples
19
+
20
+ ```
21
+ /pr-split # Split current branch
22
+ /pr-split #42 # Split PR #42
23
+ /pr-split --dry-run # Preview split plan only
24
+ /pr-split #42 --auto # Auto-split without manual grouping
25
+ ```
26
+
27
+ ## What It Does
28
+
29
+ 1. Analyzes full diff and classifies PR size (must be L or XL)
30
+ 2. Categorizes files by concern (feature, tests, config, deps, docs, infra)
31
+ 3. Proposes split plan with merge ordering and dependencies
32
+ 4. Waits for user approval of the split plan
33
+ 5. Creates sub-branches with selective cherry-pick/checkout
34
+ 6. Verifies each sub-branch independently (build + tests)
35
+ 7. Creates sub-PRs with structured bodies and dependency declarations
36
+ 8. Updates original PR with links to all sub-PRs
37
+
38
+ ## Split Categories
39
+
40
+ | Category | Examples |
41
+ | :--- | :--- |
42
+ | Feature Code | `src/`, application logic |
43
+ | Tests | `tests/`, `*.test.*`, `*.spec.*` |
44
+ | Configuration | `.eslintrc`, `tsconfig`, tool configs |
45
+ | Dependencies | `package.json`, lock files |
46
+ | Documentation | `README`, `docs/`, `CHANGELOG` |
47
+ | Infrastructure | `Dockerfile`, CI/CD, deploy configs |
48
+
49
+ ## Related
50
+
51
+ - `/pr` — Create a pull request (warns on XL size)
52
+ - `/pr-review` — Review each sub-PR
53
+ - `/pr-merge` — Merge sub-PRs in dependency order
54
+ - `/pr-status` — Check status of all sub-PRs
@@ -0,0 +1,56 @@
1
+ ---
2
+ description: Triage pull requests with CI status, staleness detection, and dependency readiness
3
+ ---
4
+
5
+ # /pr-status Command
6
+
7
+ Quick triage view for one or more pull requests — CI status, review state, staleness, dependency readiness, and merge eligibility at a glance.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /pr-status # All open PRs in current repo
13
+ /pr-status #<number> # Single PR status
14
+ /pr-status <url> # PR at GitHub URL
15
+ /pr-status <owner/repo> # All open PRs in specified repo
16
+ /pr-status #<number> --deps # Show dependency chain status
17
+ ```
18
+
19
+ ## Examples
20
+
21
+ ```
22
+ /pr-status # Triage all open PRs
23
+ /pr-status #42 # Status of PR #42
24
+ /pr-status https://github.com/org/repo/pull/10
25
+ /pr-status deelmarkt/app # All open PRs in deelmarkt/app
26
+ /pr-status #42 --deps # Dependency chain for PR #42
27
+ ```
28
+
29
+ ## What It Does
30
+
31
+ 1. Fetches PR metadata (state, reviews, checks, labels)
32
+ 2. Classifies CI status (passing / failing / pending / none)
33
+ 3. Detects staleness (days since last update, sync status with target)
34
+ 4. Validates dependency chain (`Depends-On:` references)
35
+ 5. Calculates merge readiness score (0-100)
36
+ 6. Outputs a triage dashboard with actionable next steps
37
+
38
+ ## Output
39
+
40
+ ```
41
+ PR #42 — feat(auth): add OAuth2 provider
42
+ ├─ Status: OPEN
43
+ ├─ Reviews: 1/1 APPROVED
44
+ ├─ CI: ✓ All checks passing (3/3)
45
+ ├─ Staleness: Fresh (updated 2h ago, in sync with main)
46
+ ├─ Dependencies: #40 MERGED, #41 OPEN (blocking)
47
+ ├─ Merge Ready: No — dependency #41 not yet merged
48
+ └─ Next: Merge #41 first, then this PR is ready
49
+ ```
50
+
51
+ ## Related
52
+
53
+ - `/pr` — Create a pull request
54
+ - `/pr-review` — Review a pull request
55
+ - `/pr-merge` — Merge a pull request safely
56
+ - `/pr-describe` — Auto-generate PR description
@@ -0,0 +1,58 @@
1
+ ---
2
+ description: Create production-grade pull requests with branch validation, size guards, and CI verification
3
+ ---
4
+
5
+ # /pr Command
6
+
7
+ Create pull requests with branch strategy validation, size/scope guards, pre-flight checks, and CI verification.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /pr # Create PR targeting default branch
13
+ /pr [target] # Create PR targeting specific branch (e.g., /pr dev)
14
+ /pr --draft # Create PR as draft
15
+ /pr --draft [target] # Create draft PR targeting specific branch
16
+ ```
17
+
18
+ ## Examples
19
+
20
+ ```
21
+ /pr # Auto-detects target via branch strategy
22
+ /pr dev # Target dev branch explicitly
23
+ /pr --draft # Create draft PR
24
+ /pr main # Target main (validated against strategy)
25
+ ```
26
+
27
+ ## What It Does
28
+
29
+ 1. Detects branch strategy (GitFlow / Trunk-Based) and validates target
30
+ 2. Syncs with target branch and resolves conflicts
31
+ 3. Checks PR size (XS-XL) and scope coherence
32
+ 4. Runs pre-flight `/review` pipeline (lint, types, tests, security, build)
33
+ 5. Generates conventional commit title from branch name
34
+ 6. Creates PR with structured body (Summary, Changes, Test Plan)
35
+ 7. Monitors CI pipeline status
36
+
37
+ ## PR Toolkit
38
+
39
+ | Command | Purpose |
40
+ | :--- | :--- |
41
+ | `/pr` | Create a pull request |
42
+ | `/pr-review #N` | Review an existing PR |
43
+ | `/pr-fix #N` | Fix PR based on review comments |
44
+ | `/pr-merge #N` | Merge PR safely with validation |
45
+ | `/pr-split` | Split oversized PR into sub-PRs |
46
+ | `/pr-status` | Triage PRs with merge readiness |
47
+ | `/pr-describe` | Auto-generate PR description |
48
+
49
+ ## Related
50
+
51
+ - `/pr-review` — Review a pull request
52
+ - `/pr-fix` — Fix issues from review comments
53
+ - `/pr-merge` — Merge with dependency validation
54
+ - `/pr-split` — Split oversized PRs
55
+ - `/pr-status` — Check merge readiness
56
+ - `/pr-describe` — Auto-generate description
57
+ - `/review` — Local code quality gates
58
+ - `/preflight` — Production readiness check
@@ -0,0 +1,32 @@
1
+ ---
2
+ description: Refactor code for better quality
3
+ ---
4
+
5
+ # /refactor Command
6
+
7
+ Refactor code to improve quality and maintainability.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /refactor <file> # Refactor specific file
13
+ /refactor extract # Extract functions/components
14
+ /refactor rename # Rename with updates
15
+ /refactor cleanup # Remove dead code
16
+ ```
17
+
18
+ ## Examples
19
+
20
+ ```
21
+ /refactor src/services/user.service.ts
22
+ /refactor Extract common validation logic
23
+ /refactor Cleanup unused imports in utils/
24
+ ```
25
+
26
+ ## Principles
27
+
28
+ - Maintain functionality
29
+ - Improve readability
30
+ - Apply SOLID principles
31
+ - Reduce complexity
32
+ - Add missing tests
@@ -0,0 +1,28 @@
1
+ ---
2
+ description: Research technologies, best practices, or solutions
3
+ ---
4
+
5
+ # /research Command
6
+
7
+ Conduct thorough research on a topic for informed decisions.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /research <topic>
13
+ ```
14
+
15
+ ## Examples
16
+
17
+ ```
18
+ /research React vs Vue for our use case
19
+ /research best authentication patterns for mobile
20
+ /research database options for high-write workloads
21
+ ```
22
+
23
+ ## Output
24
+
25
+ - Summary of findings
26
+ - Pros and cons comparison
27
+ - Recommendations
28
+ - Sources and references
@@ -0,0 +1,30 @@
1
+ ---
2
+ description: Explore and understand codebase structure
3
+ ---
4
+
5
+ # /scout Command
6
+
7
+ Analyze and document codebase architecture.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /scout # Overview of entire project
13
+ /scout <path> # Explore specific directory
14
+ /scout <file> # Deep dive into file
15
+ ```
16
+
17
+ ## Examples
18
+
19
+ ```
20
+ /scout src/services
21
+ /scout authentication module
22
+ /scout database schema
23
+ ```
24
+
25
+ ## Output
26
+
27
+ - File structure overview
28
+ - Key components identified
29
+ - Dependencies mapped
30
+ - Architecture patterns detected
@@ -0,0 +1,33 @@
1
+ ---
2
+ description: Run security audit and vulnerability scan
3
+ ---
4
+
5
+ # /security-scan Command
6
+
7
+ Scan codebase for security vulnerabilities.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /security-scan # Full security audit
13
+ /security-scan deps # Dependency vulnerabilities
14
+ /security-scan code # Code vulnerabilities
15
+ /security-scan secrets # Secret detection
16
+ ```
17
+
18
+ ## Examples
19
+
20
+ ```
21
+ /security-scan
22
+ /security-scan Check for hardcoded credentials
23
+ /security-scan Review authentication implementation
24
+ ```
25
+
26
+ ## Checks
27
+
28
+ - Dependency vulnerabilities (npm audit)
29
+ - Hardcoded secrets/credentials
30
+ - SQL injection risks
31
+ - XSS vulnerabilities
32
+ - Authentication weaknesses
33
+ - OWASP Top 10 compliance
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: Setup project with kit configuration
3
+ ---
4
+
5
+ # /setup Command
6
+
7
+ Initialize or configure the AI kit for a project.
8
+
9
+ ## Usage
10
+
11
+ ```
12
+ /setup # Full setup
13
+ /setup <component> # Setup specific component
14
+ ```
15
+
16
+ ## Examples
17
+
18
+ ```
19
+ /setup
20
+ /setup TypeScript
21
+ /setup Git hooks
22
+ ```
23
+
24
+ ## Setup Items
25
+
26
+ - Project structure
27
+ - TypeScript configuration
28
+ - ESLint/Prettier
29
+ - Git hooks
30
+ - CI/CD templates
31
+ - Testing setup