@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,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-review
|
|
3
|
+
description: Perform comprehensive code review on files or directories
|
|
4
|
+
invokes: code-reviewer
|
|
5
|
+
workflow: review
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# /code-review
|
|
9
|
+
|
|
10
|
+
> **Purpose**: Quality and security review of code changes
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
/code-review [path]
|
|
18
|
+
/code-review # Review uncommitted changes
|
|
19
|
+
/code-review src/auth/ # Review specific directory
|
|
20
|
+
/code-review file.ts # Review specific file
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Behavior
|
|
26
|
+
|
|
27
|
+
1. **Invoke Code Reviewer Agent**
|
|
28
|
+
2. **Capture Changes** - Get diff or specified files
|
|
29
|
+
3. **Apply Checklist** - Security, quality, best practices
|
|
30
|
+
4. **Generate Report** - Categorized findings
|
|
31
|
+
5. **Provide Verdict** - APPROVE / BLOCK / WARNING
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Output
|
|
36
|
+
|
|
37
|
+
```markdown
|
|
38
|
+
## Code Review Report
|
|
39
|
+
|
|
40
|
+
| Severity | Count |
|
|
41
|
+
| :------- | :---- |
|
|
42
|
+
| CRITICAL | 0 |
|
|
43
|
+
| HIGH | 1 |
|
|
44
|
+
| MEDIUM | 3 |
|
|
45
|
+
| LOW | 2 |
|
|
46
|
+
|
|
47
|
+
### [HIGH] Missing Error Handling
|
|
48
|
+
|
|
49
|
+
**File**: `src/api/client.ts:42`
|
|
50
|
+
**Issue**: Async call without try/catch
|
|
51
|
+
**Fix**: Add error boundary
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
**Verdict**: ⚠️ WARNING
|
|
56
|
+
|
|
57
|
+
Fix HIGH issues before merging.
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Related Commands
|
|
63
|
+
|
|
64
|
+
- `/security-scan` - Deep security analysis
|
|
65
|
+
- `/verify` - Full verification loop
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Compact context to preserve memory
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /compact Command
|
|
6
|
+
|
|
7
|
+
Summarize and compact the current session context.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/compact # Compact current session
|
|
13
|
+
/compact <focus> # Focus on specific area
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Examples
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
/compact
|
|
20
|
+
/compact authentication work
|
|
21
|
+
/compact database changes
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Purpose
|
|
25
|
+
|
|
26
|
+
- Preserve important context
|
|
27
|
+
- Reduce memory usage
|
|
28
|
+
- Continue work across sessions
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Full page coding workflow
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /cook Command
|
|
6
|
+
|
|
7
|
+
Complete "from scratch to done" coding workflow.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/cook <feature>
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Examples
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
/cook user authentication
|
|
19
|
+
/cook product listing page
|
|
20
|
+
/cook payment checkout flow
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Process
|
|
24
|
+
|
|
25
|
+
1. Analyze requirements
|
|
26
|
+
2. Design architecture
|
|
27
|
+
3. Write implementation
|
|
28
|
+
4. Add tests
|
|
29
|
+
5. Document
|
|
30
|
+
6. Verify quality
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Database schema design and migrations
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /db Command
|
|
6
|
+
|
|
7
|
+
Design, modify, or migrate database schemas.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/db design <entity> # Design new schema
|
|
13
|
+
/db migrate # Create migration
|
|
14
|
+
/db seed # Create seed data
|
|
15
|
+
/db analyze # Analyze current schema
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
/db design User entity with relations
|
|
22
|
+
/db migrate add email verification fields
|
|
23
|
+
/db seed create test users
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Output
|
|
27
|
+
|
|
28
|
+
- Prisma schema updates
|
|
29
|
+
- Migration files generated
|
|
30
|
+
- Seed scripts created
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Debug issues systematically
|
|
3
|
+
workflow: debug
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /debug Command
|
|
7
|
+
|
|
8
|
+
Systematically debug and fix issues.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/debug <issue>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Examples
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
/debug Why login fails
|
|
20
|
+
/debug API returns 500 error
|
|
21
|
+
/debug Component not rendering
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Process
|
|
25
|
+
|
|
26
|
+
1. Reproduce the issue
|
|
27
|
+
2. Gather evidence (logs, errors)
|
|
28
|
+
3. Form hypotheses
|
|
29
|
+
4. Test hypotheses
|
|
30
|
+
5. Apply fix
|
|
31
|
+
6. Verify resolution
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Deploy application to target environment
|
|
3
|
+
workflow: deploy
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /deploy Command
|
|
7
|
+
|
|
8
|
+
Deploy application to specified environment.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/deploy # Deploy to default (staging)
|
|
14
|
+
/deploy <env> # Deploy to specific environment
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Examples
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
/deploy
|
|
21
|
+
/deploy staging
|
|
22
|
+
/deploy production
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Environments
|
|
26
|
+
|
|
27
|
+
- **development**: Local docker
|
|
28
|
+
- **staging**: Preview deployment
|
|
29
|
+
- **production**: Live deployment
|
|
30
|
+
|
|
31
|
+
## Process
|
|
32
|
+
|
|
33
|
+
1. Run verification
|
|
34
|
+
2. Build production bundle
|
|
35
|
+
3. Push to target environment
|
|
36
|
+
4. Run health checks
|
|
37
|
+
5. Report status
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Design UI/UX components
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /design Command
|
|
6
|
+
|
|
7
|
+
Create UI/UX design specifications.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/design <component>
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Examples
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
/design dashboard layout
|
|
19
|
+
/design login form
|
|
20
|
+
/design navigation menu
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Output
|
|
24
|
+
|
|
25
|
+
- Component structure
|
|
26
|
+
- Styling recommendations
|
|
27
|
+
- Accessibility notes
|
|
28
|
+
- Responsive breakpoints
|
|
29
|
+
- Animation specs
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Generate or update documentation
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /doc Command
|
|
6
|
+
|
|
7
|
+
Create comprehensive documentation for code.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/doc <path> # Document file or directory
|
|
13
|
+
/doc api # Generate API documentation
|
|
14
|
+
/doc readme # Update README
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Examples
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
/doc src/services/user.service.ts
|
|
21
|
+
/doc Create API reference for orders module
|
|
22
|
+
/doc Update README with installation steps
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Output
|
|
26
|
+
|
|
27
|
+
- JSDoc comments added
|
|
28
|
+
- README sections generated
|
|
29
|
+
- API reference documentation
|
|
30
|
+
- Usage examples
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run evaluation metrics on performance
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /eval Command
|
|
6
|
+
|
|
7
|
+
Evaluate and measure performance metrics.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/eval # Full evaluation
|
|
13
|
+
/eval <metric> # Specific metric
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Examples
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
/eval
|
|
20
|
+
/eval code quality
|
|
21
|
+
/eval test coverage
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Metrics
|
|
25
|
+
|
|
26
|
+
- Code coverage
|
|
27
|
+
- Cyclomatic complexity
|
|
28
|
+
- Bundle size
|
|
29
|
+
- Response times
|
|
30
|
+
- Quality score
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Fix linting, type errors, or compilation issues
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /fix Command
|
|
6
|
+
|
|
7
|
+
Automatically identify and fix code quality issues.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/fix # Fix current file
|
|
13
|
+
/fix <path> # Fix specific file or directory
|
|
14
|
+
/fix lint # Fix linting errors
|
|
15
|
+
/fix types # Fix TypeScript errors
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
/fix src/services/
|
|
22
|
+
/fix ESLint errors in utils
|
|
23
|
+
/fix TypeScript errors in api module
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Process
|
|
27
|
+
|
|
28
|
+
1. Run diagnostic tools
|
|
29
|
+
2. Identify issues
|
|
30
|
+
3. Apply automatic fixes
|
|
31
|
+
4. Manual fixes for remaining issues
|
|
32
|
+
5. Verify all issues resolved
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Git operations and commit management
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /git Command
|
|
6
|
+
|
|
7
|
+
Execute Git operations with best practices.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/git status # Show repository status
|
|
13
|
+
/git commit "<msg>" # Commit with conventional message
|
|
14
|
+
/git branch <name> # Create feature branch
|
|
15
|
+
/git sync # Fetch and rebase on main
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
/git commit "feat(auth): add JWT refresh token"
|
|
22
|
+
/git branch feature/ABC-123-user-profile
|
|
23
|
+
/git sync
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Commit Message Format
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
<type>(<scope>): <description>
|
|
30
|
+
|
|
31
|
+
Types: feat, fix, docs, style, refactor, test, chore
|
|
32
|
+
```
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Comprehensive reference for all Devran AI Kit capabilities
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /help Command
|
|
6
|
+
|
|
7
|
+
Your complete guide to the Devran AI Kit. Type `/help` for a quick overview, or drill down into specific categories.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/help # Quick overview of all capabilities
|
|
13
|
+
/help commands # All 37 slash commands with descriptions
|
|
14
|
+
/help workflows # All 21 workflows with descriptions
|
|
15
|
+
/help agents # All 23 AI agents with domains
|
|
16
|
+
/help skills # All 34 skill modules
|
|
17
|
+
/help rules # Governance rules
|
|
18
|
+
/help checklists # Quality gate checklists
|
|
19
|
+
/help cli # Terminal CLI commands (kit)
|
|
20
|
+
/help <command-name> # Detail on a specific command (e.g., /help plan)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Quick Overview
|
|
26
|
+
|
|
27
|
+
**Devran AI Kit v4.1.0** — Trust-Grade AI Development Framework
|
|
28
|
+
|
|
29
|
+
| Category | Count | Description |
|
|
30
|
+
|:---------|:------|:------------|
|
|
31
|
+
| ⌨️ Commands | 37 | Slash commands for every development task |
|
|
32
|
+
| 🔄 Workflows | 21 | Multi-step development lifecycles |
|
|
33
|
+
| 🤖 Agents | 20 | Specialized AI roles for delegation |
|
|
34
|
+
| 🛠️ Skills | 34 | Domain knowledge modules |
|
|
35
|
+
| ⚖️ Rules | 9 | Modular governance constraints |
|
|
36
|
+
| ✅ Checklists | 4 | Quality gate checklists |
|
|
37
|
+
| ⚙️ Runtime | 29 | Engine modules (governance, reputation, self-healing) |
|
|
38
|
+
|
|
39
|
+
### Getting Started
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
/status → Check your session and project health
|
|
43
|
+
/plan → Create an implementation plan
|
|
44
|
+
/create → Build a new feature from scratch
|
|
45
|
+
/review → Run quality gates before committing
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Recommended Workflow
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
/brainstorm → /plan → /create → /test → /review → /deploy
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Commands (37)
|
|
57
|
+
|
|
58
|
+
### Core Workflow
|
|
59
|
+
|
|
60
|
+
| Command | Description |
|
|
61
|
+
|:--------|:------------|
|
|
62
|
+
| `/plan` | Create structured implementation plan with task breakdown |
|
|
63
|
+
| `/implement` | Execute an approved plan step by step |
|
|
64
|
+
| `/verify` | Run all quality gates (lint, types, tests, security, build) |
|
|
65
|
+
| `/status` | Check project health, session state, and capabilities |
|
|
66
|
+
|
|
67
|
+
### Feature Development
|
|
68
|
+
|
|
69
|
+
| Command | Description |
|
|
70
|
+
|:--------|:------------|
|
|
71
|
+
| `/build` | Build a new feature from scratch |
|
|
72
|
+
| `/fix` | Fix linting, type, or build errors |
|
|
73
|
+
| `/debug` | Systematic debugging with hypothesis tracking |
|
|
74
|
+
| `/refactor` | Improve code quality without changing behavior |
|
|
75
|
+
| `/cook` | Full scratch-to-done workflow (plan → build → test → review) |
|
|
76
|
+
| `/design` | UI/UX design specifications and mockups |
|
|
77
|
+
|
|
78
|
+
### Testing & Quality
|
|
79
|
+
|
|
80
|
+
| Command | Description |
|
|
81
|
+
|:--------|:------------|
|
|
82
|
+
| `/tdd` | Test-driven development — write tests first, then implement |
|
|
83
|
+
| `/code-review` | Comprehensive code review with security analysis |
|
|
84
|
+
| `/security-scan` | Security audit and vulnerability scan |
|
|
85
|
+
| `/perf` | Performance analysis and optimization |
|
|
86
|
+
| `/eval` | Evaluate metrics and measure quality |
|
|
87
|
+
|
|
88
|
+
### Documentation & Git
|
|
89
|
+
|
|
90
|
+
| Command | Description |
|
|
91
|
+
|:--------|:------------|
|
|
92
|
+
| `/doc` | Generate or update documentation |
|
|
93
|
+
| `/adr` | Create Architecture Decision Record |
|
|
94
|
+
| `/changelog` | Generate changelog from commits |
|
|
95
|
+
| `/git` | Git operations with best practices |
|
|
96
|
+
| `/pr` | Create production-grade pull requests |
|
|
97
|
+
| `/pr-review` | Review a pull request with senior engineering expertise |
|
|
98
|
+
| `/pr-fix` | Fix PR issues based on review comments |
|
|
99
|
+
| `/pr-merge` | Merge PR safely with dependency validation |
|
|
100
|
+
| `/pr-split` | Split oversized PRs into focused sub-PRs |
|
|
101
|
+
| `/pr-status` | Triage PRs with CI, staleness, and merge readiness |
|
|
102
|
+
| `/pr-describe` | Auto-generate PR title, summary, and labels |
|
|
103
|
+
| `/checkpoint` | Save progress checkpoint for session continuity |
|
|
104
|
+
|
|
105
|
+
### Exploration & Research
|
|
106
|
+
|
|
107
|
+
| Command | Description |
|
|
108
|
+
|:--------|:------------|
|
|
109
|
+
| `/scout` | Explore and understand an unfamiliar codebase |
|
|
110
|
+
| `/research` | Research technologies, libraries, or solutions |
|
|
111
|
+
| `/ask` | Ask questions about code, architecture, or patterns |
|
|
112
|
+
|
|
113
|
+
### Infrastructure & Integration
|
|
114
|
+
|
|
115
|
+
| Command | Description |
|
|
116
|
+
|:--------|:------------|
|
|
117
|
+
| `/integrate` | Third-party service integration |
|
|
118
|
+
| `/db` | Database schema design and migrations |
|
|
119
|
+
| `/deploy` | Deploy to target environment with pre-flight checks |
|
|
120
|
+
| `/setup` | Configure a new project with Devran AI Kit |
|
|
121
|
+
|
|
122
|
+
### Context Management
|
|
123
|
+
|
|
124
|
+
| Command | Description |
|
|
125
|
+
|:--------|:------------|
|
|
126
|
+
| `/learn` | Extract reusable patterns from current session (PAAL cycle) |
|
|
127
|
+
| `/compact` | Compress context window for long sessions |
|
|
128
|
+
| `/help` | This reference — show available capabilities |
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## Workflows (21)
|
|
133
|
+
|
|
134
|
+
Workflows are multi-step development lifecycles. Use them with the `/` prefix.
|
|
135
|
+
|
|
136
|
+
| Workflow | Description | Key Steps |
|
|
137
|
+
|:---------|:------------|:----------|
|
|
138
|
+
| `/brainstorm` | Structured ideation and discovery | Socratic questioning → options → decision |
|
|
139
|
+
| `/create` | Build new features from scratch | Scaffold → implement → test → review |
|
|
140
|
+
| `/debug` | Systematic debugging | Reproduce → hypothesize → verify → fix |
|
|
141
|
+
| `/deploy` | Production deployment | Pre-flight → execute → verify → monitor |
|
|
142
|
+
| `/enhance` | Iterative feature improvement | Analyze → plan → implement → validate |
|
|
143
|
+
| `/orchestrate` | Multi-agent task coordination | Decompose → delegate → merge → verify |
|
|
144
|
+
| `/plan` | Implementation planning | Research → design → breakdown → verify |
|
|
145
|
+
| `/pr` | Production-grade PR creation | Branch validation → size guard → review → push → CI |
|
|
146
|
+
| `/pr-review` | Multi-perspective PR review | Fetch → analyze → 6-perspective review → post verdict |
|
|
147
|
+
| `/pr-fix` | Fix PR based on review comments | Fetch reviews → prioritize → fix → verify → push |
|
|
148
|
+
| `/pr-merge` | Safe PR merge | Validate → verify prerequisites → merge → post-merge checks |
|
|
149
|
+
| `/pr-split` | Split oversized PRs | Analyze → categorize → split plan → create sub-PRs |
|
|
150
|
+
| `/preflight` | Production readiness audit | 10-domain assessment → scoring → verdict |
|
|
151
|
+
| `/preview` | Local dev server management | Start → verify → iterate → stop |
|
|
152
|
+
| `/quality-gate` | Pre-task validation protocol | Market research → gap analysis → ethics review |
|
|
153
|
+
| `/retrospective` | Sprint audit and review | Metrics → findings → action items |
|
|
154
|
+
| `/review` | Quality gate pipeline | Lint → types → tests → security → build |
|
|
155
|
+
| `/status` | Project state overview | Session → git → health → capabilities |
|
|
156
|
+
| `/test` | Systematic test writing | Strategy → write → run → coverage |
|
|
157
|
+
| `/ui-ux-pro-max` | Premium UI/UX design | Style → palette → typography → implement |
|
|
158
|
+
| `/upgrade` | Non-destructive framework updates | Backup → update → verify → preserve |
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## Agents (20)
|
|
163
|
+
|
|
164
|
+
Agents are specialized AI roles. They are automatically activated based on task context, or you can request a specific agent.
|
|
165
|
+
|
|
166
|
+
| Agent | Domain |
|
|
167
|
+
|:------|:-------|
|
|
168
|
+
| `architect` | System design, DDD, Hexagonal Architecture |
|
|
169
|
+
| `backend-specialist` | Node.js, NestJS, API design |
|
|
170
|
+
| `build-error-resolver` | Rapid build/compile error fixes |
|
|
171
|
+
| `code-reviewer` | Quality + security code review |
|
|
172
|
+
| `database-architect` | Schema design, queries, optimization |
|
|
173
|
+
| `devops-engineer` | CI/CD, Docker, deployment pipelines |
|
|
174
|
+
| `doc-updater` | Documentation synchronization |
|
|
175
|
+
| `e2e-runner` | End-to-end test execution |
|
|
176
|
+
| `explorer-agent` | Codebase discovery and mapping |
|
|
177
|
+
| `frontend-specialist` | React, Next.js, UI architecture |
|
|
178
|
+
| `knowledge-agent` | RAG retrieval and context lookup |
|
|
179
|
+
| `mobile-developer` | React Native, Expo mobile development |
|
|
180
|
+
| `performance-optimizer` | Core Web Vitals, profiling, optimization |
|
|
181
|
+
| `planner` | Task breakdown, Socratic analysis |
|
|
182
|
+
| `pr-reviewer` | PR review, branch strategy, code quality |
|
|
183
|
+
| `refactor-cleaner` | Dead code cleanup, code improvement |
|
|
184
|
+
| `reliability-engineer` | SRE, production readiness, SLA monitoring |
|
|
185
|
+
| `security-reviewer` | Vulnerability analysis, OWASP compliance |
|
|
186
|
+
| `sprint-orchestrator` | Sprint planning, velocity tracking |
|
|
187
|
+
| `tdd-guide` | Test-first development enforcement |
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## Skills (34)
|
|
192
|
+
|
|
193
|
+
Skills are domain knowledge modules that agents use. They are loaded automatically based on task context.
|
|
194
|
+
|
|
195
|
+
| Category | Skills |
|
|
196
|
+
|:---------|:-------|
|
|
197
|
+
| **Architecture** | `architecture`, `api-patterns`, `clean-code`, `database-design`, `docker-patterns` |
|
|
198
|
+
| **Frontend** | `frontend-patterns`, `ui-ux-pro-max`, `mobile-design`, `i18n-localization` |
|
|
199
|
+
| **Backend** | `nodejs-patterns`, `typescript-expert`, `security-practices` |
|
|
200
|
+
| **Testing** | `testing-patterns`, `webapp-testing`, `eval-harness` |
|
|
201
|
+
| **DevOps** | `deployment-procedures`, `git-workflow`, `pr-toolkit`, `shell-conventions` |
|
|
202
|
+
| **AI & Orchestration** | `intelligent-routing`, `parallel-agents`, `mcp-integration`, `context-budget`, `behavioral-modes` |
|
|
203
|
+
| **Planning** | `brainstorming`, `plan-writing`, `plan-validation`, `strategic-compact`, `continuous-learning` |
|
|
204
|
+
| **Performance** | `performance-profiling` |
|
|
205
|
+
| **Production** | `production-readiness` |
|
|
206
|
+
| **Scaffolding** | `app-builder` |
|
|
207
|
+
| **Debugging** | `debugging-strategies` |
|
|
208
|
+
| **Verification** | `verification-loop` |
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## Rules (9)
|
|
213
|
+
|
|
214
|
+
Rules are modular governance constraints that all agents must follow.
|
|
215
|
+
|
|
216
|
+
| Rule | Purpose |
|
|
217
|
+
|:-----|:--------|
|
|
218
|
+
| `coding-style` | Naming conventions, file limits, type safety |
|
|
219
|
+
| `git-workflow` | Conventional commits, atomic changes, branch strategy |
|
|
220
|
+
| `security` | Secret management, input validation, OWASP |
|
|
221
|
+
| `testing` | Test-first, coverage targets, test naming |
|
|
222
|
+
| `documentation` | Doc hierarchy, SSOT, preservation |
|
|
223
|
+
| `sprint-tracking` | ROADMAP.md as SSOT, session protocols |
|
|
224
|
+
| `quality-gate` | Pre-task validation and quality standards |
|
|
225
|
+
| `architecture` | System design patterns and ADR governance |
|
|
226
|
+
| `agent-upgrade-policy` | Framework upgrade preservation rules |
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
## Checklists (4)
|
|
231
|
+
|
|
232
|
+
Checklists are quality gates run at specific lifecycle moments.
|
|
233
|
+
|
|
234
|
+
| Checklist | When | Key Checks |
|
|
235
|
+
|:----------|:-----|:-----------|
|
|
236
|
+
| `session-start` | Beginning of each session | Read context, verify git, check dependencies |
|
|
237
|
+
| `session-end` | End of each session | Update ROADMAP, CHANGELOG, commit tracking files |
|
|
238
|
+
| `pre-commit` | Before git commit | Tests pass, lint clean, no secrets, build succeeds |
|
|
239
|
+
| `task-complete` | After task completion | Verification, documentation, cleanup |
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## CLI Commands (kit)
|
|
244
|
+
|
|
245
|
+
Terminal commands available after installing the kit:
|
|
246
|
+
|
|
247
|
+
| Command | Description |
|
|
248
|
+
|:--------|:------------|
|
|
249
|
+
| `kit init` | Install .agent/ into your project |
|
|
250
|
+
| `kit status` | Show project health dashboard |
|
|
251
|
+
| `kit verify` | Run manifest integrity checks (90 checks) |
|
|
252
|
+
| `kit scan` | Enhanced security scanning |
|
|
253
|
+
| `kit update` | Update to latest version (diff-based, preserves customizations) |
|
|
254
|
+
| `kit heal` | Detect and diagnose CI failures |
|
|
255
|
+
| `kit plugin list` | List installed plugins |
|
|
256
|
+
| `kit plugin install <path>` | Install a plugin |
|
|
257
|
+
| `kit plugin remove <name>` | Remove a plugin |
|
|
258
|
+
| `kit market search <query>` | Search marketplace plugins |
|
|
259
|
+
| `kit market info <name>` | Get marketplace plugin details |
|
|
260
|
+
| `kit market install <name>` | Install from marketplace |
|
|
261
|
+
|
|
262
|
+
---
|
|
263
|
+
|
|
264
|
+
## Quick Reference Card
|
|
265
|
+
|
|
266
|
+
```
|
|
267
|
+
Start here: /status → /plan → /create → /review
|
|
268
|
+
Debug issues: /debug → /fix → /verify
|
|
269
|
+
Write tests: /tdd → /test → /verify
|
|
270
|
+
Deploy: /review → /deploy
|
|
271
|
+
Learn more: /help <topic>
|
|
272
|
+
Terminal: kit verify | kit scan | kit status
|
|
273
|
+
```
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Implement a feature based on an approved plan
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /implement Command
|
|
6
|
+
|
|
7
|
+
Execute implementation based on a defined plan.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/implement # Implement current plan
|
|
13
|
+
/implement <task> # Implement specific task
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Examples
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
/implement
|
|
20
|
+
/implement user registration
|
|
21
|
+
/implement Add validation to forms
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Process
|
|
25
|
+
|
|
26
|
+
1. Load plan.md
|
|
27
|
+
2. Check prerequisites
|
|
28
|
+
3. Implement each task
|
|
29
|
+
4. Mark tasks complete
|
|
30
|
+
5. Run verification
|