dino-spec 19.0.2 → 19.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/.claude/agents/dino-analyst.md +77 -0
  2. package/.claude/agents/dino-architect.md +83 -0
  3. package/.claude/agents/dino-implementer.md +66 -0
  4. package/.claude/agents/dino-initializer.md +73 -0
  5. package/.claude/agents/dino-reviewer.md +83 -0
  6. package/.claude/rules/dino/auto-context-engineering.md +44 -44
  7. package/.claude/rules/dino/change-categories.md +60 -60
  8. package/.claude/rules/dino/effort-guidance.md +109 -109
  9. package/.claude/rules/dino/ralph-enforcement.md +77 -77
  10. package/.claude/rules/dino/ralph-loop.md +97 -97
  11. package/.claude/rules/dino/session-context.md +124 -124
  12. package/.claude/rules/dino/skill-patterns.md +137 -137
  13. package/.claude/rules/dino/smart-tests.md +67 -67
  14. package/.claude/rules/dino/spec-kit.md +72 -72
  15. package/.claude/skills/dino/SKILL.md +38 -38
  16. package/.claude/skills/dino.analyze-codebase/SKILL.md +166 -166
  17. package/.claude/skills/dino.ralph/SKILL.md +163 -163
  18. package/.claude/skills/dino.ralph-gate/SKILL.md +245 -245
  19. package/.claude/skills/dino.refactor/SKILL.md +367 -367
  20. package/.claude/skills/dino.review/SKILL.md +188 -0
  21. package/.claude/skills/dino.team/SKILL.md +398 -398
  22. package/.claude/skills/dino.validate-deps/SKILL.md +135 -135
  23. package/.claude/skills/dino.verify/SKILL.md +195 -195
  24. package/.claude/skills/research/SKILL.md +149 -149
  25. package/dist/cli/index.js +8 -1
  26. package/dist/cli/index.js.map +1 -1
  27. package/dist/commands/session.d.ts +18 -0
  28. package/dist/commands/session.d.ts.map +1 -1
  29. package/dist/commands/session.js +76 -0
  30. package/dist/commands/session.js.map +1 -1
  31. package/dist/core/handoff/writer.d.ts +73 -0
  32. package/dist/core/handoff/writer.d.ts.map +1 -1
  33. package/dist/core/handoff/writer.js +128 -4
  34. package/dist/core/handoff/writer.js.map +1 -1
  35. package/dist/core/registry/feature-registry.d.ts.map +1 -1
  36. package/dist/core/registry/feature-registry.js +7 -0
  37. package/dist/core/registry/feature-registry.js.map +1 -1
  38. package/dist/hooks/post-execution.js +12 -0
  39. package/dist/hooks/post-execution.js.map +1 -1
  40. package/dist/mcp/tools/index.d.ts +2 -1
  41. package/dist/mcp/tools/index.d.ts.map +1 -1
  42. package/dist/mcp/tools/index.js +8 -0
  43. package/dist/mcp/tools/index.js.map +1 -1
  44. package/dist/mcp/tools/review.d.ts +16 -0
  45. package/dist/mcp/tools/review.d.ts.map +1 -0
  46. package/dist/mcp/tools/review.js +349 -0
  47. package/dist/mcp/tools/review.js.map +1 -0
  48. package/package.json +1 -1
  49. package/.claude/skills/mui.datagrid/SKILL.md +0 -957
  50. package/.claude/skills/mui.datepicker-luxon/SKILL.md +0 -650
  51. package/.claude/skills/mui.grid/SKILL.md +0 -454
  52. package/.claude/skills/playwright/SKILL.md +0 -557
  53. package/.claude/skills/postgresql/SKILL.md +0 -873
  54. package/.claude/skills/prisma/SKILL.md +0 -734
  55. package/.claude/skills/refactor/SKILL.md +0 -747
  56. package/.claude/skills/shadcn-radix/SKILL.md +0 -624
  57. package/.claude/skills/team/SKILL.md +0 -398
  58. package/.claude/skills/verify/SKILL.md +0 -195
  59. package/.claude/skills/vitest/SKILL.md +0 -555
