@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,89 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Display project and progress status. Current state overview.
|
|
3
|
+
version: 2.1.0
|
|
4
|
+
sdlc-phase: cross-cutting
|
|
5
|
+
skills: [verification-loop]
|
|
6
|
+
commit-types: [chore]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# /status — Project Status Overview
|
|
10
|
+
|
|
11
|
+
> **Trigger**: `/status [sub-command]`
|
|
12
|
+
> **Lifecycle**: Cross-cutting — any SDLC phase
|
|
13
|
+
|
|
14
|
+
> Standards: See `rules/workflow-standards.md`
|
|
15
|
+
|
|
16
|
+
> [!NOTE]
|
|
17
|
+
> Read-only workflow. Gathers and displays data without modifying anything.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Critical Rules
|
|
22
|
+
|
|
23
|
+
1. Accurate live data — never cached
|
|
24
|
+
2. Always include health checks
|
|
25
|
+
3. Non-destructive — never modify files or state
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Argument Parsing
|
|
30
|
+
|
|
31
|
+
| Command | Action |
|
|
32
|
+
| :--- | :--- |
|
|
33
|
+
| `/status` | Full report |
|
|
34
|
+
| `/status brief` | One-line summary |
|
|
35
|
+
| `/status health` | Build, tests, server only |
|
|
36
|
+
| `/status git` | Branch, changes, commits only |
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Steps
|
|
41
|
+
|
|
42
|
+
// turbo
|
|
43
|
+
1. **Project** — name, path, type, stack
|
|
44
|
+
|
|
45
|
+
// turbo
|
|
46
|
+
2. **Git** — branch, last commit, uncommitted changes, ahead/behind
|
|
47
|
+
|
|
48
|
+
// turbo
|
|
49
|
+
3. **Progress** — read ROADMAP/tasks, count completed/in-progress/pending
|
|
50
|
+
|
|
51
|
+
// turbo
|
|
52
|
+
4. **Health** — build status, test status, server status
|
|
53
|
+
|
|
54
|
+
// turbo
|
|
55
|
+
5. **Statistics** — files created/modified, recent changes
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Output Template
|
|
60
|
+
|
|
61
|
+
```markdown
|
|
62
|
+
## Project Status
|
|
63
|
+
|
|
64
|
+
- **Project**: [name] · [stack]
|
|
65
|
+
- **Branch**: [name] · [changes]
|
|
66
|
+
- **Health**: Build/Tests/Server status
|
|
67
|
+
- **Progress**: [completed]/[total] tasks
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Governance
|
|
73
|
+
|
|
74
|
+
**PROHIBITED:** Modifying files · reporting stale data · skipping health checks
|
|
75
|
+
|
|
76
|
+
**REQUIRED:** Live data · health checks · accurate progress
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Completion Criteria
|
|
81
|
+
|
|
82
|
+
- [ ] Project, git, health, progress reported accurately
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Related Resources
|
|
87
|
+
|
|
88
|
+
- **Cross-cutting**: Available at any phase
|
|
89
|
+
- **Related**: `/retrospective` · `/deploy`
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Write and run tests systematically.
|
|
3
|
+
version: 2.1.0
|
|
4
|
+
sdlc-phase: verify
|
|
5
|
+
skills: [testing-patterns, webapp-testing]
|
|
6
|
+
commit-types: [test]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# /test — Systematic Test Writing & Execution
|
|
10
|
+
|
|
11
|
+
> **Trigger**: `/test [scope]`
|
|
12
|
+
> **Lifecycle**: Verify — after implementation, before `/review`
|
|
13
|
+
|
|
14
|
+
> Standards: See `rules/workflow-standards.md`
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Critical Rules
|
|
19
|
+
|
|
20
|
+
1. **AAA pattern** — Arrange-Act-Assert for all tests
|
|
21
|
+
2. **Coverage >=80%** on new code
|
|
22
|
+
3. No `skip`/`xit`/`xdescribe` in committed code
|
|
23
|
+
4. Descriptive names: "should [behavior] when [condition]"
|
|
24
|
+
5. Always test edge cases, null/undefined, error paths
|
|
25
|
+
6. Stack-agnostic — detect project stack, use appropriate framework
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Scope Filter
|
|
30
|
+
|
|
31
|
+
Run tests for feat, fix, refactor, test. Skip docs, chore.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Steps
|
|
36
|
+
|
|
37
|
+
// turbo
|
|
38
|
+
1. **Identify Scope** — what to test, test type, critical paths
|
|
39
|
+
|
|
40
|
+
// turbo
|
|
41
|
+
2. **Detect Framework** — scan for jest/vitest/pytest/cargo config
|
|
42
|
+
|
|
43
|
+
// turbo
|
|
44
|
+
3. **Analyze Coverage** — run report, identify gaps, prioritize
|
|
45
|
+
|
|
46
|
+
4. **Write Tests** — AAA pattern, descriptive names, happy + edge + error paths, mock externals
|
|
47
|
+
|
|
48
|
+
// turbo
|
|
49
|
+
5. **Run & Verify** — execute suite, verify all pass, check >=80% coverage
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Multi-Stack Commands
|
|
54
|
+
|
|
55
|
+
| Stack | Test | Coverage |
|
|
56
|
+
| :--- | :--- | :--- |
|
|
57
|
+
| Node/Jest | `npm test` | `npm run test:coverage` |
|
|
58
|
+
| Node/Vitest | `npx vitest` | `npx vitest --coverage` |
|
|
59
|
+
| Python | `pytest` | `pytest --cov` |
|
|
60
|
+
| Rust | `cargo test` | `cargo tarpaulin` |
|
|
61
|
+
| Go | `go test ./...` | `go test -coverprofile=cover.out` |
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Output Template
|
|
66
|
+
|
|
67
|
+
```markdown
|
|
68
|
+
## Test Results: [Scope]
|
|
69
|
+
|
|
70
|
+
| Metric | Value |
|
|
71
|
+
| :--- | :--- |
|
|
72
|
+
| Total / Passing / Failing / Coverage | [values] |
|
|
73
|
+
|
|
74
|
+
**Next**: `/review` for quality gates.
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Governance
|
|
80
|
+
|
|
81
|
+
**PROHIBITED:** Committed skip annotations · below 80% without justification · happy-path-only testing
|
|
82
|
+
|
|
83
|
+
**REQUIRED:** AAA pattern · coverage report · descriptive names · stack-appropriate framework
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Completion Criteria
|
|
88
|
+
|
|
89
|
+
- [ ] Tests written (AAA, descriptive names)
|
|
90
|
+
- [ ] All passing, coverage >=80%
|
|
91
|
+
- [ ] Edge cases and error paths covered
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Related Resources
|
|
96
|
+
|
|
97
|
+
- **Next**: `/review`
|
|
98
|
+
- **Skills**: `.agent/skills/testing-patterns/SKILL.md` · `.agent/skills/webapp-testing/SKILL.md`
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Premium UI/UX design and implementation workflow.
|
|
3
|
+
version: 2.1.0
|
|
4
|
+
sdlc-phase: build
|
|
5
|
+
skills: [ui-ux-pro-max, frontend-patterns, mobile-design]
|
|
6
|
+
commit-types: [feat, refactor]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# /ui-ux-pro-max — Premium UI/UX Design & Implementation
|
|
10
|
+
|
|
11
|
+
> **Trigger**: `/ui-ux-pro-max [description]`
|
|
12
|
+
> **Lifecycle**: Build — UI/design implementation
|
|
13
|
+
|
|
14
|
+
> Standards: See `rules/workflow-standards.md`
|
|
15
|
+
|
|
16
|
+
> [!IMPORTANT]
|
|
17
|
+
> Visual excellence required. No generic, template-like, or "AI-slop" designs.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Critical Rules
|
|
22
|
+
|
|
23
|
+
1. **Anti-AI-slop** — no generic gradients, default border-radius, cookie-cutter layouts
|
|
24
|
+
2. Premium aesthetics — curated HSL palettes, modern typography, smooth micro-animations
|
|
25
|
+
3. WCAG 2.1 AA compliance mandatory
|
|
26
|
+
4. Performance-first — 60fps animations, optimized images, minimal layout shifts
|
|
27
|
+
5. Mobile-first responsive design
|
|
28
|
+
6. Design system coherence — use existing tokens or create consistent ones
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Steps
|
|
33
|
+
|
|
34
|
+
// turbo
|
|
35
|
+
1. **Design System Audit** — check existing palette, typography, spacing, component library, CSS variables
|
|
36
|
+
|
|
37
|
+
// turbo
|
|
38
|
+
2. **Requirements** — what's being designed, target mood/aesthetic, brand guidelines
|
|
39
|
+
|
|
40
|
+
3. **Implementation** — semantic HTML, palette + typography, spacing + hierarchy, responsive breakpoints
|
|
41
|
+
|
|
42
|
+
4. **Polish** — hover/focus states, transitions, loading/skeleton states, 60fps animations
|
|
43
|
+
|
|
44
|
+
5. **Accessibility** — contrast (>=4.5:1 text, >=3:1 large), keyboard nav, ARIA, `prefers-reduced-motion`
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Design Reference
|
|
49
|
+
|
|
50
|
+
```css
|
|
51
|
+
/* Curated palette */ --primary: hsl(230, 70%, 55%); --surface: hsl(230, 20%, 10%);
|
|
52
|
+
/* Typography */ --font-display: "Inter", "Outfit", system-ui; --font-mono: "JetBrains Mono", monospace;
|
|
53
|
+
/* Effects */ backdrop-filter: blur(12px); box-shadow: 0 4px 24px rgba(0,0,0,0.12);
|
|
54
|
+
/* Breakpoints */ @media (min-width: 640/768/1024/1280px)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Output Template
|
|
60
|
+
|
|
61
|
+
```markdown
|
|
62
|
+
## UI/UX: [Component/Page]
|
|
63
|
+
|
|
64
|
+
- **Palette/Typography/Style**: [details]
|
|
65
|
+
- **Files**: [created/modified]
|
|
66
|
+
- **Accessibility**: contrast/keyboard/screen-reader/reduced-motion
|
|
67
|
+
- **Responsive**: mobile/tablet/desktop
|
|
68
|
+
|
|
69
|
+
**Next**: `/preview` or `/test`
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Governance
|
|
75
|
+
|
|
76
|
+
**PROHIBITED:** Generic designs · default browser colors/fonts · ignoring accessibility · hardcoded pixels without responsive
|
|
77
|
+
|
|
78
|
+
**REQUIRED:** Curated palettes · modern typography · WCAG 2.1 AA · mobile-first · micro-animations
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## Completion Criteria
|
|
83
|
+
|
|
84
|
+
- [ ] Design system audited
|
|
85
|
+
- [ ] Premium implementation with accessibility
|
|
86
|
+
- [ ] Responsive across breakpoints
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Related Resources
|
|
91
|
+
|
|
92
|
+
- **Skill**: `.agent/skills/ui-ux-pro-max/SKILL.md`
|
|
93
|
+
- **Next**: `/preview` · `/test`
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Non-destructive Devran AI Kit framework upgrade with preservation verification.
|
|
3
|
+
version: 1.0.0
|
|
4
|
+
sdlc-phase: maintenance
|
|
5
|
+
skills: [verification-loop]
|
|
6
|
+
commit-types: [chore]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# /upgrade — Framework Upgrade
|
|
10
|
+
|
|
11
|
+
> **Trigger**: `/upgrade [sub-command]`
|
|
12
|
+
> **Lifecycle**: Maintenance — when new kit version available
|
|
13
|
+
|
|
14
|
+
> Standards: See `rules/workflow-standards.md`
|
|
15
|
+
|
|
16
|
+
> [!CAUTION]
|
|
17
|
+
> Upgrades modify `.agent/` files. Preservation Contract protects user state. Always verify after upgrade.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Critical Rules
|
|
22
|
+
|
|
23
|
+
1. Non-destructive only — use `kit update`, never `init --force`
|
|
24
|
+
2. Preservation Contract — user state (rules, checklists, sessions, decisions, contexts, identity) must survive
|
|
25
|
+
3. Always run `kit verify` post-upgrade
|
|
26
|
+
4. Human confirmation required before executing upgrade
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Argument Parsing
|
|
31
|
+
|
|
32
|
+
| Command | Action |
|
|
33
|
+
| :--- | :--- |
|
|
34
|
+
| `/upgrade` | Interactive — detect, preview, apply, verify |
|
|
35
|
+
| `/upgrade --dry-run` | Preview only |
|
|
36
|
+
| `/upgrade --verify-only` | Post-upgrade verification only |
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Steps
|
|
41
|
+
|
|
42
|
+
// turbo
|
|
43
|
+
1. **Pre-Upgrade** — check current version, verify clean working tree, record HEAD for rollback
|
|
44
|
+
|
|
45
|
+
// turbo
|
|
46
|
+
2. **Preservation Snapshot** — verify all protected items exist, record checksums
|
|
47
|
+
|
|
48
|
+
3. **Execute Upgrade** — `kit update` (requires user approval)
|
|
49
|
+
|
|
50
|
+
// turbo
|
|
51
|
+
4. **Verify Integrity** — `kit verify`, confirm preserved items intact
|
|
52
|
+
|
|
53
|
+
// turbo
|
|
54
|
+
5. **Report** — version change, new capabilities, preservation compliance
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Output Template
|
|
59
|
+
|
|
60
|
+
```markdown
|
|
61
|
+
## Upgrade Complete
|
|
62
|
+
|
|
63
|
+
| Field | Value |
|
|
64
|
+
| :--- | :--- |
|
|
65
|
+
| Previous / New Version | [versions] |
|
|
66
|
+
| Preservation Contract | Intact |
|
|
67
|
+
| Manifest Verify | Passed |
|
|
68
|
+
|
|
69
|
+
### New Capabilities
|
|
70
|
+
| Type | Added | Details |
|
|
71
|
+
|
|
72
|
+
**Next**: `/status` for health check.
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Governance
|
|
78
|
+
|
|
79
|
+
**PROHIBITED:** `init --force` for routine upgrades · modifying preserved files · skipping verification · auto-executing without confirmation
|
|
80
|
+
|
|
81
|
+
**REQUIRED:** Clean working tree · preservation snapshot · `kit verify` after upgrade · human approval
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Completion Criteria
|
|
86
|
+
|
|
87
|
+
- [ ] Version identified, working tree clean
|
|
88
|
+
- [ ] Preservation snapshot taken
|
|
89
|
+
- [ ] Upgrade executed, `kit verify` passed
|
|
90
|
+
- [ ] All preserved items intact, report delivered
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Related Resources
|
|
95
|
+
|
|
96
|
+
- **Rule**: `.agent/rules/agent-upgrade-policy.md`
|
|
97
|
+
- **Next**: `/status`
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Emre Dursun
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
# Devran AI Kit
|
|
2
|
+
|
|
3
|
+
[](https://github.com/devran-ai/kit)
|
|
4
|
+
[](LICENSE)
|
|
5
|
+
[](tests/)
|
|
6
|
+
[](package.json)
|
|
7
|
+
[](.agent/agents/)
|
|
8
|
+
[](.agent/skills/)
|
|
9
|
+
|
|
10
|
+
> Trust-Grade AI Development Framework — Zero dependencies. 23 agents. 34 skills. 21 workflows. One command.
|
|
11
|
+
|
|
12
|
+
## Why Devran AI Kit?
|
|
13
|
+
|
|
14
|
+
- **Not a prompt collection** — 31-module zero-dependency runtime engine with workflow state machine, circuit breaker, error budget, and self-healing CI
|
|
15
|
+
- **Trust-grade governance** — Immutable operating constraints enforced through a 7-phase SDLC (IDLE > EXPLORE > PLAN > IMPLEMENT > VERIFY > CHECKPOINT > REVIEW > DEPLOY)
|
|
16
|
+
- **Intelligent agent system** — 23 specialized agents with reputation scoring, domain-aware routing, and on-demand loading via keyword matching
|
|
17
|
+
- **Cross-IDE support** — One `kit init` configures Claude Code, Antigravity, Cursor, OpenCode, and Codex from a single manifest source of truth
|
|
18
|
+
|
|
19
|
+
## Comparison
|
|
20
|
+
|
|
21
|
+
| Capability | Prompt Files | Rule Collections | **Devran AI Kit** |
|
|
22
|
+
|---|---|---|---|
|
|
23
|
+
| Agent orchestration | Manual | Manual | 23 agents with reputation scoring |
|
|
24
|
+
| Workflow governance | None | None | 7-phase SDLC state machine |
|
|
25
|
+
| Session persistence | None | None | Full state across restarts |
|
|
26
|
+
| Self-healing CI | None | None | Auto-diagnoses and patches failures |
|
|
27
|
+
| Cross-IDE support | Single IDE | Single IDE | 5 IDEs from one source of truth |
|
|
28
|
+
| Plugin marketplace | None | None | Trust-verified skill marketplace |
|
|
29
|
+
| Test suite | None | None | 382+ tests with security validation |
|
|
30
|
+
| Runtime dependencies | Varies | Varies | **Zero** |
|
|
31
|
+
|
|
32
|
+
## Quick Start
|
|
33
|
+
|
|
34
|
+
### Option 1: Create New Project (Recommended)
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npx create-kit-app my-project
|
|
38
|
+
npx create-kit-app my-api --template node-api
|
|
39
|
+
npx create-kit-app my-app --template nextjs
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Creates a new project with `.agent/` pre-configured. Templates: `minimal`, `node-api`, `nextjs`.
|
|
43
|
+
|
|
44
|
+
### Option 2: Add to Existing Project
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
npx @devran-ai/kit init
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Updating
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
kit update # Non-destructive — preserves your customizations
|
|
54
|
+
kit update --dry-run # Preview changes without applying
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
> Prefer `kit update` over `kit init --force`. The update command preserves your session data, ADRs, learning contexts, and customizations. Use `init --force` only for clean reinstalls.
|
|
58
|
+
|
|
59
|
+
### Verify Installation
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
kit verify # Manifest integrity check
|
|
63
|
+
kit scan # Security scan
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Architecture
|
|
67
|
+
|
|
68
|
+
| Component | Count | Purpose |
|
|
69
|
+
|---|---|---|
|
|
70
|
+
| Agents | 23 | Specialized AI agents with reputation scoring and domain routing |
|
|
71
|
+
| Skills | 34 | Domain knowledge modules loaded on demand via keyword matching |
|
|
72
|
+
| Commands | 37 | Slash commands for IDE interaction (`/plan`, `/implement`, `/verify`) |
|
|
73
|
+
| Workflows | 21 | Process templates with quality gates and phase enforcement |
|
|
74
|
+
| Runtime Modules | 31 | Engine components (state machine, circuit breaker, plugin system) |
|
|
75
|
+
| Rules | 10 | Governance constraints (security, coding style, testing, git) |
|
|
76
|
+
| Checklists | 4 | Verification checklists (pre-commit, deployment, review, release) |
|
|
77
|
+
| Hooks | 8 | Lifecycle events (session start/end, phase transition, task complete) |
|
|
78
|
+
|
|
79
|
+
### Workflow State Machine
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
IDLE -> EXPLORE -> PLAN -> IMPLEMENT -> VERIFY -> CHECKPOINT -> REVIEW -> DEPLOY
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Each phase requires explicit developer approval before transitioning. The engine enforces governance rules and tracks session state across restarts.
|
|
86
|
+
|
|
87
|
+
## What's New in v4.1.0
|
|
88
|
+
|
|
89
|
+
| Change | Details |
|
|
90
|
+
|---|---|
|
|
91
|
+
| Cross-IDE support | Cursor, OpenCode, Codex, Antigravity — all from one manifest |
|
|
92
|
+
| Multi-language reviewers | TypeScript, Python, Go dedicated review agents |
|
|
93
|
+
| Continuous learning | Confidence scoring with time-based decay model |
|
|
94
|
+
| MCP server templates | GitHub, Supabase, Vercel, PostgreSQL, Filesystem |
|
|
95
|
+
| Test coverage | 382 tests (up from 348) across 36 test suites |
|
|
96
|
+
|
|
97
|
+
## Cross-IDE Support
|
|
98
|
+
|
|
99
|
+
| IDE | Config Path | Format |
|
|
100
|
+
|---|---|---|
|
|
101
|
+
| Claude Code | `.agent/` | Native |
|
|
102
|
+
| Antigravity | `.agent/` | Native |
|
|
103
|
+
| Cursor | `.cursor/rules/` | YAML frontmatter + Markdown |
|
|
104
|
+
| OpenCode | `.opencode/` | JSON |
|
|
105
|
+
| Codex | `.codex/` | TOML |
|
|
106
|
+
|
|
107
|
+
All generated automatically by `kit init`.
|
|
108
|
+
|
|
109
|
+
## CLI Reference
|
|
110
|
+
|
|
111
|
+
| Command | Description | Key Flags |
|
|
112
|
+
|---|---|---|
|
|
113
|
+
| `kit init` | Install `.agent/` framework into project | `--force`, `--path <dir>` |
|
|
114
|
+
| `kit update` | Non-destructive framework update | `--dry-run` |
|
|
115
|
+
| `kit status` | Dashboard with capabilities and metrics | — |
|
|
116
|
+
| `kit verify` | Manifest integrity and structure checks | — |
|
|
117
|
+
| `kit scan` | Security scan (secrets, injection patterns) | — |
|
|
118
|
+
| `kit plugin` | Plugin management | `list`, `install`, `remove` |
|
|
119
|
+
| `kit market` | Marketplace integration | `search`, `info`, `install` |
|
|
120
|
+
| `kit heal` | CI failure detection and auto-fix | `--file <path>`, `--apply` |
|
|
121
|
+
| `kit health` | Aggregated health check | — |
|
|
122
|
+
|
|
123
|
+
## Safety Guarantees
|
|
124
|
+
|
|
125
|
+
Devran AI Kit is designed to **never touch your project files**. All operations are scoped to the `.agent/` directory.
|
|
126
|
+
|
|
127
|
+
| Your Project Files | Safe? | Details |
|
|
128
|
+
|---|---|---|
|
|
129
|
+
| Source code (`src/`, `lib/`, `app/`) | Never touched | Init/update only operates on `.agent/` |
|
|
130
|
+
| Config files (`.env`, `package.json`) | Never touched | No project config is read or written |
|
|
131
|
+
| Documentation (`docs/`, `README.md`) | Never touched | Only `.agent/` docs are managed |
|
|
132
|
+
| Tests (`tests/`, `__tests__/`) | Never touched | Kit tests are internal to the package |
|
|
133
|
+
| Platform files (`android/`, `ios/`) | Never touched | No platform-specific operations |
|
|
134
|
+
|
|
135
|
+
`init --force` safety features:
|
|
136
|
+
|
|
137
|
+
- **Auto-backup** — Creates timestamped backup of existing `.agent/` before overwriting
|
|
138
|
+
- **Atomic copy** — Uses temp directory + rename to prevent corruption on failure
|
|
139
|
+
- **Symlink guard** — Skips symbolic links to prevent path traversal attacks
|
|
140
|
+
- **Session warning** — Alerts if active work-in-progress would be destroyed
|
|
141
|
+
- **Dry-run preview** — `--dry-run --force` shows exactly which user files would be overwritten
|
|
142
|
+
|
|
143
|
+
`update` preserved files:
|
|
144
|
+
|
|
145
|
+
- `session-context.md` — Your active session notes
|
|
146
|
+
- `session-state.json` — Your session metadata
|
|
147
|
+
- `decisions/` — Your Architecture Decision Records
|
|
148
|
+
- `contexts/` — Your learning data and plan quality logs
|
|
149
|
+
- `rules/` — Your custom governance rules
|
|
150
|
+
- `checklists/` — Your custom quality gates
|
|
151
|
+
|
|
152
|
+
## Agents (23)
|
|
153
|
+
|
|
154
|
+
| Category | Agents |
|
|
155
|
+
|---|---|
|
|
156
|
+
| **Core Development** | Architect, Code Reviewer, TDD Guide, Planner |
|
|
157
|
+
| **Language Reviewers** | TypeScript Reviewer, Python Reviewer, Go Reviewer |
|
|
158
|
+
| **Domain Specialists** | Frontend Specialist, Backend Specialist, Mobile Developer, Database Architect, DevOps Engineer |
|
|
159
|
+
| **Quality & Security** | Security Reviewer, E2E Runner, Performance Optimizer, Reliability Engineer |
|
|
160
|
+
| **Support & Intelligence** | Doc Updater, Build Error Resolver, Refactor Cleaner, Explorer Agent, Knowledge Agent |
|
|
161
|
+
| **Autonomy** | PR Reviewer, Sprint Orchestrator |
|
|
162
|
+
|
|
163
|
+
## Operating Constraints
|
|
164
|
+
|
|
165
|
+
| Principle | Description |
|
|
166
|
+
|---|---|
|
|
167
|
+
| Trust > Optimization | User trust is never sacrificed for metrics |
|
|
168
|
+
| Safety > Growth | User safety overrides business goals |
|
|
169
|
+
| Explainability > Performance | Understandable AI beats faster AI |
|
|
170
|
+
| Completion > Suggestion | Finish current work before proposing new |
|
|
171
|
+
| Consistency > Speed | All affected files updated, not just target |
|
|
172
|
+
|
|
173
|
+
## Repository Structure
|
|
174
|
+
|
|
175
|
+
```
|
|
176
|
+
kit/
|
|
177
|
+
├── .agent/ # Framework directory (installed to projects)
|
|
178
|
+
│ ├── agents/ # 23 specialized agent definitions
|
|
179
|
+
│ ├── skills/ # 34 domain knowledge modules
|
|
180
|
+
│ ├── commands/ # 37 slash command definitions
|
|
181
|
+
│ ├── workflows/ # 21 workflow templates
|
|
182
|
+
│ ├── rules/ # 10 governance constraints
|
|
183
|
+
│ ├── checklists/ # 4 lifecycle quality gates
|
|
184
|
+
│ ├── engine/ # Runtime config (loading-rules, MCP templates)
|
|
185
|
+
│ ├── decisions/ # Architecture Decision Records
|
|
186
|
+
│ └── manifest.json # Definitive capability inventory
|
|
187
|
+
├── lib/ # 31 runtime modules (zero dependencies)
|
|
188
|
+
├── bin/kit.js # CLI entry point
|
|
189
|
+
├── create-kit-app/ # Project scaffolder
|
|
190
|
+
├── docs/ # MkDocs documentation site
|
|
191
|
+
├── examples/ # Starter examples (minimal, full-stack)
|
|
192
|
+
└── tests/ # 382 tests (unit, structural, security)
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
## Security
|
|
196
|
+
|
|
197
|
+
Secret detection covers API keys, tokens, AWS credentials, and private keys. The scanner checks for prompt injection patterns, path traversal attempts, and symlink abuse. Plugins are verified with SHA-256 checksums before installation.
|
|
198
|
+
|
|
199
|
+
## Documentation
|
|
200
|
+
|
|
201
|
+
Full documentation: [devran-ai.github.io/kit](https://devran-ai.github.io/kit/)
|
|
202
|
+
|
|
203
|
+
## Contributing
|
|
204
|
+
|
|
205
|
+
Fork the repo, create a feature branch, add tests, and open a PR. See [CONTRIBUTING.md](CONTRIBUTING.md) for branch strategy and code standards.
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
git clone https://github.com/devran-ai/kit.git
|
|
209
|
+
cd kit && npm install && npm test
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## Author
|
|
213
|
+
|
|
214
|
+
**Emre Dursun** — [LinkedIn](https://www.linkedin.com/in/emre-dursun-nl/) · [GitHub](https://github.com/emredursun)
|
|
215
|
+
|
|
216
|
+
## License
|
|
217
|
+
|
|
218
|
+
[MIT](LICENSE)
|