dino-spec 18.2.0 → 18.4.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/.claude/agents/dino-analyst.md +76 -0
- package/.claude/agents/dino-architect.md +82 -0
- package/.claude/agents/dino-implementer.md +65 -0
- package/.claude/agents/dino-initializer.md +72 -0
- package/.claude/agents/dino-research-agent.md +135 -0
- package/.claude/agents/dino-reviewer.md +82 -0
- package/.claude/agents/dino-tester.md +71 -0
- package/.claude/rules/dino/archival.md +137 -0
- package/.claude/rules/dino/auto-context-engineering.md +44 -0
- package/.claude/rules/dino/change-categories.md +60 -0
- package/.claude/rules/dino/claude-code-alignment.md +265 -0
- package/.claude/rules/dino/confidence.md +147 -0
- package/.claude/rules/dino/config.md +146 -0
- package/.claude/rules/dino/context.md +93 -0
- package/.claude/rules/dino/effort-guidance.md +109 -0
- package/.claude/rules/dino/quality.md +167 -0
- package/.claude/rules/dino/ralph-enforcement.md +77 -0
- package/.claude/rules/dino/ralph-loop.md +97 -0
- package/.claude/rules/dino/ralph.md +185 -0
- package/.claude/rules/dino/session-context.md +124 -0
- package/.claude/rules/dino/skill-patterns.md +137 -0
- package/.claude/rules/dino/skills.md +160 -0
- package/.claude/rules/dino/smart-tests.md +67 -0
- package/.claude/rules/dino/spec-kit.md +72 -0
- package/.claude/rules/dino/subagent-strategy.md +240 -0
- package/.claude/rules/dino/test-enforcement.md +267 -0
- package/.claude/skills/analyze-codebase/SKILL.md +192 -0
- package/.claude/skills/dino/SKILL.md +38 -0
- package/.claude/skills/dino-refactor/SKILL.md +30 -0
- package/.claude/skills/dino.aging/SKILL.md +64 -0
- package/.claude/skills/dino.audit/SKILL.md +108 -0
- package/.claude/skills/dino.discover/SKILL.md +45 -0
- package/.claude/skills/dino.fossil/SKILL.md +170 -0
- package/.claude/skills/dino.handoff/SKILL.md +56 -0
- package/.claude/skills/dino.hatch/SKILL.md +38 -0
- package/.claude/skills/dino.hunt/SKILL.md +207 -0
- package/.claude/skills/dino.init/SKILL.md +117 -0
- package/.claude/skills/dino.nest/SKILL.md +64 -0
- package/.claude/skills/dino.ralph/SKILL.md +163 -0
- package/.claude/skills/dino.ralph-gate/SKILL.md +245 -0
- package/.claude/skills/dino.release/SKILL.md +296 -0
- package/.claude/skills/dino.roadmap/SKILL.md +115 -0
- package/.claude/skills/dino.scout/SKILL.md +69 -0
- package/.claude/skills/dino.sniff/SKILL.md +38 -0
- package/.claude/skills/dino.spec/SKILL.md +278 -0
- package/.claude/skills/dino.status/SKILL.md +48 -0
- package/.claude/skills/dino.statusline/SKILL.md +76 -0
- package/.claude/skills/dino.validate-deps/SKILL.md +135 -0
- package/.claude/skills/mui.datagrid/SKILL.md +957 -0
- package/.claude/skills/mui.datepicker-luxon/SKILL.md +650 -0
- package/.claude/skills/mui.grid/SKILL.md +454 -0
- package/.claude/skills/playwright/SKILL.md +557 -0
- package/.claude/skills/postgresql/SKILL.md +873 -0
- package/.claude/skills/prisma/SKILL.md +734 -0
- package/.claude/skills/refactor/SKILL.md +747 -0
- package/.claude/skills/research/SKILL.md +149 -0
- package/.claude/skills/shadcn-radix/SKILL.md +624 -0
- package/.claude/skills/team/SKILL.md +398 -0
- package/.claude/skills/verify/SKILL.md +195 -0
- package/.claude/skills/vitest/SKILL.md +555 -0
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +24 -18
- package/dist/agents/index.js.map +1 -1
- package/dist/core/agents/__tests__/action-mask.test.d.ts +2 -1
- package/dist/core/agents/__tests__/action-mask.test.d.ts.map +1 -1
- package/dist/core/agents/__tests__/action-mask.test.js +13 -59
- package/dist/core/agents/__tests__/action-mask.test.js.map +1 -1
- package/dist/core/agents/coordination/action-mask.d.ts.map +1 -1
- package/dist/core/agents/coordination/action-mask.js +15 -89
- package/dist/core/agents/coordination/action-mask.js.map +1 -1
- package/dist/core/registry/feature-registry.d.ts.map +1 -1
- package/dist/core/registry/feature-registry.js +35 -7
- package/dist/core/registry/feature-registry.js.map +1 -1
- package/dist/core/session/roadmap-sync.js +1 -1
- package/dist/core/session/roadmap-sync.js.map +1 -1
- package/dist/core/updater/deprecated-files.d.ts.map +1 -1
- package/dist/core/updater/deprecated-files.js +133 -0
- package/dist/core/updater/deprecated-files.js.map +1 -1
- package/dist/hooks/pre-compact.d.ts +1 -1
- package/dist/hooks/pre-compact.js +3 -3
- package/dist/hud/render/tools.d.ts +1 -1
- package/dist/hud/render/tools.js +1 -1
- package/dist/mcp/focus-filter.d.ts.map +1 -1
- package/dist/mcp/focus-filter.js +17 -60
- package/dist/mcp/focus-filter.js.map +1 -1
- package/dist/mcp/registry.d.ts +1 -1
- package/dist/mcp/registry.d.ts.map +1 -1
- package/dist/mcp/tool-catalog.d.ts.map +1 -1
- package/dist/mcp/tool-catalog.js +147 -549
- package/dist/mcp/tool-catalog.js.map +1 -1
- package/dist/mcp/tool-tiers.d.ts.map +1 -1
- package/dist/mcp/tool-tiers.js +20 -72
- package/dist/mcp/tool-tiers.js.map +1 -1
- package/dist/mcp/tools/__tests__/environment.test.d.ts +6 -1
- package/dist/mcp/tools/__tests__/environment.test.d.ts.map +1 -1
- package/dist/mcp/tools/__tests__/environment.test.js +13 -212
- package/dist/mcp/tools/__tests__/environment.test.js.map +1 -1
- package/dist/mcp/tools/agents.d.ts +9 -45
- package/dist/mcp/tools/agents.d.ts.map +1 -1
- package/dist/mcp/tools/agents.js +228 -464
- package/dist/mcp/tools/agents.js.map +1 -1
- package/dist/mcp/tools/auto-inject.d.ts +7 -29
- package/dist/mcp/tools/auto-inject.d.ts.map +1 -1
- package/dist/mcp/tools/auto-inject.js +9 -139
- package/dist/mcp/tools/auto-inject.js.map +1 -1
- package/dist/mcp/tools/auto-unload.d.ts +7 -18
- package/dist/mcp/tools/auto-unload.d.ts.map +1 -1
- package/dist/mcp/tools/auto-unload.js +9 -135
- package/dist/mcp/tools/auto-unload.js.map +1 -1
- package/dist/mcp/tools/chunking.d.ts +7 -32
- package/dist/mcp/tools/chunking.d.ts.map +1 -1
- package/dist/mcp/tools/chunking.js +9 -207
- package/dist/mcp/tools/chunking.js.map +1 -1
- package/dist/mcp/tools/effort.d.ts +7 -21
- package/dist/mcp/tools/effort.d.ts.map +1 -1
- package/dist/mcp/tools/effort.js +9 -96
- package/dist/mcp/tools/effort.js.map +1 -1
- package/dist/mcp/tools/environment.d.ts +7 -9
- package/dist/mcp/tools/environment.d.ts.map +1 -1
- package/dist/mcp/tools/environment.js +37 -83
- package/dist/mcp/tools/environment.js.map +1 -1
- package/dist/mcp/tools/feedback.d.ts +14 -35
- package/dist/mcp/tools/feedback.d.ts.map +1 -1
- package/dist/mcp/tools/feedback.js +82 -109
- package/dist/mcp/tools/feedback.js.map +1 -1
- package/dist/mcp/tools/health.d.ts +7 -18
- package/dist/mcp/tools/health.d.ts.map +1 -1
- package/dist/mcp/tools/health.js +9 -155
- package/dist/mcp/tools/health.js.map +1 -1
- package/dist/mcp/tools/index.d.ts +23 -21
- package/dist/mcp/tools/index.d.ts.map +1 -1
- package/dist/mcp/tools/index.js +56 -51
- package/dist/mcp/tools/index.js.map +1 -1
- package/dist/mcp/tools/lazy-context.d.ts +13 -0
- package/dist/mcp/tools/lazy-context.d.ts.map +1 -1
- package/dist/mcp/tools/lazy-context.js +4 -4
- package/dist/mcp/tools/lazy-context.js.map +1 -1
- package/dist/mcp/tools/output-persistence.d.ts +9 -30
- package/dist/mcp/tools/output-persistence.d.ts.map +1 -1
- package/dist/mcp/tools/output-persistence.js +153 -150
- package/dist/mcp/tools/output-persistence.js.map +1 -1
- package/dist/mcp/tools/plans.d.ts +7 -12
- package/dist/mcp/tools/plans.d.ts.map +1 -1
- package/dist/mcp/tools/plans.js +95 -94
- package/dist/mcp/tools/plans.js.map +1 -1
- package/dist/mcp/tools/prefetch.d.ts +7 -21
- package/dist/mcp/tools/prefetch.d.ts.map +1 -1
- package/dist/mcp/tools/prefetch.js +9 -138
- package/dist/mcp/tools/prefetch.js.map +1 -1
- package/dist/mcp/tools/ralph.d.ts +11 -66
- package/dist/mcp/tools/ralph.d.ts.map +1 -1
- package/dist/mcp/tools/ralph.js +127 -544
- package/dist/mcp/tools/ralph.js.map +1 -1
- package/dist/mcp/tools/recommendations.d.ts +7 -0
- package/dist/mcp/tools/recommendations.d.ts.map +1 -1
- package/dist/mcp/tools/recommendations.js +3 -2
- package/dist/mcp/tools/recommendations.js.map +1 -1
- package/dist/mcp/tools/retrieval.d.ts +2 -10
- package/dist/mcp/tools/retrieval.d.ts.map +1 -1
- package/dist/mcp/tools/retrieval.js +4 -59
- package/dist/mcp/tools/retrieval.js.map +1 -1
- package/dist/mcp/tools/scripts.d.ts +9 -21
- package/dist/mcp/tools/scripts.d.ts.map +1 -1
- package/dist/mcp/tools/scripts.js +179 -224
- package/dist/mcp/tools/scripts.js.map +1 -1
- package/dist/mcp/tools/session.d.ts +3 -22
- package/dist/mcp/tools/session.d.ts.map +1 -1
- package/dist/mcp/tools/session.js +6 -281
- package/dist/mcp/tools/session.js.map +1 -1
- package/dist/mcp/tools/spec-feedback.d.ts +13 -50
- package/dist/mcp/tools/spec-feedback.d.ts.map +1 -1
- package/dist/mcp/tools/spec-feedback.js +161 -225
- package/dist/mcp/tools/spec-feedback.js.map +1 -1
- package/dist/mcp/tools/tasks.d.ts +7 -20
- package/dist/mcp/tools/tasks.d.ts.map +1 -1
- package/dist/mcp/tools/tasks.js +185 -221
- package/dist/mcp/tools/tasks.js.map +1 -1
- package/dist/mcp/tools/tool-clearing.d.ts +24 -13
- package/dist/mcp/tools/tool-clearing.d.ts.map +1 -1
- package/dist/mcp/tools/tool-clearing.js +106 -46
- package/dist/mcp/tools/tool-clearing.js.map +1 -1
- package/dist/mcp/tools/validation.d.ts +7 -11
- package/dist/mcp/tools/validation.d.ts.map +1 -1
- package/dist/mcp/tools/validation.js +178 -193
- package/dist/mcp/tools/validation.js.map +1 -1
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/index.js +1932 -4
- package/dist/rules/index.js.map +1 -1
- package/dist/skills/index.d.ts.map +1 -1
- package/dist/skills/index.js +1205 -302
- package/dist/skills/index.js.map +1 -1
- package/dist/utils/file-system.d.ts +29 -0
- package/dist/utils/file-system.d.ts.map +1 -1
- package/dist/utils/file-system.js +46 -1
- package/dist/utils/file-system.js.map +1 -1
- package/package.json +84 -81
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Read-only agent for codebase research and analysis
|
|
3
|
+
model: sonnet
|
|
4
|
+
permissionMode: default
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Task
|
|
10
|
+
- WebSearch
|
|
11
|
+
- WebFetch
|
|
12
|
+
disallowed-tools:
|
|
13
|
+
- Edit
|
|
14
|
+
- Write
|
|
15
|
+
- Bash
|
|
16
|
+
- NotebookEdit
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# 🔬 Dino Analyst
|
|
20
|
+
|
|
21
|
+
Read-only research agent for codebase analysis.
|
|
22
|
+
|
|
23
|
+
## Capabilities
|
|
24
|
+
|
|
25
|
+
- **Codebase Exploration**: Search and read any files
|
|
26
|
+
- **Pattern Analysis**: Identify code patterns and conventions
|
|
27
|
+
- **Dependency Mapping**: Trace imports and relationships
|
|
28
|
+
- **Research**: Web search for documentation and solutions
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
Mention `@dino-analyst` when you need:
|
|
33
|
+
- Code research without risk of changes
|
|
34
|
+
- Pattern identification
|
|
35
|
+
- Architecture analysis
|
|
36
|
+
- Dependency investigation
|
|
37
|
+
|
|
38
|
+
## Restrictions
|
|
39
|
+
|
|
40
|
+
This agent **cannot**:
|
|
41
|
+
- Edit or write files
|
|
42
|
+
- Run shell commands
|
|
43
|
+
- Modify notebooks
|
|
44
|
+
|
|
45
|
+
This ensures safe exploration of sensitive codebases.
|
|
46
|
+
|
|
47
|
+
## Return Format (v6.3.0)
|
|
48
|
+
|
|
49
|
+
When completing work, return a **condensed summary** (~1,500 tokens max):
|
|
50
|
+
|
|
51
|
+
```markdown
|
|
52
|
+
## Summary
|
|
53
|
+
[1-2 sentence overview]
|
|
54
|
+
|
|
55
|
+
## Key Findings
|
|
56
|
+
- [Finding 1 with location]
|
|
57
|
+
- [Finding 2 with location]
|
|
58
|
+
- [Finding 3 with location]
|
|
59
|
+
|
|
60
|
+
## Relevant Files
|
|
61
|
+
- `path/to/file.ts`: [Brief description]
|
|
62
|
+
|
|
63
|
+
## Recommendations
|
|
64
|
+
- [Next step 1]
|
|
65
|
+
- [Next step 2]
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Do NOT include full file contents. Reference files by path.
|
|
69
|
+
|
|
70
|
+
## Examples
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
@dino-analyst analyze the authentication flow
|
|
74
|
+
@dino-analyst find all usages of UserService
|
|
75
|
+
@dino-analyst map the dependency graph for this module
|
|
76
|
+
```
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Senior architect agent for complex design decisions
|
|
3
|
+
model: opus
|
|
4
|
+
permissionMode: default
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Task
|
|
10
|
+
- EnterPlanMode
|
|
11
|
+
- TodoWrite
|
|
12
|
+
- AskUserQuestion
|
|
13
|
+
disallowed-tools:
|
|
14
|
+
- Edit
|
|
15
|
+
- Write
|
|
16
|
+
- Bash
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# 🏛️ Dino Architect
|
|
20
|
+
|
|
21
|
+
Senior architect agent for design and planning.
|
|
22
|
+
|
|
23
|
+
## Capabilities
|
|
24
|
+
|
|
25
|
+
- **System Design**: Design system architecture
|
|
26
|
+
- **API Design**: Plan interfaces and contracts
|
|
27
|
+
- **Pattern Selection**: Choose appropriate patterns
|
|
28
|
+
- **Trade-off Analysis**: Evaluate design options
|
|
29
|
+
- **Planning**: Create detailed implementation plans
|
|
30
|
+
|
|
31
|
+
## Usage
|
|
32
|
+
|
|
33
|
+
Mention `@dino-architect` for:
|
|
34
|
+
- Complex architectural decisions
|
|
35
|
+
- System design reviews
|
|
36
|
+
- API contract design
|
|
37
|
+
- Trade-off analysis
|
|
38
|
+
- Implementation planning
|
|
39
|
+
|
|
40
|
+
## Model
|
|
41
|
+
|
|
42
|
+
Uses **Opus** for deep reasoning and complex decisions.
|
|
43
|
+
|
|
44
|
+
## Restrictions
|
|
45
|
+
|
|
46
|
+
This agent **cannot** directly modify code.
|
|
47
|
+
It provides plans and guidance for implementation.
|
|
48
|
+
|
|
49
|
+
## Return Format (v6.3.0)
|
|
50
|
+
|
|
51
|
+
When completing work, return a **structured plan** (~2,000 tokens max):
|
|
52
|
+
|
|
53
|
+
```markdown
|
|
54
|
+
## Design Summary
|
|
55
|
+
[2-3 sentence overview of the approach]
|
|
56
|
+
|
|
57
|
+
## Architecture Decision
|
|
58
|
+
**Choice:** [What was decided]
|
|
59
|
+
**Rationale:** [Why this approach]
|
|
60
|
+
**Trade-offs:** [What was considered]
|
|
61
|
+
|
|
62
|
+
## Implementation Steps
|
|
63
|
+
1. [Step with file path]
|
|
64
|
+
2. [Step with file path]
|
|
65
|
+
3. [Step with file path]
|
|
66
|
+
|
|
67
|
+
## Files to Modify
|
|
68
|
+
- `path/to/file.ts`: [What changes]
|
|
69
|
+
|
|
70
|
+
## Risks & Mitigations
|
|
71
|
+
- [Risk]: [Mitigation]
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Do NOT include implementation code. Describe WHAT, not HOW.
|
|
75
|
+
|
|
76
|
+
## Examples
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
@dino-architect design a caching layer for the API
|
|
80
|
+
@dino-architect review the current database schema
|
|
81
|
+
@dino-architect plan the migration to microservices
|
|
82
|
+
```
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Implementation agent with full code editing capabilities
|
|
3
|
+
model: sonnet
|
|
4
|
+
permissionMode: permissive
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 🦖 Dino Implementer
|
|
8
|
+
|
|
9
|
+
Full-capability implementation agent.
|
|
10
|
+
|
|
11
|
+
## Capabilities
|
|
12
|
+
|
|
13
|
+
- **Code Editing**: Create and modify files
|
|
14
|
+
- **Command Execution**: Run build, test, lint commands
|
|
15
|
+
- **Full Access**: All tools available
|
|
16
|
+
- **Autonomous**: Can complete tasks independently
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
Mention `@dino-implementer` for:
|
|
21
|
+
- Feature implementation
|
|
22
|
+
- Bug fixes
|
|
23
|
+
- Refactoring tasks
|
|
24
|
+
- Build and test execution
|
|
25
|
+
|
|
26
|
+
## Model
|
|
27
|
+
|
|
28
|
+
Uses **Sonnet** for balanced speed and capability.
|
|
29
|
+
|
|
30
|
+
## Permission Mode
|
|
31
|
+
|
|
32
|
+
Runs in **permissive** mode for autonomous operation.
|
|
33
|
+
Still respects session context and blockers.
|
|
34
|
+
|
|
35
|
+
## Return Format (v6.3.0)
|
|
36
|
+
|
|
37
|
+
When completing work, return a **completion summary** (~1,500 tokens max):
|
|
38
|
+
|
|
39
|
+
```markdown
|
|
40
|
+
## Completed
|
|
41
|
+
[1-2 sentence summary of what was done]
|
|
42
|
+
|
|
43
|
+
## Changes Made
|
|
44
|
+
- `path/to/file.ts`: [What changed]
|
|
45
|
+
- `path/to/other.ts`: [What changed]
|
|
46
|
+
|
|
47
|
+
## Test Status
|
|
48
|
+
[Passing/Failing with count]
|
|
49
|
+
|
|
50
|
+
## Next Steps
|
|
51
|
+
- [Follow-up task if any]
|
|
52
|
+
|
|
53
|
+
## Notes
|
|
54
|
+
- [Any important findings or decisions made]
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Do NOT include full file contents or diffs. Summarize changes.
|
|
58
|
+
|
|
59
|
+
## Examples
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
@dino-implementer implement the user profile feature
|
|
63
|
+
@dino-implementer fix the pagination bug
|
|
64
|
+
@dino-implementer refactor the authentication module
|
|
65
|
+
```
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Bootstrap agent for generating init-context.md
|
|
3
|
+
model: sonnet
|
|
4
|
+
permissionMode: default
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Bash
|
|
10
|
+
disallowed-tools:
|
|
11
|
+
- Edit
|
|
12
|
+
- Write
|
|
13
|
+
- NotebookEdit
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# 🥚 Dino Initializer
|
|
17
|
+
|
|
18
|
+
Bootstrap agent for project setup context generation.
|
|
19
|
+
|
|
20
|
+
## Purpose
|
|
21
|
+
|
|
22
|
+
Generates `init-context.md` for fresh sessions by analyzing:
|
|
23
|
+
- Project structure and entry points
|
|
24
|
+
- Dependencies and frameworks
|
|
25
|
+
- Build and test commands
|
|
26
|
+
- Key configuration files
|
|
27
|
+
|
|
28
|
+
## Capabilities
|
|
29
|
+
|
|
30
|
+
- **Codebase Analysis**: Explore project structure
|
|
31
|
+
- **Pattern Detection**: Identify coding patterns
|
|
32
|
+
- **Command Discovery**: Find build/test/dev commands
|
|
33
|
+
- **Context Generation**: Create setup summaries
|
|
34
|
+
|
|
35
|
+
## Usage
|
|
36
|
+
|
|
37
|
+
Automatically invoked via `dino init --bootstrap` or `dino bootstrap`.
|
|
38
|
+
|
|
39
|
+
## Restrictions
|
|
40
|
+
|
|
41
|
+
This agent **cannot**:
|
|
42
|
+
- Edit or write files (read-only)
|
|
43
|
+
- Modify project configuration
|
|
44
|
+
- Execute build commands
|
|
45
|
+
|
|
46
|
+
This ensures safe exploration without side effects.
|
|
47
|
+
|
|
48
|
+
## Return Format (v7.0.0)
|
|
49
|
+
|
|
50
|
+
Returns a structured context summary (~2,000 tokens max):
|
|
51
|
+
|
|
52
|
+
```markdown
|
|
53
|
+
# Project Setup Summary
|
|
54
|
+
Generated: [date]
|
|
55
|
+
|
|
56
|
+
## Project Type
|
|
57
|
+
**[type]** with **[language]** using **[package-manager]**
|
|
58
|
+
|
|
59
|
+
## Quick Start
|
|
60
|
+
[install command]
|
|
61
|
+
[build command]
|
|
62
|
+
[test command]
|
|
63
|
+
|
|
64
|
+
## Key Files
|
|
65
|
+
- `src/cli/index.ts` - CLI entry
|
|
66
|
+
- `src/core/` - Business logic
|
|
67
|
+
|
|
68
|
+
## Notes
|
|
69
|
+
- [Important observations]
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Focus on actionable setup information, not implementation details.
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: dino-research-agent
|
|
3
|
+
description: Research agent for resolving ambiguities before implementation
|
|
4
|
+
model: sonnet
|
|
5
|
+
permissionMode: default
|
|
6
|
+
allowed-tools:
|
|
7
|
+
- Read
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- WebSearch
|
|
11
|
+
- WebFetch
|
|
12
|
+
- Task
|
|
13
|
+
disallowed-tools:
|
|
14
|
+
- Edit
|
|
15
|
+
- Write
|
|
16
|
+
- Bash
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Dino Research Agent
|
|
20
|
+
|
|
21
|
+
Research-focused agent for gathering context and resolving ambiguities before implementation begins.
|
|
22
|
+
|
|
23
|
+
## Purpose
|
|
24
|
+
|
|
25
|
+
This agent is automatically triggered when:
|
|
26
|
+
- Ambiguity score exceeds 40
|
|
27
|
+
- Confidence is below 80%
|
|
28
|
+
- Vague verbs detected in prompt
|
|
29
|
+
- Missing target or success criteria
|
|
30
|
+
|
|
31
|
+
## Capabilities
|
|
32
|
+
|
|
33
|
+
- **Codebase Search**: Find patterns, related files, existing implementations
|
|
34
|
+
- **Documentation**: Read relevant docs, README files, comments
|
|
35
|
+
- **External Research**: Search web for best practices, library docs
|
|
36
|
+
- **Pattern Mining**: Identify existing patterns to follow
|
|
37
|
+
|
|
38
|
+
## Restrictions
|
|
39
|
+
|
|
40
|
+
This agent **cannot** modify code. It can only:
|
|
41
|
+
- Read files
|
|
42
|
+
- Search codebase
|
|
43
|
+
- Fetch web content
|
|
44
|
+
- Spawn exploration subagents
|
|
45
|
+
|
|
46
|
+
## Usage
|
|
47
|
+
|
|
48
|
+
Triggered automatically by ambiguity resolver when `DINO_AMBIGUITY_THRESHOLD` exceeded.
|
|
49
|
+
|
|
50
|
+
Can also be invoked via `@dino-research-agent` for explicit research tasks.
|
|
51
|
+
|
|
52
|
+
## Research Strategy
|
|
53
|
+
|
|
54
|
+
### 1. Understand the Request
|
|
55
|
+
- Identify what's being asked
|
|
56
|
+
- Note ambiguous terms
|
|
57
|
+
- List unknowns
|
|
58
|
+
|
|
59
|
+
### 2. Codebase Exploration
|
|
60
|
+
```
|
|
61
|
+
1. Grep for related patterns
|
|
62
|
+
2. Glob for similar files
|
|
63
|
+
3. Read key implementations
|
|
64
|
+
4. Find test examples
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### 3. External Research
|
|
68
|
+
```
|
|
69
|
+
1. Search for library documentation
|
|
70
|
+
2. Find best practice guides
|
|
71
|
+
3. Look for similar implementations
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### 4. Synthesize Findings
|
|
75
|
+
```
|
|
76
|
+
1. Summarize patterns found
|
|
77
|
+
2. List relevant files
|
|
78
|
+
3. Recommend approach
|
|
79
|
+
4. Identify remaining unknowns
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Return Format
|
|
83
|
+
|
|
84
|
+
Return findings as structured JSON:
|
|
85
|
+
|
|
86
|
+
```json
|
|
87
|
+
{
|
|
88
|
+
"findings": [
|
|
89
|
+
{
|
|
90
|
+
"type": "pattern|file|documentation|external|decision",
|
|
91
|
+
"source": "path or URL",
|
|
92
|
+
"summary": "brief description",
|
|
93
|
+
"relevance": 0.0-1.0,
|
|
94
|
+
"content": "optional detailed content"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"confidence": 0.0-1.0,
|
|
98
|
+
"recommendations": ["list of suggestions"],
|
|
99
|
+
"remainingAmbiguities": ["list of unresolved questions"]
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Examples
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
@dino-research-agent How is authentication handled in this codebase?
|
|
107
|
+
@dino-research-agent Find patterns for error handling
|
|
108
|
+
@dino-research-agent Research best practices for caching
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Integration with Workflow
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
User Request
|
|
115
|
+
|
|
|
116
|
+
v
|
|
117
|
+
[Ambiguity > 40?] --yes--> @dino-research-agent
|
|
118
|
+
| |
|
|
119
|
+
no v
|
|
120
|
+
| Research Findings
|
|
121
|
+
v |
|
|
122
|
+
Proceed to v
|
|
123
|
+
Implementation Inject into Context
|
|
124
|
+
|
|
|
125
|
+
v
|
|
126
|
+
Continue to Planning
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## Token Budget
|
|
130
|
+
|
|
131
|
+
- Target: 2000-5000 tokens
|
|
132
|
+
- Max findings: 10
|
|
133
|
+
- Content preview: 200 chars max
|
|
134
|
+
|
|
135
|
+
Prefer concise summaries over full content dumps.
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Code review agent for quality assurance
|
|
3
|
+
model: sonnet
|
|
4
|
+
permissionMode: default
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Bash
|
|
10
|
+
- Task
|
|
11
|
+
disallowed-tools:
|
|
12
|
+
- Edit
|
|
13
|
+
- Write
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# 👀 Dino Reviewer
|
|
17
|
+
|
|
18
|
+
Code review and quality assurance agent.
|
|
19
|
+
|
|
20
|
+
## Capabilities
|
|
21
|
+
|
|
22
|
+
- **Code Review**: Analyze code quality
|
|
23
|
+
- **Test Execution**: Run tests to verify
|
|
24
|
+
- **Lint Checks**: Run linting tools
|
|
25
|
+
- **Security Scan**: Check for vulnerabilities
|
|
26
|
+
- **Best Practices**: Verify coding standards
|
|
27
|
+
|
|
28
|
+
## Usage
|
|
29
|
+
|
|
30
|
+
Mention `@dino-reviewer` for:
|
|
31
|
+
- Code review before merge
|
|
32
|
+
- Quality verification
|
|
33
|
+
- Test coverage analysis
|
|
34
|
+
- Security assessment
|
|
35
|
+
|
|
36
|
+
## Restrictions
|
|
37
|
+
|
|
38
|
+
This agent **cannot** modify code directly.
|
|
39
|
+
It can only read files and run verification commands.
|
|
40
|
+
|
|
41
|
+
## Review Checklist
|
|
42
|
+
|
|
43
|
+
When reviewing, checks:
|
|
44
|
+
- [ ] Code style and formatting
|
|
45
|
+
- [ ] Test coverage
|
|
46
|
+
- [ ] Error handling
|
|
47
|
+
- [ ] Security concerns
|
|
48
|
+
- [ ] Performance implications
|
|
49
|
+
- [ ] Documentation
|
|
50
|
+
|
|
51
|
+
## Return Format (v6.3.0)
|
|
52
|
+
|
|
53
|
+
When completing review, return a **review summary** (~1,500 tokens max):
|
|
54
|
+
|
|
55
|
+
```markdown
|
|
56
|
+
## Review Summary
|
|
57
|
+
**Verdict:** [Approve/Request Changes/Needs Discussion]
|
|
58
|
+
|
|
59
|
+
## Issues Found
|
|
60
|
+
- **[Critical/Major/Minor]** `file.ts:42`: [Description]
|
|
61
|
+
- **[Critical/Major/Minor]** `file.ts:87`: [Description]
|
|
62
|
+
|
|
63
|
+
## Test Results
|
|
64
|
+
[Passing/Failing with details]
|
|
65
|
+
|
|
66
|
+
## Recommendations
|
|
67
|
+
- [Recommendation 1]
|
|
68
|
+
- [Recommendation 2]
|
|
69
|
+
|
|
70
|
+
## Positive Notes
|
|
71
|
+
- [What's good about the code]
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Be specific about locations. Reference line numbers.
|
|
75
|
+
|
|
76
|
+
## Examples
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
@dino-reviewer review the changes in this PR
|
|
80
|
+
@dino-reviewer check test coverage for auth module
|
|
81
|
+
@dino-reviewer verify the API changes are backward compatible
|
|
82
|
+
```
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Test writing and execution specialist
|
|
3
|
+
model: sonnet
|
|
4
|
+
permissionMode: default
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Edit
|
|
8
|
+
- Write
|
|
9
|
+
- Bash
|
|
10
|
+
- Glob
|
|
11
|
+
- Grep
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# 🧪 Dino Tester
|
|
15
|
+
|
|
16
|
+
Specialized agent for test creation and execution.
|
|
17
|
+
|
|
18
|
+
## Capabilities
|
|
19
|
+
|
|
20
|
+
- **Test Writing**: Create unit and integration tests
|
|
21
|
+
- **Test Execution**: Run test suites
|
|
22
|
+
- **Coverage Analysis**: Identify untested code
|
|
23
|
+
- **Test Fixes**: Fix failing tests
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
Mention `@dino-tester` for:
|
|
28
|
+
- Writing new tests
|
|
29
|
+
- Fixing failing tests
|
|
30
|
+
- Improving coverage
|
|
31
|
+
- Test refactoring
|
|
32
|
+
|
|
33
|
+
## Test Types
|
|
34
|
+
|
|
35
|
+
Handles:
|
|
36
|
+
- Unit tests
|
|
37
|
+
- Integration tests
|
|
38
|
+
- E2E tests
|
|
39
|
+
- Snapshot tests
|
|
40
|
+
|
|
41
|
+
## Return Format (v6.3.0)
|
|
42
|
+
|
|
43
|
+
When completing work, return a **test summary** (~1,000 tokens max):
|
|
44
|
+
|
|
45
|
+
```markdown
|
|
46
|
+
## Test Results
|
|
47
|
+
**Status:** [Passing/Failing]
|
|
48
|
+
**Counts:** X passed, Y failed, Z skipped
|
|
49
|
+
|
|
50
|
+
## Tests Created/Modified
|
|
51
|
+
- `test/file.test.ts`: [What was added/changed]
|
|
52
|
+
|
|
53
|
+
## Coverage
|
|
54
|
+
[Coverage summary if available]
|
|
55
|
+
|
|
56
|
+
## Failures (if any)
|
|
57
|
+
- `test/file.test.ts`: [Test name]: [Failure reason]
|
|
58
|
+
|
|
59
|
+
## Next Steps
|
|
60
|
+
- [Follow-up if needed]
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Focus on results, not test code. Be concise.
|
|
64
|
+
|
|
65
|
+
## Examples
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
@dino-tester write tests for the UserService
|
|
69
|
+
@dino-tester fix the failing authentication tests
|
|
70
|
+
@dino-tester improve coverage for the API routes
|
|
71
|
+
```
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# Archival Policy (dino v17.9.0)
|
|
2
|
+
|
|
3
|
+
Guidelines for managing .dino/ file retention and cleanup.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## File Retention
|
|
8
|
+
|
|
9
|
+
### Permanent Files
|
|
10
|
+
|
|
11
|
+
| File | Purpose | Never Delete |
|
|
12
|
+
|------|---------|--------------|
|
|
13
|
+
| `.dino/config.json` | Configuration | Yes |
|
|
14
|
+
| `.dino/file-hashes.json` | Customization tracking | Yes |
|
|
15
|
+
|
|
16
|
+
### Session Files
|
|
17
|
+
|
|
18
|
+
| File | Retention | Cleanup Trigger |
|
|
19
|
+
|------|-----------|-----------------|
|
|
20
|
+
| `session.md` | Current session | Manual reset or `/init --force` |
|
|
21
|
+
| `ralph-progress.md` | Active ralph loop | Ralph completion |
|
|
22
|
+
| `ralph-state.json` | Ralph execution state | Ralph completion |
|
|
23
|
+
| `team.md` | Active team analysis | Team completion → archive |
|
|
24
|
+
|
|
25
|
+
### Directory Retention
|
|
26
|
+
|
|
27
|
+
| Directory | Max Files | Max Age | Auto-Archive |
|
|
28
|
+
|-----------|-----------|---------|--------------|
|
|
29
|
+
| `.dino/handoff/` | 10 | 30 days | Yes |
|
|
30
|
+
| `.dino/plans/` | 20 | 60 days | Yes |
|
|
31
|
+
| `.dino/research/` | 50 | 90 days | No |
|
|
32
|
+
| `.dino/tasks/` | 100 | N/A | On completion |
|
|
33
|
+
| `.dino/checkpoints/` | 20 | 14 days | Yes |
|
|
34
|
+
| `.dino/roadmaps/` | 10 | N/A | On completion |
|
|
35
|
+
| `.dino/ralph-gate/` | 5 | 7 days | Yes |
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## session.md Guidelines
|
|
40
|
+
|
|
41
|
+
### Maximum Size
|
|
42
|
+
|
|
43
|
+
Target: < 500 lines (~15KB)
|
|
44
|
+
|
|
45
|
+
### Cleanup Triggers
|
|
46
|
+
|
|
47
|
+
| Section | Max Items | Overflow Action |
|
|
48
|
+
|---------|-----------|-----------------|
|
|
49
|
+
| Recent Changes | 10 | Drop oldest |
|
|
50
|
+
| Blockers | 10 | Archive resolved |
|
|
51
|
+
| Notes/Discovery | 5 | Move to `.dino/archive/` |
|
|
52
|
+
| Progress | 20 | Summarize older entries |
|
|
53
|
+
|
|
54
|
+
### Manual Cleanup
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Reset session (preserves config)
|
|
58
|
+
dino init --reset-session
|
|
59
|
+
|
|
60
|
+
# Full reset (use sparingly)
|
|
61
|
+
dino init --force
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Ralph Gate Artifacts
|
|
67
|
+
|
|
68
|
+
| Artifact | Retention | Cleanup |
|
|
69
|
+
|----------|-----------|---------|
|
|
70
|
+
| `research-report.md` | 7 days | Auto-delete |
|
|
71
|
+
| `audit-report.md` | 7 days | Auto-delete |
|
|
72
|
+
| `validated-prd.md` | Until completion | Move to archive |
|
|
73
|
+
| `status.md` | Until completion | Delete |
|
|
74
|
+
| `final-status.md` | 30 days | Archive |
|
|
75
|
+
|
|
76
|
+
### On Ralph Completion
|
|
77
|
+
|
|
78
|
+
1. Move `validated-prd.md` to `.dino/archive/ralph-{date}.md`
|
|
79
|
+
2. Delete temporary files (`status.md`, reports)
|
|
80
|
+
3. Clear `ralph-progress.md` and `ralph-state.json`
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Archive Structure
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
.dino/archive/
|
|
88
|
+
├── sessions/ # Archived session snapshots
|
|
89
|
+
│ └── session-2026-01-15.md
|
|
90
|
+
├── ralph/ # Completed ralph runs
|
|
91
|
+
│ └── ralph-2026-01-20.md
|
|
92
|
+
├── team/ # Completed team analyses
|
|
93
|
+
│ └── team-2026-02-05.md
|
|
94
|
+
├── roadmaps/ # Completed roadmaps
|
|
95
|
+
│ └── feature-x-complete.md
|
|
96
|
+
└── handoffs/ # Old handoff notes
|
|
97
|
+
└── handoff-2026-01-10.md
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
## Auto-Archive Triggers
|
|
103
|
+
|
|
104
|
+
| Trigger | Action |
|
|
105
|
+
|---------|--------|
|
|
106
|
+
| Session > 500 lines | Prompt to archive notes |
|
|
107
|
+
| Handoff > 30 days old | Move to archive |
|
|
108
|
+
| Roadmap 100% complete | Move to archive |
|
|
109
|
+
| Ralph loop complete | Archive PRD and reports |
|
|
110
|
+
| Team analysis complete | Archive team.md to `.dino/archive/team/` |
|
|
111
|
+
| Checkpoint > 14 days | Delete (git history exists) |
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## Manual Archive Commands
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
# Archive current session notes
|
|
119
|
+
dino archive --session
|
|
120
|
+
|
|
121
|
+
# Archive specific file
|
|
122
|
+
dino archive .dino/handoff/old-notes.md
|
|
123
|
+
|
|
124
|
+
# Clean up old files
|
|
125
|
+
dino cleanup --dry-run # Preview
|
|
126
|
+
dino cleanup # Execute
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## Exclusions
|
|
132
|
+
|
|
133
|
+
Never auto-delete:
|
|
134
|
+
- Files modified in last 24 hours
|
|
135
|
+
- Files referenced in active tasks
|
|
136
|
+
- Current session state
|
|
137
|
+
- User-customized configurations
|