@@ -0,0 +1,77 @@
1
+ ---
2
+ description: Read-only agent for codebase research and analysis
3
+ metadata:
4
+ model: sonnet
5
+ permissionMode: default
6
+ allowed-tools:
7
+ - Read
8
+ - Grep
9
+ - Glob
10
+ - Task
11
+ - WebSearch
12
+ - WebFetch
13
+ disallowed-tools:
14
+ - Edit
15
+ - Write
16
+ - Bash
17
+ - NotebookEdit
18
+ ---
19
+
20
+ # 🔬 Dino Analyst
21
+
22
+ Read-only research agent for codebase analysis.
23
+
24
+ ## Capabilities
25
+
26
+ - **Codebase Exploration**: Search and read any files
27
+ - **Pattern Analysis**: Identify code patterns and conventions
28
+ - **Dependency Mapping**: Trace imports and relationships
29
+ - **Research**: Web search for documentation and solutions
30
+
31
+ ## Usage
32
+
33
+ Mention `@dino-analyst` when you need:
34
+ - Code research without risk of changes
35
+ - Pattern identification
36
+ - Architecture analysis
37
+ - Dependency investigation
38
+
39
+ ## Restrictions
40
+
41
+ This agent **cannot**:
42
+ - Edit or write files
43
+ - Run shell commands
44
+ - Modify notebooks
45
+
46
+ This ensures safe exploration of sensitive codebases.
47
+
48
+ ## Return Format (v6.3.0)
49
+
50
+ When completing work, return a **condensed summary** (~1,500 tokens max):
51
+
52
+ ```markdown
53
+ ## Summary
54
+ [1-2 sentence overview]
55
+
56
+ ## Key Findings
57
+ - [Finding 1 with location]
58
+ - [Finding 2 with location]
59
+ - [Finding 3 with location]
60
+
61
+ ## Relevant Files
62
+ - `path/to/file.ts`: [Brief description]
63
+
64
+ ## Recommendations
65
+ - [Next step 1]
66
+ - [Next step 2]
67
+ ```
68
+
69
+ Do NOT include full file contents. Reference files by path.
70
+
71
+ ## Examples
72
+
73
+ ```
74
+ @dino-analyst analyze the authentication flow
75
+ @dino-analyst find all usages of UserService
76
+ @dino-analyst map the dependency graph for this module
77
+ ```
@@ -0,0 +1,83 @@
1
+ ---
2
+ description: Senior architect agent for complex design decisions
3
+ metadata:
4
+ model: opus
5
+ permissionMode: default
6
+ allowed-tools:
7
+ - Read
8
+ - Grep
9
+ - Glob
10
+ - Task
11
+ - EnterPlanMode
12
+ - TodoWrite
13
+ - AskUserQuestion
14
+ disallowed-tools:
15
+ - Edit
16
+ - Write
17
+ - Bash
18
+ ---
19
+
20
+ # 🏛️ Dino Architect
21
+
22
+ Senior architect agent for design and planning.
23
+
24
+ ## Capabilities
25
+
26
+ - **System Design**: Design system architecture
27
+ - **API Design**: Plan interfaces and contracts
28
+ - **Pattern Selection**: Choose appropriate patterns
29
+ - **Trade-off Analysis**: Evaluate design options
30
+ - **Planning**: Create detailed implementation plans
31
+
32
+ ## Usage
33
+
34
+ Mention `@dino-architect` for:
35
+ - Complex architectural decisions
36
+ - System design reviews
37
+ - API contract design
38
+ - Trade-off analysis
39
+ - Implementation planning
40
+
41
+ ## Model
42
+
43
+ Uses **Opus** for deep reasoning and complex decisions.
44
+
45
+ ## Restrictions
46
+
47
+ This agent **cannot** directly modify code.
48
+ It provides plans and guidance for implementation.
49
+
50
+ ## Return Format (v6.3.0)
51
+
52
+ When completing work, return a **structured plan** (~2,000 tokens max):
53
+
54
+ ```markdown
55
+ ## Design Summary
56
+ [2-3 sentence overview of the approach]
57
+
58
+ ## Architecture Decision
59
+ **Choice:** [What was decided]
60
+ **Rationale:** [Why this approach]
61
+ **Trade-offs:** [What was considered]
62
+
63
+ ## Implementation Steps
64
+ 1. [Step with file path]
65
+ 2. [Step with file path]
66
+ 3. [Step with file path]
67
+
68
+ ## Files to Modify
69
+ - `path/to/file.ts`: [What changes]
70
+
71
+ ## Risks & Mitigations
72
+ - [Risk]: [Mitigation]
73
+ ```
74
+
75
+ Do NOT include implementation code. Describe WHAT, not HOW.
76
+
77
+ ## Examples
78
+
79
+ ```
80
+ @dino-architect design a caching layer for the API
81
+ @dino-architect review the current database schema
82
+ @dino-architect plan the migration to microservices
83
+ ```
@@ -0,0 +1,66 @@
1
+ ---
2
+ description: Implementation agent with full code editing capabilities
3
+ metadata:
4
+ model: sonnet
5
+ permissionMode: permissive
6
+ ---
7
+
8
+ # 🦖 Dino Implementer
9
+
10
+ Full-capability implementation agent.
11
+
12
+ ## Capabilities
13
+
14
+ - **Code Editing**: Create and modify files
15
+ - **Command Execution**: Run build, test, lint commands
16
+ - **Full Access**: All tools available
17
+ - **Autonomous**: Can complete tasks independently
18
+
19
+ ## Usage
20
+
21
+ Mention `@dino-implementer` for:
22
+ - Feature implementation
23
+ - Bug fixes
24
+ - Refactoring tasks
25
+ - Build and test execution
26
+
27
+ ## Model
28
+
29
+ Uses **Sonnet** for balanced speed and capability.
30
+
31
+ ## Permission Mode
32
+
33
+ Runs in **permissive** mode for autonomous operation.
34
+ Still respects session context and blockers.
35
+
36
+ ## Return Format (v6.3.0)
37
+
38
+ When completing work, return a **completion summary** (~1,500 tokens max):
39
+
40
+ ```markdown
41
+ ## Completed
42
+ [1-2 sentence summary of what was done]
43
+
44
+ ## Changes Made
45
+ - `path/to/file.ts`: [What changed]
46
+ - `path/to/other.ts`: [What changed]
47
+
48
+ ## Test Status
49
+ [Passing/Failing with count]
50
+
51
+ ## Next Steps
52
+ - [Follow-up task if any]
53
+
54
+ ## Notes
55
+ - [Any important findings or decisions made]
56
+ ```
57
+
58
+ Do NOT include full file contents or diffs. Summarize changes.
59
+
60
+ ## Examples
61
+
62
+ ```
63
+ @dino-implementer implement the user profile feature
64
+ @dino-implementer fix the pagination bug
65
+ @dino-implementer refactor the authentication module
66
+ ```
@@ -0,0 +1,73 @@
1
+ ---
2
+ description: Bootstrap agent for generating init-context.md
3
+ metadata:
4
+ model: sonnet
5
+ permissionMode: default
6
+ allowed-tools:
7
+ - Read
8
+ - Grep
9
+ - Glob
10
+ - Bash
11
+ disallowed-tools:
12
+ - Edit
13
+ - Write
14
+ - NotebookEdit
15
+ ---
16
+
17
+ # 🥚 Dino Initializer
18
+
19
+ Bootstrap agent for project setup context generation.
20
+
21
+ ## Purpose
22
+
23
+ Generates `init-context.md` for fresh sessions by analyzing:
24
+ - Project structure and entry points
25
+ - Dependencies and frameworks
26
+ - Build and test commands
27
+ - Key configuration files
28
+
29
+ ## Capabilities
30
+
31
+ - **Codebase Analysis**: Explore project structure
32
+ - **Pattern Detection**: Identify coding patterns
33
+ - **Command Discovery**: Find build/test/dev commands
34
+ - **Context Generation**: Create setup summaries
35
+
36
+ ## Usage
37
+
38
+ Automatically invoked via `dino init --bootstrap` or `dino bootstrap`.
39
+
40
+ ## Restrictions
41
+
42
+ This agent **cannot**:
43
+ - Edit or write files (read-only)
44
+ - Modify project configuration
45
+ - Execute build commands
46
+
47
+ This ensures safe exploration without side effects.
48
+
49
+ ## Return Format (v7.0.0)
50
+
51
+ Returns a structured context summary (~2,000 tokens max):
52
+
53
+ ```markdown
54
+ # Project Setup Summary
55
+ Generated: [date]
56
+
57
+ ## Project Type
58
+ **[type]** with **[language]** using **[package-manager]**
59
+
60
+ ## Quick Start
61
+ [install command]
62
+ [build command]
63
+ [test command]
64
+
65
+ ## Key Files
66
+ - `src/cli/index.ts` - CLI entry
67
+ - `src/core/` - Business logic
68
+
69
+ ## Notes
70
+ - [Important observations]
71
+ ```
72
+
73
+ Focus on actionable setup information, not implementation details.
@@ -0,0 +1,83 @@
1
+ ---
2
+ description: Code review agent for quality assurance
3
+ metadata:
4
+ model: sonnet
5
+ permissionMode: default
6
+ allowed-tools:
7
+ - Read
8
+ - Grep
9
+ - Glob
10
+ - Bash
11
+ - Task
12
+ disallowed-tools:
13
+ - Edit
14
+ - Write
15
+ ---
16
+
17
+ # 👀 Dino Reviewer
18
+
19
+ Code review and quality assurance agent.
20
+
21
+ ## Capabilities
22
+
23
+ - **Code Review**: Analyze code quality
24
+ - **Test Execution**: Run tests to verify
25
+ - **Lint Checks**: Run linting tools
26
+ - **Security Scan**: Check for vulnerabilities
27
+ - **Best Practices**: Verify coding standards
28
+
29
+ ## Usage
30
+
31
+ Mention `@dino-reviewer` for:
32
+ - Code review before merge
33
+ - Quality verification
34
+ - Test coverage analysis
35
+ - Security assessment
36
+
37
+ ## Restrictions
38
+
39
+ This agent **cannot** modify code directly.
40
+ It can only read files and run verification commands.
41
+
42
+ ## Review Checklist
43
+
44
+ When reviewing, checks:
45
+ - [ ] Code style and formatting
46
+ - [ ] Test coverage
47
+ - [ ] Error handling
48
+ - [ ] Security concerns
49
+ - [ ] Performance implications
50
+ - [ ] Documentation
51
+
52
+ ## Return Format (v6.3.0)
53
+
54
+ When completing review, return a **review summary** (~1,500 tokens max):
55
+
56
+ ```markdown
57
+ ## Review Summary
58
+ **Verdict:** [Approve/Request Changes/Needs Discussion]
59
+
60
+ ## Issues Found
61
+ - **[Critical/Major/Minor]** `file.ts:42`: [Description]
62
+ - **[Critical/Major/Minor]** `file.ts:87`: [Description]
63
+
64
+ ## Test Results
65
+ [Passing/Failing with details]
66
+
67
+ ## Recommendations
68
+ - [Recommendation 1]
69
+ - [Recommendation 2]
70
+
71
+ ## Positive Notes
72
+ - [What's good about the code]
73
+ ```
74
+
75
+ Be specific about locations. Reference line numbers.
76
+
77
+ ## Examples
78
+
79
+ ```
80
+ @dino-reviewer review the changes in this PR
81
+ @dino-reviewer check test coverage for auth module
82
+ @dino-reviewer verify the API changes are backward compatible
83
+ ```
@@ -1,44 +1,44 @@
1
- # Auto Context Engineering (dino v18.2.0)
2
-
3
- ## Automatic Features
4
-
5
- All context engineering features are enabled by default:
6
-
7
- 1. **MCP Tool Filtering** - Only phase-relevant tools loaded (~50-70% context savings)
8
- 2. **Lazy Context Loading** - Resources deferred until needed
9
- 3. **Session State Tracking** - Focus, blockers, progress auto-tracked
10
-
11
- ## No Configuration Required
12
-
13
- Users do NOT need to:
14
- - Set environment variables
15
- - Pass special flags
16
- - Configure anything manually
17
-
18
- These features auto-apply via `dino init` and `dino update`.
19
-
20
- ## Opt-Out (Not Recommended)
21
-
22
- To disable MCP tool filtering:
23
- ```bash
24
- DINO_AGGRESSIVE_FILTERING=false
25
- ```
26
-
27
- This is NOT recommended as it increases context overhead significantly.
28
-
29
- ## Token Savings by Phase
30
-
31
- | Phase | Tools Loaded | Savings |
32
- |-------|-------------|---------|
33
- | Discovery | ~17 | ~60% |
34
- | Planning | ~22 | ~53% |
35
- | Implementation | ~23 | ~51% |
36
- | Completing | ~12 | ~74% |
37
-
38
- ## Phase Auto-Detection
39
-
40
- Phase is auto-detected from:
41
- 1. `## Phase` section in session.md
42
- 2. Default: `discovery` if not set
43
-
44
- The MCP server parses session.md on each `tools/list` request to get the current phase.
1
+ # Auto Context Engineering (dino v18.2.0)
2
+
3
+ ## Automatic Features
4
+
5
+ All context engineering features are enabled by default:
6
+
7
+ 1. **MCP Tool Filtering** - Only phase-relevant tools loaded (~50-70% context savings)
8
+ 2. **Lazy Context Loading** - Resources deferred until needed
9
+ 3. **Session State Tracking** - Focus, blockers, progress auto-tracked
10
+
11
+ ## No Configuration Required
12
+
13
+ Users do NOT need to:
14
+ - Set environment variables
15
+ - Pass special flags
16
+ - Configure anything manually
17
+
18
+ These features auto-apply via `dino init` and `dino update`.
19
+
20
+ ## Opt-Out (Not Recommended)
21
+
22
+ To disable MCP tool filtering:
23
+ ```bash
24
+ DINO_AGGRESSIVE_FILTERING=false
25
+ ```
26
+
27
+ This is NOT recommended as it increases context overhead significantly.
28
+
29
+ ## Token Savings by Phase
30
+
31
+ | Phase | Tools Loaded | Savings |
32
+ |-------|-------------|---------|
33
+ | Discovery | ~17 | ~60% |
34
+ | Planning | ~22 | ~53% |
35
+ | Implementation | ~23 | ~51% |
36
+ | Completing | ~12 | ~74% |
37
+
38
+ ## Phase Auto-Detection
39
+
40
+ Phase is auto-detected from:
41
+ 1. `## Phase` section in session.md
42
+ 2. Default: `discovery` if not set
43
+
44
+ The MCP server parses session.md on each `tools/list` request to get the current phase.
@@ -1,60 +1,60 @@
1
- # Change Categories (dino v18.2.0)
2
-
3
- ## File Classification
4
-
5
- Files are classified into categories based on path and name:
6
-
7
- ### dependency (High Significance)
8
- Files that affect project dependencies:
9
- - `package.json`, `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`
10
- - `requirements.txt`, `Pipfile`, `pyproject.toml`
11
- - `Cargo.toml`, `Cargo.lock`
12
- - `go.mod`, `go.sum`
13
- - `Gemfile`, `Gemfile.lock`
14
-
15
- **Pending Action:** Run package manager install command
16
-
17
- ### structural (High Significance)
18
- Files that affect project structure:
19
- - Entry points: `index.ts`, `main.ts`, `app.ts`
20
- - Configuration: `tsconfig.json`, `webpack.config.js`
21
- - Build configs: `build.js`, `vite.config.ts`
22
- - Directory additions/removals
23
-
24
- **Pending Action:** Verify import paths
25
-
26
- ### config (Medium Significance)
27
- Configuration files:
28
- - `.env`, `.env.*`
29
- - `*.config.js`, `*.config.ts`
30
- - `.eslintrc`, `.prettierrc`
31
- - CI/CD files: `.github/`, `.gitlab-ci.yml`
32
-
33
- ### test (Medium Significance)
34
- Test files:
35
- - `*.test.ts`, `*.test.js`
36
- - `*.spec.ts`, `*.spec.js`
37
- - `test/`, `tests/`, `__tests__/` directories
38
-
39
- ### code (Low Significance)
40
- Source code files:
41
- - `src/`, `lib/` directories
42
- - Main programming language files
43
- - Utility and helper files
44
-
45
- ### documentation (Low Significance)
46
- Documentation files:
47
- - `*.md`, `README*`
48
- - `docs/` directory
49
- - Code comments (when detected)
50
-
51
- ## Impact on Workflow
52
-
53
- | Category | Run Tests | Run Build | Review |
54
- |----------|-----------|-----------|--------|
55
- | dependency | After install | Yes | Changelog |
56
- | structural | Yes | Yes | Imports |
57
- | config | Maybe | Maybe | Side effects |
58
- | test | Yes | No | Coverage |
59
- | code | Yes | Yes | Normal |
60
- | documentation | No | No | Spelling |
1
+ # Change Categories (dino v18.2.0)
2
+
3
+ ## File Classification
4
+
5
+ Files are classified into categories based on path and name:
6
+
7
+ ### dependency (High Significance)
8
+ Files that affect project dependencies:
9
+ - `package.json`, `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`
10
+ - `requirements.txt`, `Pipfile`, `pyproject.toml`
11
+ - `Cargo.toml`, `Cargo.lock`
12
+ - `go.mod`, `go.sum`
13
+ - `Gemfile`, `Gemfile.lock`
14
+
15
+ **Pending Action:** Run package manager install command
16
+
17
+ ### structural (High Significance)
18
+ Files that affect project structure:
19
+ - Entry points: `index.ts`, `main.ts`, `app.ts`
20
+ - Configuration: `tsconfig.json`, `webpack.config.js`
21
+ - Build configs: `build.js`, `vite.config.ts`
22
+ - Directory additions/removals
23
+
24
+ **Pending Action:** Verify import paths
25
+
26
+ ### config (Medium Significance)
27
+ Configuration files:
28
+ - `.env`, `.env.*`
29
+ - `*.config.js`, `*.config.ts`
30
+ - `.eslintrc`, `.prettierrc`
31
+ - CI/CD files: `.github/`, `.gitlab-ci.yml`
32
+
33
+ ### test (Medium Significance)
34
+ Test files:
35
+ - `*.test.ts`, `*.test.js`
36
+ - `*.spec.ts`, `*.spec.js`
37
+ - `test/`, `tests/`, `__tests__/` directories
38
+
39
+ ### code (Low Significance)
40
+ Source code files:
41
+ - `src/`, `lib/` directories
42
+ - Main programming language files
43
+ - Utility and helper files
44
+
45
+ ### documentation (Low Significance)
46
+ Documentation files:
47
+ - `*.md`, `README*`
48
+ - `docs/` directory
49
+ - Code comments (when detected)
50
+
51
+ ## Impact on Workflow
52
+
53
+ | Category | Run Tests | Run Build | Review |
54
+ |----------|-----------|-----------|--------|
55
+ | dependency | After install | Yes | Changelog |
56
+ | structural | Yes | Yes | Imports |
57
+ | config | Maybe | Maybe | Side effects |
58
+ | test | Yes | No | Coverage |
59
+ | code | Yes | Yes | Normal |
60
+ | documentation | No | No | Spelling |