thanh-kit 2.5.1 → 2.5.2
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/dist/index.js +20 -61
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/{commands → command-archive}/ask.md +5 -5
- package/templates/{commands → command-archive}/ck-help.md +18 -2
- package/templates/command-archive/docs/init.md +38 -0
- package/templates/command-archive/docs/summarize.md +22 -0
- package/templates/command-archive/docs/update.md +76 -0
- package/templates/command-archive/journal.md +18 -0
- package/templates/{commands → command-archive}/kanban.md +5 -7
- package/templates/{commands → command-archive}/plan/archive.md +2 -2
- package/templates/command-archive/plan/red-team.md +200 -0
- package/templates/command-archive/plan/validate.md +188 -0
- package/templates/command-archive/preview.md +283 -0
- package/templates/command-archive/review/codebase/parallel.md +122 -0
- package/templates/{commands → command-archive}/test/ui.md +3 -3
- package/templates/{commands → command-archive}/use-mcp.md +6 -2
- package/templates/command-archive/worktree.md +109 -0
- package/templates/{workflows → rules}/development-rules.md +12 -53
- package/templates/rules/orchestration-protocol.md +43 -0
- package/templates/{workflows → rules}/primary-workflow.md +16 -4
- package/templates/rules/team-coordination-rules.md +90 -0
- package/templates/schemas/ck-config.schema.json +381 -0
- package/templates/commands/README.md +0 -251
- package/templates/commands/bootstrap/auto/fast.md +0 -111
- package/templates/commands/bootstrap/auto/parallel.md +0 -66
- package/templates/commands/bootstrap/auto.md +0 -115
- package/templates/commands/bootstrap.md +0 -137
- package/templates/commands/brainstorm.md +0 -74
- package/templates/commands/build.md +0 -39
- package/templates/commands/checkpoint.md +0 -156
- package/templates/commands/code/auto.md +0 -170
- package/templates/commands/code/no-test.md +0 -158
- package/templates/commands/code/parallel.md +0 -55
- package/templates/commands/code-simplifier.md +0 -71
- package/templates/commands/code.md +0 -176
- package/templates/commands/compact.md +0 -57
- package/templates/commands/content/cro.md +0 -43
- package/templates/commands/content/enhance.md +0 -14
- package/templates/commands/content/fast.md +0 -13
- package/templates/commands/content/good.md +0 -16
- package/templates/commands/context.md +0 -48
- package/templates/commands/cook/auto/fast.md +0 -26
- package/templates/commands/cook/auto/parallel.md +0 -49
- package/templates/commands/cook/auto.md +0 -15
- package/templates/commands/cook/fast.md +0 -47
- package/templates/commands/cook/hard.md +0 -80
- package/templates/commands/cook/parallel.md +0 -90
- package/templates/commands/cook.md +0 -105
- package/templates/commands/create-feature.md +0 -48
- package/templates/commands/db-migrate.md +0 -52
- package/templates/commands/debug.md +0 -13
- package/templates/commands/design/3d.md +0 -83
- package/templates/commands/design/describe.md +0 -23
- package/templates/commands/design/fast.md +0 -31
- package/templates/commands/design/good.md +0 -35
- package/templates/commands/design/screenshot.md +0 -34
- package/templates/commands/design/video.md +0 -34
- package/templates/commands/docs/init.md +0 -39
- package/templates/commands/docs/summarize.md +0 -31
- package/templates/commands/docs/update.md +0 -57
- package/templates/commands/feature.md +0 -62
- package/templates/commands/fix/ci.md +0 -17
- package/templates/commands/fix/fast.md +0 -19
- package/templates/commands/fix/hard.md +0 -39
- package/templates/commands/fix/logs.md +0 -26
- package/templates/commands/fix/parallel.md +0 -54
- package/templates/commands/fix/test.md +0 -20
- package/templates/commands/fix/types.md +0 -9
- package/templates/commands/fix/ui.md +0 -48
- package/templates/commands/fix-issue.md +0 -177
- package/templates/commands/fix.md +0 -43
- package/templates/commands/generate-dto.md +0 -67
- package/templates/commands/git/cm.md +0 -5
- package/templates/commands/git/cp.md +0 -4
- package/templates/commands/git/merge.md +0 -40
- package/templates/commands/git/pr.md +0 -48
- package/templates/commands/integrate/polar.md +0 -28
- package/templates/commands/integrate/sepay.md +0 -28
- package/templates/commands/investigate.md +0 -324
- package/templates/commands/journal.md +0 -7
- package/templates/commands/lint.md +0 -47
- package/templates/commands/migration.md +0 -111
- package/templates/commands/performance.md +0 -110
- package/templates/commands/plan/ci.md +0 -33
- package/templates/commands/plan/cro.md +0 -69
- package/templates/commands/plan/fast.md +0 -86
- package/templates/commands/plan/hard.md +0 -103
- package/templates/commands/plan/parallel.md +0 -152
- package/templates/commands/plan/preview.md +0 -40
- package/templates/commands/plan/two.md +0 -52
- package/templates/commands/plan/validate.md +0 -132
- package/templates/commands/plan.md +0 -36
- package/templates/commands/pr.md +0 -49
- package/templates/commands/preview.md +0 -87
- package/templates/commands/release-notes.md +0 -144
- package/templates/commands/review/post-task.md +0 -157
- package/templates/commands/review-changes.md +0 -46
- package/templates/commands/review.md +0 -56
- package/templates/commands/scout/ext.md +0 -35
- package/templates/commands/scout.md +0 -283
- package/templates/commands/security.md +0 -119
- package/templates/commands/skill/add.md +0 -36
- package/templates/commands/skill/create.md +0 -29
- package/templates/commands/skill/fix-logs.md +0 -22
- package/templates/commands/skill/optimize/auto.md +0 -25
- package/templates/commands/skill/optimize.md +0 -34
- package/templates/commands/skill/plan.md +0 -45
- package/templates/commands/worktree.md +0 -126
- package/templates/memory/session-log.md +0 -186
- package/templates/router/README.md +0 -294
- package/templates/router/agents-guide.md +0 -38
- package/templates/router/commands-guide.md +0 -122
- package/templates/router/decision-flow.md +0 -92
- package/templates/router/skills-guide.md +0 -127
- package/templates/router/workflows-guide.md +0 -68
- package/templates/workflows/README.md +0 -241
- package/templates/workflows/orchestration-protocol.md +0 -16
- /package/templates/{commands → command-archive}/coding-level.md +0 -0
- /package/templates/{commands → command-archive}/review/codebase.md +0 -0
- /package/templates/{commands → command-archive}/test.md +0 -0
- /package/templates/{commands → command-archive}/watzup.md +0 -0
- /package/templates/{workflows → rules}/documentation-management.md +0 -0
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Create an immersive design
|
|
3
|
-
argument-hint: [tasks]
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Think hard to plan & start working on these tasks follow the Orchestration Protocol, Core Responsibilities, Subagents Team and Development Rules:
|
|
7
|
-
<tasks>$ARGUMENTS</tasks>
|
|
8
|
-
|
|
9
|
-
## Required Skills (Priority Order)
|
|
10
|
-
1. **`ui-ux-pro-max`** - Design intelligence database (ALWAYS ACTIVATE FIRST)
|
|
11
|
-
2. **`frontend-design`** - Screenshot analysis and design replication
|
|
12
|
-
|
|
13
|
-
**Ensure token efficiency while maintaining high quality.**
|
|
14
|
-
|
|
15
|
-
## Workflow:
|
|
16
|
-
1. **FIRST**: Run `ui-ux-pro-max` searches to gather design intelligence:
|
|
17
|
-
```bash
|
|
18
|
-
python3 $HOME/.claude/skills/ui-ux-pro-max/scripts/search.py "<product-type>" --domain product
|
|
19
|
-
python3 $HOME/.claude/skills/ui-ux-pro-max/scripts/search.py "<style-keywords>" --domain style
|
|
20
|
-
python3 $HOME/.claude/skills/ui-ux-pro-max/scripts/search.py "<mood>" --domain typography
|
|
21
|
-
python3 $HOME/.claude/skills/ui-ux-pro-max/scripts/search.py "<industry>" --domain color
|
|
22
|
-
```
|
|
23
|
-
2. Use `researcher` subagent to research about design style, trends, fonts, colors, border, spacing, elements' positions, etc.
|
|
24
|
-
3. Use `ui-ux-designer` subagent to implement the design step by step based on the research.
|
|
25
|
-
4. If user doesn't specify, create the design in pure HTML/CSS/JS.
|
|
26
|
-
5. Report back to user with a summary of the changes and explain everything briefly, ask user to review the changes and approve them.
|
|
27
|
-
6. If user approves the changes, update the `./docs/design-guidelines.md` docs if needed.
|
|
28
|
-
|
|
29
|
-
## Important Notes:
|
|
30
|
-
- **ALWAYS REMEBER that you have the skills of a top-tier UI/UX Designer who won a lot of awards on Dribbble, Behance, Awwwards, Mobbin, TheFWA.**
|
|
31
|
-
- Remember that you have the capability to generate images, videos, edit images, etc. with `ai-multimodal` skills for image generation. Use them to create the design with real assets.
|
|
32
|
-
- Always review, analyze and double check the generated assets with `ai-multimodal` skills to verify quality.
|
|
33
|
-
- Use removal background tools to remove background from generated assets if needed.
|
|
34
|
-
- Create storytelling designs, immersive 3D experiences, micro-interactions, and interactive interfaces.
|
|
35
|
-
- Maintain and update `./docs/design-guidelines.md` docs if needed.
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Create a design based on screenshot
|
|
3
|
-
argument-hint: [screenshot]
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Think hard to plan & start designing follow exactly this screenshot:
|
|
7
|
-
<screenshot>$ARGUMENTS</screenshot>
|
|
8
|
-
|
|
9
|
-
## Required Skills (Priority Order)
|
|
10
|
-
1. **`ui-ux-pro-max`** - Design intelligence database (ALWAYS ACTIVATE FIRST)
|
|
11
|
-
2. **`frontend-design`** - Screenshot analysis and replication
|
|
12
|
-
|
|
13
|
-
**Ensure token efficiency while maintaining high quality.**
|
|
14
|
-
|
|
15
|
-
## Workflow:
|
|
16
|
-
1. Use `ai-multimodal` skills to describe super details of the screenshot (design style, trends, fonts, colors, border, spacing, elements' positions, size, shape, texture, material, light, shadow, reflection, refraction, blur, glow, image, background transparency, transition, etc.)
|
|
17
|
-
- **IMPORTANT:** Try to predict the font name (Google Fonts) and font size in the given screenshot, don't just use Inter or Poppins.
|
|
18
|
-
2. Use `ui-ux-designer` subagent to create a design plan following the progressive disclosure structure so the final result matches the screenshot:
|
|
19
|
-
- Create a directory using naming pattern from `## Naming` section.
|
|
20
|
-
- Save the overview access point at `plan.md`, keep it generic, under 80 lines, and list each phase with status/progress and links.
|
|
21
|
-
- For each phase, add `phase-XX-phase-name.md` files containing sections (Context links, Overview with date/priority/statuses, Key Insights, Requirements, Architecture, Related code files, Implementation Steps, Todo list, Success Criteria, Risk Assessment, Security Considerations, Next steps).
|
|
22
|
-
- Keep every research markdown report concise (≤150 lines) while covering all requested topics and citations.
|
|
23
|
-
3. Then implement the plan step by step.
|
|
24
|
-
4. If user doesn't specify, create the design in pure HTML/CSS/JS.
|
|
25
|
-
5. Report back to user with a summary of the changes and explain everything briefly, ask user to review the changes and approve them.
|
|
26
|
-
6. If user approves the changes, update the `./docs/design-guidelines.md` docs if needed.
|
|
27
|
-
|
|
28
|
-
## Important Notes:
|
|
29
|
-
- **ALWAYS REMEBER that you have the skills of a top-tier UI/UX Designer who won a lot of awards on Dribbble, Behance, Awwwards, Mobbin, TheFWA.**
|
|
30
|
-
- Remember that you have the capability to generate images, videos, edit images, etc. with ai-multimodal skill for image generation. Use them to create the design with real assets.
|
|
31
|
-
- Always review, analyze and double check the generated assets with ai-multimodal skill to verify quality.
|
|
32
|
-
- Use removal background tools to remove background from generated assets if needed.
|
|
33
|
-
- Create storytelling designs, immersive 3D experiences, micro-interactions, and interactive interfaces.
|
|
34
|
-
- Maintain and update `./docs/design-guidelines.md` docs if needed.
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Create a design based on video
|
|
3
|
-
argument-hint: [video]
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Think hard to plan & start designing follow exactly this video:
|
|
7
|
-
<video>$ARGUMENTS</video>
|
|
8
|
-
|
|
9
|
-
## Required Skills (Priority Order)
|
|
10
|
-
1. **`ui-ux-pro-max`** - Design intelligence database (ALWAYS ACTIVATE FIRST)
|
|
11
|
-
2. **`frontend-design`** - Video analysis and replication
|
|
12
|
-
|
|
13
|
-
**Ensure token efficiency while maintaining high quality.**
|
|
14
|
-
|
|
15
|
-
## Workflow:
|
|
16
|
-
1. Use `ai-multimodal` skills to describe super details of the video: be specific about describing every element, every interaction, every animation, every transition, every color, every font, every border, every spacing, every size, every shape, every texture, every material, every light, every shadow, every reflection, every refraction, every blur, every glow, every image, background transparency, etc.
|
|
17
|
-
- **IMPORTANT:** Try to predict the font name (Google Fonts) and font size in the given video, don't just use Inter or Poppins.
|
|
18
|
-
2. Use `ui-ux-designer` subagent to create a design plan following the progressive disclosure structure so the final result matches the video:
|
|
19
|
-
- Create a directory using naming pattern from `## Naming` section.
|
|
20
|
-
- Save the overview access point at `plan.md`, keep it generic, under 80 lines, and list each phase with status/progress and links.
|
|
21
|
-
- For each phase, add `phase-XX-phase-name.md` files containing sections (Context links, Overview with date/priority/statuses, Key Insights, Requirements, Architecture, Related code files, Implementation Steps, Todo list, Success Criteria, Risk Assessment, Security Considerations, Next steps).
|
|
22
|
-
- Keep every research markdown report concise (≤150 lines) while covering all requested topics and citations.
|
|
23
|
-
3. Then implement the plan step by step.
|
|
24
|
-
4. If user doesn't specify, create the design in pure HTML/CSS/JS.
|
|
25
|
-
5. Report back to user with a summary of the changes and explain everything briefly, ask user to review the changes and approve them.
|
|
26
|
-
6. If user approves the changes, update the `./docs/design-guidelines.md` docs if needed.
|
|
27
|
-
|
|
28
|
-
## Important Notes:
|
|
29
|
-
- **ALWAYS REMEBER that you have the skills of a top-tier UI/UX Designer who won a lot of awards on Dribbble, Behance, Awwwards, Mobbin, TheFWA.**
|
|
30
|
-
- Remember that you have the capability to generate images, videos, edit images, etc. with ai-multimodal skill for image generation. Use them to create the design with real assets.
|
|
31
|
-
- Always review, analyze and double check the generated assets with ai-multimodal skill to verify quality.
|
|
32
|
-
- Use removal background tools to remove background from generated assets if needed.
|
|
33
|
-
- Create storytelling designs, immersive 3D experiences, micro-interactions, and interactive interfaces.
|
|
34
|
-
- Maintain and update `./docs/design-guidelines.md` docs if needed.
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: ⚡⚡⚡⚡ Analyze the codebase and create initial documentation
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
## Phase 1: Parallel Codebase Scouting
|
|
6
|
-
|
|
7
|
-
**You (main agent) must spawn scouts** - subagents cannot spawn subagents.
|
|
8
|
-
|
|
9
|
-
1. Run `ls -la` to identify actual project directories
|
|
10
|
-
2. Spawn 2-4 `scout-external` (preferred, uses Gemini 2M context) or `scout` (fallback) via Task tool
|
|
11
|
-
3. Target directories **that actually exist** - adapt to project structure, don't hardcode paths
|
|
12
|
-
4. Merge scout results into context summary
|
|
13
|
-
|
|
14
|
-
## Phase 2: Documentation Creation (docs-manager Agent)
|
|
15
|
-
|
|
16
|
-
Pass the gathered file list to `docs-manager` agent to create initial documentation:
|
|
17
|
-
- `docs/project-overview-pdr.md`: Project overview and PDR (Product Development Requirements)
|
|
18
|
-
- `docs/codebase-summary.md`: Codebase summary
|
|
19
|
-
- `docs/code-standards.md`: Codebase structure and code standards
|
|
20
|
-
- `docs/system-architecture.md`: System architecture
|
|
21
|
-
- Update `README.md` with initial documentation (keep it under 300 lines)
|
|
22
|
-
|
|
23
|
-
Use `docs/` directory as the source of truth for documentation.
|
|
24
|
-
|
|
25
|
-
## [CRITICAL] Code Evidence Requirements
|
|
26
|
-
|
|
27
|
-
All documentation MUST follow evidence rules from `.claude/skills/feature-docs/SKILL.md` → `[CRITICAL] MANDATORY CODE EVIDENCE RULE`
|
|
28
|
-
|
|
29
|
-
### Quick Reference
|
|
30
|
-
- **Format**: `**Evidence**: {FilePath}:{LineNumber}`
|
|
31
|
-
- **Status**: ✅ Verified / ⚠️ Stale / ❌ Missing
|
|
32
|
-
- **Verification**: 3-pass verification required before completion
|
|
33
|
-
|
|
34
|
-
### Evidence Verification Table (Required)
|
|
35
|
-
| Entity/Component | Documented Lines | Actual Lines | Status |
|
|
36
|
-
|------------------|------------------|--------------|--------|
|
|
37
|
-
| `Entity.cs` | L6-15 | L6-15 | ✅ Verified |
|
|
38
|
-
|
|
39
|
-
**IMPORTANT**: **Do not** start implementing.
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: ⚡ Analyze the codebase and update documentation
|
|
3
|
-
argument-hint: [focused-topics] [should-scan-codebase]
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Use `docs-manager` agent to analyze the codebase based on `docs/codebase-summary.md` and respond with a summary report.
|
|
7
|
-
|
|
8
|
-
## Arguments:
|
|
9
|
-
$1: Focused topics (default: all)
|
|
10
|
-
$2: Should scan codebase (`Boolean`, default: `false`)
|
|
11
|
-
|
|
12
|
-
## Focused Topics:
|
|
13
|
-
<focused_topics>$1</focused_topics>
|
|
14
|
-
|
|
15
|
-
## Should Scan Codebase:
|
|
16
|
-
<should_scan_codebase>$2</should_scan_codebase>
|
|
17
|
-
|
|
18
|
-
## [CRITICAL] Code Evidence Requirements
|
|
19
|
-
|
|
20
|
-
All documentation summaries MUST follow evidence rules from `.claude/skills/feature-docs/SKILL.md` → `[CRITICAL] MANDATORY CODE EVIDENCE RULE`
|
|
21
|
-
|
|
22
|
-
### Quick Reference
|
|
23
|
-
- **Format**: `**Evidence**: {FilePath}:{LineNumber}`
|
|
24
|
-
- **Status**: ✅ Verified / ⚠️ Stale / ❌ Missing
|
|
25
|
-
- **Requirement**: Maintain evidence links when summarizing
|
|
26
|
-
|
|
27
|
-
## Important:
|
|
28
|
-
- Use `docs/` directory as the source of truth for documentation.
|
|
29
|
-
- Do not scan the entire codebase unless the user explicitly requests it.
|
|
30
|
-
|
|
31
|
-
**IMPORTANT**: **Do not** start implementing.
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: ⚡⚡⚡ Analyze the codebase and update documentation
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
## Phase 1: Parallel Codebase Scouting
|
|
6
|
-
|
|
7
|
-
**You (main agent) must spawn scouts** - subagents cannot spawn subagents.
|
|
8
|
-
|
|
9
|
-
1. Run `ls -la` to identify actual project directories
|
|
10
|
-
2. Spawn 2-4 `scout-external` (preferred, uses Gemini 2M context) or `scout` (fallback) via Task tool
|
|
11
|
-
3. Target directories **that actually exist** - adapt to project structure, don't hardcode paths
|
|
12
|
-
4. Merge scout results into context summary
|
|
13
|
-
|
|
14
|
-
## Phase 2: Documentation Update (docs-manager Agent)
|
|
15
|
-
|
|
16
|
-
Pass the gathered file list to `docs-manager` agent to update documentation:
|
|
17
|
-
- `README.md`: Update README (keep it under 300 lines)
|
|
18
|
-
- `docs/project-overview-pdr.md`: Update project overview and PDR (Product Development Requirements)
|
|
19
|
-
- `docs/codebase-summary.md`: Update codebase summary
|
|
20
|
-
- `docs/code-standards.md`: Update codebase structure and code standards
|
|
21
|
-
- `docs/system-architecture.md`: Update system architecture
|
|
22
|
-
- `docs/project-roadmap.md`: Update project roadmap
|
|
23
|
-
- `docs/deployment-guide.md` [optional]: Update deployment guide
|
|
24
|
-
- `docs/design-guidelines.md` [optional]: Update design guidelines
|
|
25
|
-
|
|
26
|
-
## Additional requests
|
|
27
|
-
<additional_requests>
|
|
28
|
-
$ARGUMENTS
|
|
29
|
-
</additional_requests>
|
|
30
|
-
|
|
31
|
-
## [CRITICAL] Code Evidence Requirements
|
|
32
|
-
|
|
33
|
-
All documentation MUST follow evidence rules from `.claude/skills/feature-docs/SKILL.md` → `[CRITICAL] MANDATORY CODE EVIDENCE RULE`
|
|
34
|
-
|
|
35
|
-
### Quick Reference
|
|
36
|
-
- **Format**: `**Evidence**: {FilePath}:{LineNumber}`
|
|
37
|
-
- **Status**: ✅ Verified / ⚠️ Stale / ❌ Missing
|
|
38
|
-
- **Verification**: 3-pass verification required before completion
|
|
39
|
-
|
|
40
|
-
### Stale Evidence Detection
|
|
41
|
-
|
|
42
|
-
When updating documentation:
|
|
43
|
-
1. **Read actual source files** at claimed line numbers
|
|
44
|
-
2. **Verify evidence matches** documented behavior
|
|
45
|
-
3. **Update stale references** - mark with ⚠️ if line numbers changed
|
|
46
|
-
4. **Refresh line numbers** after code changes
|
|
47
|
-
|
|
48
|
-
### Evidence Verification Table (Required)
|
|
49
|
-
| Entity/Component | Documented Lines | Actual Lines | Status |
|
|
50
|
-
|------------------|------------------|--------------|--------|
|
|
51
|
-
| `Entity.cs` | L6-15 | L6-15 | ✅ Verified |
|
|
52
|
-
| `Handler.cs` | L45-60 | L52-67 | ⚠️ Stale |
|
|
53
|
-
|
|
54
|
-
## Important
|
|
55
|
-
- Use `docs/` directory as the source of truth for documentation.
|
|
56
|
-
|
|
57
|
-
**IMPORTANT**: **Do not** start implementing.
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# Implement Feature: $ARGUMENTS
|
|
2
|
-
|
|
3
|
-
Implement a new feature following EasyPlatform development workflow.
|
|
4
|
-
|
|
5
|
-
## Phase 1: Understanding
|
|
6
|
-
|
|
7
|
-
1. **Parse feature requirements** from: $ARGUMENTS
|
|
8
|
-
2. **Identify affected services:**
|
|
9
|
-
- TextSnippet (Example)
|
|
10
|
-
- TextSnippet (Example)
|
|
11
|
-
- TextSnippet (Example)
|
|
12
|
-
- TextSnippet (Example)
|
|
13
|
-
|
|
14
|
-
3. **Search for similar implementations:**
|
|
15
|
-
- Find existing patterns in the codebase
|
|
16
|
-
- Identify reusable components
|
|
17
|
-
|
|
18
|
-
## Phase 2: Design
|
|
19
|
-
|
|
20
|
-
1. **Plan the implementation:**
|
|
21
|
-
- Backend: Domain entities, Commands/Queries, Event handlers
|
|
22
|
-
- Frontend: Components, Stores, API services
|
|
23
|
-
- Database: Migrations if needed
|
|
24
|
-
|
|
25
|
-
2. **Identify file locations:**
|
|
26
|
-
```
|
|
27
|
-
Backend:
|
|
28
|
-
- src/PlatformExampleApp/{Service}/{Service}.Domain/Entities/
|
|
29
|
-
- src/PlatformExampleApp/{Service}/{Service}.Application/UseCaseCommands/
|
|
30
|
-
- src/PlatformExampleApp/{Service}/{Service}.Application/UseCaseQueries/
|
|
31
|
-
- src/PlatformExampleApp/{Service}/{Service}.Application/UseCaseEvents/
|
|
32
|
-
|
|
33
|
-
Frontend (WebV2):
|
|
34
|
-
- src/PlatformExampleAppWeb/apps/{app}/src/app/features/
|
|
35
|
-
- src/PlatformExampleAppWeb/libs/apps-domains/src/{domain}/
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Phase 3: Create Implementation Plan
|
|
39
|
-
|
|
40
|
-
Present a detailed plan with:
|
|
41
|
-
- List of files to create/modify
|
|
42
|
-
- Order of implementation
|
|
43
|
-
- Dependencies between components
|
|
44
|
-
- Test strategy
|
|
45
|
-
|
|
46
|
-
## Phase 4: Wait for Approval
|
|
47
|
-
|
|
48
|
-
**CRITICAL:** Wait for explicit user approval before writing any code.
|
|
49
|
-
|
|
50
|
-
## Phase 5: Implementation
|
|
51
|
-
|
|
52
|
-
After approval:
|
|
53
|
-
1. Create entities/DTOs
|
|
54
|
-
2. Create Commands/Queries with handlers
|
|
55
|
-
3. Create event handlers for side effects
|
|
56
|
-
4. Create frontend components
|
|
57
|
-
5. Add tests
|
|
58
|
-
|
|
59
|
-
Use appropriate skills:
|
|
60
|
-
- `backend-cqrs-command` for commands
|
|
61
|
-
- `backend-cqrs-query` for queries
|
|
62
|
-
- `frontend-angular-component` for UI
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: ⚡ Analyze Github Actions logs and fix issues
|
|
3
|
-
argument-hint: [github-actions-url]
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Github Actions URL
|
|
7
|
-
<url>$ARGUMENTS</url>
|
|
8
|
-
|
|
9
|
-
## Workflow
|
|
10
|
-
1. Use `debugger` subagent to read the github actions logs with `gh` command, analyze and find the root cause of the issues and report back to main agent.
|
|
11
|
-
2. Start implementing the fix based the reports and solutions.
|
|
12
|
-
3. Use `tester` agent to test the fix and make sure it works, then report back to main agent.
|
|
13
|
-
4. If there are issues or failed tests, repeat from step 2.
|
|
14
|
-
5. After finishing, respond back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
|
|
15
|
-
|
|
16
|
-
## Notes
|
|
17
|
-
- If `gh` command is not available, instruct the user to install and authorize GitHub CLI first.
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: ⚡ Analyze and fix small issues [FAST]
|
|
3
|
-
argument-hint: [issues]
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Analyze the skills catalog and activate the skills that are needed for the task during the process.
|
|
7
|
-
|
|
8
|
-
## Mission
|
|
9
|
-
**Think hard** to analyze and fix these issues:
|
|
10
|
-
<issues>$ARGUMENTS</issues>
|
|
11
|
-
|
|
12
|
-
## Workflow
|
|
13
|
-
1. If the user provides a screenshots or videos, use `ai-multimodal` skill to describe as detailed as possible the issue, make sure developers can predict the root causes easily based on the description.
|
|
14
|
-
2. Use `debugger` subagent to find the root cause of the issues and report back to main agent.
|
|
15
|
-
3. Activate `debugging` skills and `problem-solving` skills to tackle the issues.
|
|
16
|
-
4. Start implementing the fix based the reports and solutions.
|
|
17
|
-
5. Use `tester` agent to test the fix and make sure it works, then report back to main agent.
|
|
18
|
-
6. If there are issues or failed tests, repeat from step 2.
|
|
19
|
-
7. After finishing, respond back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: ⚡⚡⚡ Use subagents to plan and fix hard issues
|
|
3
|
-
argument-hint: [issues]
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
**Ultrathink** to plan & start fixing these issues follow the Orchestration Protocol, Core Responsibilities, Subagents Team and Development Rules:
|
|
7
|
-
<issues>$ARGUMENTS</issues>
|
|
8
|
-
|
|
9
|
-
## Workflow:
|
|
10
|
-
|
|
11
|
-
If the user provides a screenshots or videos, use `ai-multimodal` skill to describe as detailed as possible the issue, make sure developers can predict the root causes easily based on the description.
|
|
12
|
-
|
|
13
|
-
### Fullfill the request
|
|
14
|
-
**Question Everything**: Use `AskUserQuestion` tool to ask probing questions to fully understand the user's request, constraints, and true objectives. Don't assume - clarify until you're 100% certain.
|
|
15
|
-
|
|
16
|
-
* If you have any questions, use `AskUserQuestion` tool to ask the user to clarify them.
|
|
17
|
-
* Ask 1 question at a time, wait for the user to answer before moving to the next question.
|
|
18
|
-
* If you don't have any questions, start the next step.
|
|
19
|
-
|
|
20
|
-
### Fix the issue
|
|
21
|
-
|
|
22
|
-
Use `sequential-thinking` skill to break complex problems into sequential thought steps.
|
|
23
|
-
Use `problem-solving` skills to tackle the issues.
|
|
24
|
-
Analyze the skills catalog and activate other skills that are needed for the task during the process.
|
|
25
|
-
|
|
26
|
-
1. Use `debugger` subagent to find the root cause of the issues and report back to main agent.
|
|
27
|
-
2. Use `researcher` subagent to research quickly about the root causes on the internet (if needed) and report back to main agent.
|
|
28
|
-
3. Use `planner` subagent to create an implementation plan based on the reports, then report back to main agent.
|
|
29
|
-
4. Then use `/code` SlashCommand to implement the plan step by step.
|
|
30
|
-
5. Final Report:
|
|
31
|
-
* Report back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
|
|
32
|
-
* Ask the user if they want to commit and push to git repository, if yes, use `git-manager` subagent to commit and push to git repository.
|
|
33
|
-
- **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
|
|
34
|
-
- **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
|
|
35
|
-
|
|
36
|
-
**REMEMBER**:
|
|
37
|
-
- You can always generate images with `ai-multimodal` skills on the fly for visual assets.
|
|
38
|
-
- You always read and analyze the generated assets with `ai-multimodal` skills to verify they meet requirements.
|
|
39
|
-
- For image editing (removing background, adjusting, cropping), use `ImageMagick` skill or similar tools as needed.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: ⚡ Analyze logs and fix issues
|
|
3
|
-
argument-hint: [issue]
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
**IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
|
|
7
|
-
|
|
8
|
-
## Mission
|
|
9
|
-
<issue>$ARGUMENTS</issue>
|
|
10
|
-
|
|
11
|
-
## Workflow
|
|
12
|
-
1. Check if `./logs.txt` exists:
|
|
13
|
-
- If missing, set up permanent log piping in project's script config (`package.json`, `Makefile`, `pyproject.toml`, etc.):
|
|
14
|
-
- **Bash/Unix**: append `2>&1 | tee logs.txt`
|
|
15
|
-
- **PowerShell**: append `*>&1 | Tee-Object logs.txt`
|
|
16
|
-
- Run the command to generate logs
|
|
17
|
-
2. Use `debugger` subagent to analyze `./logs.txt` and find root causes:
|
|
18
|
-
- Use `Grep` with `head_limit: 30` to read only last 30 lines (avoid loading entire file)
|
|
19
|
-
- If insufficient context, increase `head_limit` as needed
|
|
20
|
-
3. Use `scout` subagent to analyze the codebase and find the exact location of the issues, then report back to main agent.
|
|
21
|
-
4. Use `planner` subagent to create an implementation plan based on the reports, then report back to main agent.
|
|
22
|
-
5. Start implementing the fix based the reports and solutions.
|
|
23
|
-
6. Use `tester` agent to test the fix and make sure it works, then report back to main agent.
|
|
24
|
-
7. Use `code-reviewer` subagent to quickly review the code changes and make sure it meets requirements, then report back to main agent.
|
|
25
|
-
8. If there are issues or failed tests, repeat from step 3.
|
|
26
|
-
9. After finishing, respond back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: ⚡⚡ Analyze & fix issues with parallel fullstack-developer agents
|
|
3
|
-
argument-hint: [issues]
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
**Ultrathink parallel** to fix: <issues>$ARGUMENTS</issues>
|
|
7
|
-
|
|
8
|
-
**IMPORTANT:** Activate needed skills. Ensure token efficiency. Sacrifice grammar for concision.
|
|
9
|
-
|
|
10
|
-
## Workflow
|
|
11
|
-
|
|
12
|
-
### 1. Issue Analysis
|
|
13
|
-
- Use `debugger` subagent to analyze root causes
|
|
14
|
-
- Use `/scout:ext` to find related files
|
|
15
|
-
- Categorize issues by scope/area (frontend, backend, auth, payments, etc.)
|
|
16
|
-
- Identify dependencies between issues
|
|
17
|
-
|
|
18
|
-
### 2. Parallel Fix Planning
|
|
19
|
-
- Trigger `/plan:parallel <detailed-fix-instructions>` for parallel-executable fix plan
|
|
20
|
-
- Wait for plan with dependency graph, execution strategy, file ownership matrix
|
|
21
|
-
- Group independent fixes for parallel execution
|
|
22
|
-
- Sequential fixes for dependent issues
|
|
23
|
-
|
|
24
|
-
### 3. Parallel Fix Implementation
|
|
25
|
-
- Read `plan.md` for dependency graph
|
|
26
|
-
- Launch multiple `fullstack-developer` agents in PARALLEL for independent fixes
|
|
27
|
-
- Example: "Fix auth + Fix payments + Fix UI" → launch 3 agents simultaneously
|
|
28
|
-
- Pass phase file path: `{plan-dir}/phase-XX-*.md`
|
|
29
|
-
- Include environment info
|
|
30
|
-
- Wait for all parallel fixes complete before dependent fixes
|
|
31
|
-
- Sequential fixes: launch one agent at a time
|
|
32
|
-
|
|
33
|
-
### 4. Testing
|
|
34
|
-
- Use `tester` subagent for full test suite
|
|
35
|
-
- NO fake data/mocks/cheats
|
|
36
|
-
- Verify all issues resolved
|
|
37
|
-
- If fail: use `debugger`, fix, repeat
|
|
38
|
-
|
|
39
|
-
### 5. Code Review
|
|
40
|
-
- Use `code-reviewer` for all changes
|
|
41
|
-
- Verify fixes don't introduce regressions
|
|
42
|
-
- If critical issues: fix, retest
|
|
43
|
-
|
|
44
|
-
### 6. Project Management & Docs
|
|
45
|
-
- If approved: use `project-manager` + `docs-manager` in parallel
|
|
46
|
-
- Update plan files, docs, roadmap
|
|
47
|
-
- If rejected: fix and repeat
|
|
48
|
-
|
|
49
|
-
### 7. Final Report
|
|
50
|
-
- Summary of all fixes from parallel phases
|
|
51
|
-
- Verification status per issue
|
|
52
|
-
- Ask to commit (use `git-manager` if yes)
|
|
53
|
-
|
|
54
|
-
**Example:** Fix 1 (auth) + Fix 2 (payments) + Fix 3 (UI) → Launch 3 fullstack-developer agents → Wait → Fix 4 (integration) sequential
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: ⚡⚡ Run test suite and fix issues
|
|
3
|
-
argument-hint: [issues]
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Analyze the skills catalog and activate the skills that are needed for the task during the process.
|
|
7
|
-
|
|
8
|
-
## Reported Issues:
|
|
9
|
-
<issues>$ARGUMENTS</issues>
|
|
10
|
-
|
|
11
|
-
## Workflow:
|
|
12
|
-
1. Use `tester` subagent to compile the code and fix all syntax errors if any.
|
|
13
|
-
2. Use `tester` subagent to run the tests and report back to main agent.
|
|
14
|
-
3. If there are issues or failed tests, use `debugger` subagent to find the root cause of the issues, then report back to main agent.
|
|
15
|
-
4. Use `planner` subagent to create an implementation plan based on the reports, then report back to main agent.
|
|
16
|
-
5. Use main agent to implement the plan step by step.
|
|
17
|
-
6. Use `tester` agent to test the fix and make sure it works, then report back to main agent.
|
|
18
|
-
6. Use `code-reviewer` subagent to quickly review the code changes and make sure it meets requirements, then report back to main agent.
|
|
19
|
-
7. If there are issues or failed tests, repeat from step 2.
|
|
20
|
-
8. After finishing, respond back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: ⚡ Fix type errors
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Run `bun run typecheck` or `tsc` or `npx tsc` and fix all type errors.
|
|
6
|
-
|
|
7
|
-
## Rules
|
|
8
|
-
- Fix all of type errors and repeat the process until there are no more type errors.
|
|
9
|
-
- Do not use `any` just to pass the type check.
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: ⚡⚡ Analyze and fix UI issues
|
|
3
|
-
argument-hint: [issue]
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Required Skills (Priority Order)
|
|
7
|
-
1. **`ui-ux-pro-max`** - Design intelligence database (ALWAYS ACTIVATE FIRST)
|
|
8
|
-
2. **`aesthetic`** - Design principles
|
|
9
|
-
3. **`frontend-design`** - Implementation patterns
|
|
10
|
-
|
|
11
|
-
Use `ui-ux-designer` subagent to read and analyze `./docs/design-guidelines.md` then fix the following issues:
|
|
12
|
-
<issue>$ARGUMENTS</issue>
|
|
13
|
-
|
|
14
|
-
## Workflow
|
|
15
|
-
**FIRST**: Run `ui-ux-pro-max` searches to understand context and common issues:
|
|
16
|
-
```bash
|
|
17
|
-
python3 $HOME/.claude/skills/ui-ux-pro-max/scripts/search.py "<product-type>" --domain product
|
|
18
|
-
python3 $HOME/.claude/skills/ui-ux-pro-max/scripts/search.py "<style-keywords>" --domain style
|
|
19
|
-
python3 $HOME/.claude/skills/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux
|
|
20
|
-
python3 $HOME/.claude/skills/ui-ux-pro-max/scripts/search.py "z-index animation" --domain ux
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
If the user provides a screenshots or videos, use `ai-multimodal` skill to describe as detailed as possible the issue, make sure developers can predict the root causes easily based on the description.
|
|
24
|
-
|
|
25
|
-
1. Use `ui-ux-designer` subagent to implement the fix step by step.
|
|
26
|
-
2. Use screenshot capture tools along with `ai-multimodal` skill to take screenshots of the implemented fix (at the exact parent container, don't take screenshot of the whole page) and use the appropriate Gemini analysis skills (`ai-multimodal`, `video-analysis`, or `document-extraction`) to analyze those outputs so the result matches the design guideline and addresses all issues.
|
|
27
|
-
- If the issues are not addressed, repeat the process until all issues are addressed.
|
|
28
|
-
3. Use `chrome-devtools` skill to analyze the implemented fix and make sure it matches the design guideline.
|
|
29
|
-
4. Use `tester` agent to test the fix and compile the code to make sure it works, then report back to main agent.
|
|
30
|
-
- If there are issues or failed tests, ask main agent to fix all of them and repeat the process until all tests pass.
|
|
31
|
-
5. Project Management & Documentation:
|
|
32
|
-
**If user approves the changes:** Use `project-manager` and `docs-manager` subagents in parallel to update the project progress and documentation:
|
|
33
|
-
* Use `project-manager` subagent to update the project progress and task status in the given plan file.
|
|
34
|
-
* Use `docs-manager` subagent to update the docs in `./docs` directory if needed.
|
|
35
|
-
* Use `project-manager` subagent to create a project roadmap at `./docs/project-roadmap.md` file.
|
|
36
|
-
* **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
|
|
37
|
-
**If user rejects the changes:** Ask user to explain the issues and ask main agent to fix all of them and repeat the process.
|
|
38
|
-
6. Final Report:
|
|
39
|
-
* Report back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
|
|
40
|
-
* Ask the user if they want to commit and push to git repository, if yes, use `git-manager` subagent to commit and push to git repository.
|
|
41
|
-
* **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
|
|
42
|
-
* **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
|
|
43
|
-
|
|
44
|
-
**REMEMBER**:
|
|
45
|
-
- You can always generate images with `ai-multimodal` skill on the fly for visual assets.
|
|
46
|
-
- You always read and analyze the generated assets with `ai-multimodal` skill to verify they meet requirements.
|
|
47
|
-
- For image editing (removing background, adjusting, cropping), use `ImageMagick` skill or similar tools as needed.
|
|
48
|
-
- **IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
|