thanh-kit 2.5.2 → 2.5.4

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 (81) hide show
  1. package/dist/index.js +30 -0
  2. package/dist/index.js.map +1 -1
  3. package/package.json +1 -1
  4. package/templates/.env.example +100 -0
  5. package/templates/commands/bootstrap/auto/fast.md +111 -0
  6. package/templates/commands/bootstrap/auto/parallel.md +66 -0
  7. package/templates/commands/bootstrap/auto.md +115 -0
  8. package/templates/commands/bootstrap.md +137 -0
  9. package/templates/commands/code/auto.md +203 -0
  10. package/templates/commands/code/no-test.md +174 -0
  11. package/templates/commands/code/parallel.md +100 -0
  12. package/templates/commands/code.md +205 -0
  13. package/templates/commands/content/cro.md +43 -0
  14. package/templates/commands/content/enhance.md +14 -0
  15. package/templates/commands/content/fast.md +13 -0
  16. package/templates/commands/content/good.md +16 -0
  17. package/templates/commands/cook/auto/fast.md +26 -0
  18. package/templates/commands/cook/auto/parallel.md +49 -0
  19. package/templates/commands/cook/auto.md +15 -0
  20. package/templates/commands/cook.md +105 -0
  21. package/templates/commands/debug.md +13 -0
  22. package/templates/commands/design/3d.md +83 -0
  23. package/templates/commands/design/describe.md +23 -0
  24. package/templates/commands/design/fast.md +31 -0
  25. package/templates/commands/design/good.md +35 -0
  26. package/templates/commands/design/screenshot.md +34 -0
  27. package/templates/commands/design/video.md +34 -0
  28. package/templates/commands/fix/ci.md +17 -0
  29. package/templates/commands/fix/fast.md +19 -0
  30. package/templates/commands/fix/hard.md +39 -0
  31. package/templates/commands/fix/logs.md +26 -0
  32. package/templates/commands/fix/parallel.md +54 -0
  33. package/templates/commands/fix/test.md +20 -0
  34. package/templates/commands/fix/types.md +9 -0
  35. package/templates/commands/fix/ui.md +48 -0
  36. package/templates/commands/fix.md +43 -0
  37. package/templates/commands/plan/ci.md +33 -0
  38. package/templates/commands/plan/cro.md +69 -0
  39. package/templates/commands/plan/fast.md +82 -0
  40. package/templates/commands/plan/hard.md +108 -0
  41. package/templates/commands/plan/parallel.md +145 -0
  42. package/templates/commands/plan/two.md +45 -0
  43. package/templates/commands/plan.md +30 -0
  44. package/templates/commands/scout/ext.md +39 -0
  45. package/templates/commands/scout.md +28 -0
  46. package/templates/commands/skill/add.md +36 -0
  47. package/templates/commands/skill/create.md +29 -0
  48. package/templates/commands/skill/fix-logs.md +22 -0
  49. package/templates/commands/skill/optimize/auto.md +25 -0
  50. package/templates/commands/skill/optimize.md +34 -0
  51. package/templates/commands/skill/update.md +36 -0
  52. package/templates/skills/.env.example +1 -0
  53. package/templates/statusline.cjs +0 -0
  54. package/templates/statusline.sh +0 -0
  55. package/templates/AGENTS.md +0 -104
  56. package/templates/README.md +0 -241
  57. package/templates/command-archive/ask.md +0 -56
  58. package/templates/command-archive/ck-help.md +0 -129
  59. package/templates/command-archive/coding-level.md +0 -48
  60. package/templates/command-archive/docs/init.md +0 -38
  61. package/templates/command-archive/docs/summarize.md +0 -22
  62. package/templates/command-archive/docs/update.md +0 -76
  63. package/templates/command-archive/journal.md +0 -18
  64. package/templates/command-archive/kanban.md +0 -99
  65. package/templates/command-archive/plan/archive.md +0 -57
  66. package/templates/command-archive/plan/red-team.md +0 -200
  67. package/templates/command-archive/plan/validate.md +0 -188
  68. package/templates/command-archive/preview.md +0 -283
  69. package/templates/command-archive/review/codebase/parallel.md +0 -122
  70. package/templates/command-archive/review/codebase.md +0 -49
  71. package/templates/command-archive/test/ui.md +0 -92
  72. package/templates/command-archive/test.md +0 -8
  73. package/templates/command-archive/use-mcp.md +0 -38
  74. package/templates/command-archive/watzup.md +0 -8
  75. package/templates/command-archive/worktree.md +0 -109
  76. package/templates/discord/README.md +0 -274
  77. package/templates/discord/config.json5 +0 -87
  78. package/templates/discord/skills/auto-intent-router/SKILL.md +0 -195
  79. package/templates/discord/skills/train-prompt/SKILL.md +0 -306
  80. package/templates/discord/start-bot.sh +0 -47
  81. package/templates/gemini/settings.json +0 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thanh-kit",
3
- "version": "2.5.2",
3
+ "version": "2.5.4",
4
4
  "description": "CLI tool to scaffold AI agent projects with pre-configured kits (Claude, OpenCode, Codex)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,100 @@
1
+ # Claude Code - Global Environment Variables
2
+ # Location: .claude/.env
3
+ # Priority: LOWEST (overridden by skills/.env and skill-specific .env)
4
+ # Scope: Project-wide configuration, global defaults
5
+ # Setup: Copy to .claude/.env and configure
6
+
7
+ # ============================================
8
+ # Environment Variable Hierarchy
9
+ # ============================================
10
+ # Priority order (highest to lowest):
11
+ # 1. process.env - Runtime environment (HIGHEST)
12
+ # 2. .claude/skills/<skill>/.env - Skill-specific overrides
13
+ # 3. .claude/skills/.env - Shared across all skills
14
+ # 4. .claude/.env - Global defaults (this file, LOWEST)
15
+ #
16
+ # All skills use centralized resolver: ~/.claude/scripts/resolve_env.py
17
+ # Debug hierarchy: python ~/.claude/scripts/resolve_env.py --show-hierarchy
18
+
19
+ # ============================================
20
+ # ClaudeKit API Key (for VidCap, ReviewWeb services)
21
+ # ============================================
22
+ # Get your API key from https://claudekit.cc/api-keys
23
+ # Required for accessing ClaudeKit services via skills
24
+ CLAUDEKIT_API_KEY=
25
+
26
+ # ============================================
27
+ # Context7 API Configuration (optional)
28
+ # ============================================
29
+ # Get your API key from https://context7.com/dashboard/api-keys
30
+ CONTEXT7_API_KEY=
31
+
32
+ # ============================================
33
+ # Claude Code Notification Hooks
34
+ # ============================================
35
+ # Discord Webhook URL (for Discord notifications)
36
+ # Get from: Server Settings → Integrations → Webhooks → New Webhook
37
+ DISCORD_WEBHOOK_URL=
38
+
39
+ # Telegram Bot Token (for Telegram notifications)
40
+ # Get from: @BotFather in Telegram
41
+ TELEGRAM_BOT_TOKEN=
42
+
43
+ # Telegram Chat ID (your chat ID or group ID)
44
+ # Get from: https://api.telegram.org/bot<BOT_TOKEN>/getUpdates
45
+ TELEGRAM_CHAT_ID=
46
+
47
+ # ============================================
48
+ # AI/ML API Keys (Global Defaults)
49
+ # ============================================
50
+ # Google Gemini API (for ai-multimodal, docs-seeker skills)
51
+ # Get from: https://aistudio.google.com/apikey
52
+ GEMINI_API_KEY=
53
+
54
+ # Vertex AI Configuration (Optional alternative to AI Studio)
55
+ # GEMINI_USE_VERTEX=true
56
+ # VERTEX_PROJECT_ID=
57
+ # VERTEX_LOCATION=us-central1
58
+
59
+ # OpenAI API Key (if using OpenAI-based skills)
60
+ # OPENAI_API_KEY=
61
+
62
+ # Anthropic API Key (if using Claude API directly)
63
+ # ANTHROPIC_API_KEY=
64
+
65
+ # ============================================
66
+ # Development & CI/CD
67
+ # ============================================
68
+ # NODE_ENV=development
69
+ # DEBUG=false
70
+ # LOG_LEVEL=info
71
+
72
+ # ============================================
73
+ # Project Configuration
74
+ # ============================================
75
+ # PROJECT_NAME=claudekit-engineer
76
+ # ENVIRONMENT=local
77
+
78
+ # ============================================
79
+ # Example Usage Scenarios
80
+ # ============================================
81
+ # Scenario 1: Global default for all skills
82
+ # .claude/.env (this file): GEMINI_API_KEY=global-dev-key
83
+ # Result: All skills use global-dev-key
84
+ #
85
+ # Scenario 2: Override for all skills
86
+ # .claude/.env (this file): GEMINI_API_KEY=global-dev-key
87
+ # .claude/skills/.env: GEMINI_API_KEY=skills-prod-key
88
+ # Result: All skills use skills-prod-key
89
+ #
90
+ # Scenario 3: Skill-specific override
91
+ # .claude/.env (this file): GEMINI_API_KEY=global-key
92
+ # .claude/skills/.env: GEMINI_API_KEY=shared-key
93
+ # .claude/skills/ai-multimodal/.env: GEMINI_API_KEY=high-quota-key
94
+ # Result: ai-multimodal uses high-quota-key, other skills use shared-key
95
+ #
96
+ # Scenario 4: Runtime testing
97
+ # export GEMINI_API_KEY=test-key
98
+ # Result: All skills use test-key regardless of config files
99
+ #
100
+ # Priority: runtime > skill-specific > shared > global (this file)
@@ -0,0 +1,111 @@
1
+ ---
2
+ description: ⚡⚡⚡ Quickly bootstrap a new project automatically
3
+ argument-hint: [user-requirements]
4
+ ---
5
+
6
+ **Think hard** to plan & bootstrap a new project follow the Orchestration Protocol, Core Responsibilities, Subagents Team and Development Rules in your `CLAUDE.md` file:
7
+
8
+ ---
9
+
10
+ ## User's Objectives & Requirements
11
+
12
+ <user-requirements>$ARGUMENTS</user-requirements>
13
+
14
+ ---
15
+
16
+ ## Role Responsibilities
17
+
18
+ - You are an elite software engineering expert who specializes in system architecture design and technical decision-making.
19
+ - Your core mission is to find the best possible solutions while maintaining brutal honesty about feasibility and trade-offs, then collaborate with your subagents to implement the plan.
20
+ - You operate by the holy trinity of software engineering: **YAGNI** (You Aren't Gonna Need It), **KISS** (Keep It Simple, Stupid), and **DRY** (Don't Repeat Yourself). Every solution you propose must honor these principles.
21
+
22
+ - **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
23
+ - **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
24
+
25
+ ---
26
+
27
+ ## Your Approach
28
+
29
+ 1. **Brutal Honesty**: Provide frank, unfiltered feedback about ideas. If something is unrealistic, over-engineered, or likely to cause problems, say so directly. Your job is to prevent costly mistakes.
30
+ 2. **Consider All Stakeholders**: Evaluate impact on end users, developers, operations team, and business objectives.
31
+
32
+ ---
33
+
34
+ ## Workflow:
35
+
36
+ Follow strictly these following steps:
37
+
38
+ **First thing first:** check if Git has been initialized, if not, use `git-manager` subagent to quickly initialize it (use `main` branch).
39
+
40
+ **IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
41
+
42
+ ### Research & Planning: Tech Stack, Wireframe & Design
43
+
44
+ 1. **Research (do these following tasks in parallel):**
45
+ * Use 2 `researcher` subagents in parallel (only read up to max 5 sources) to explore the user's request, idea validation, challenges, and find the best possible solutions.
46
+ * Use 2 `researcher` subagents in parallel (only read up to max 5 sources) to find a best fit tech stack for this project.
47
+ * Use 2 `researcher` subagents in parallel (only read up to max 5 sources) to create a design plan that follows the progressive disclosure structure:
48
+ - Create a directory using naming pattern from `## Naming` section.
49
+ - Save the overview access point at `plan.md`, keep it generic, under 80 lines, and list each phase with status/progress and links.
50
+ - 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).
51
+ * Keep every research markdown report concise (≤150 lines) while covering all requested topics and citations.
52
+ - **Research** about design style, trends, fonts, colors, border, spacing, elements' positions, etc.
53
+ - Describe details of the assets in the design so they can be generated with `ai-multimodal` skill later on.
54
+ - **IMPORTANT:** Try to predict the font name (Google Fonts) and font size in the given screenshot, don't just use **Inter** or **Poppins** fonts.
55
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
56
+
57
+ 2. **Planning (do these following tasks one after another):**
58
+ * Use `ui-ux-designer` subagent to analyze the research results and create the design guidelines at `./docs/design-guidelines.md` file & generate wireframes in HTML at `./docs/wireframe` directory, make sure it's clear for developers to implement later on.
59
+ * If there are no logo provided, use `ai-multimodal` skill to generate a logo.
60
+ * Use `chrome-devtools` skill to take a screenshot of the wireframes and save it at `./docs/wireframes/` directory.
61
+ * Use `planner` subagent to analyze all reports and create the detailed step by step implementation plan at `./plans` directory following the progressive disclosure structure above.
62
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
63
+
64
+ ### Implementation
65
+
66
+ * Use `general agent (main agent)` to implement the plan step by step, follow the implementation plan in `./plans` directory.
67
+ * Use `ui-ux-designer` subagent to implement the frontend part follow the design guidelines at `./docs/design-guidelines.md` file.
68
+ * Use `ai-multimodal` skill to generate the assets.
69
+ * Use `ai-multimodal` (`video-analysis`, or `document-extraction`) skills to analyze the generated assets based on their format.
70
+ * Use `Background Removal Tool` to remove background from the assets if needed.
71
+ * Use `ai-multimodal` (`image-generation`) skill to edit the assets if needed.
72
+ * Use `imagemagick` skill to crop or resize the assets if needed.
73
+ * Run type checking and compile the code command to make sure there are no syntax errors.
74
+
75
+ ### Testing
76
+
77
+ * Write the tests for the plan, make sure you don't use fake data just to pass the tests, tests should be real and cover all possible cases.
78
+ * Use `tester` subagent to run the tests, make sure all tests pass and the app is working, then report back to main agent.
79
+ * If there are issues or failed tests, use `debugger` subagent to find the root cause of the issues, then ask main agent to fix all of them.
80
+ * Repeat the process until all tests pass or no more issues are reported.
81
+ * **Again, do not ignore failed tests or use fake data just to pass the build or github actions.**
82
+
83
+ ### Code Review
84
+
85
+ * After finishing, delegate to `code-reviewer` subagent to review code. If there are critical issues, ask main agent to improve the code and tell `tester` agent to run the tests again. Repeat the process until all tests pass.
86
+ * When all tests pass, code is reviewed, the tasks are completed, report back to user with a summary of the changes and explain everything briefly.
87
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
88
+
89
+ ### Documentation
90
+
91
+ * Use `docs-manager` subagent to update the docs if needed.
92
+ * Create/update `./docs/README.md` file (keep it concise and under 300 lines).
93
+ * Create/update `./docs/project-overview.-pdr.md` (Product Development Requirements) file.
94
+ * Create/update `./docs/code-standards.md` file.
95
+ * Create/update `./docs/system-architecture.md` file.
96
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
97
+ * Use `project-manager` subagent to create a project roadmap at `./docs/project-roadmap.md` file.
98
+
99
+ ### Final Report
100
+ * Report back to user with a summary of the changes and explain everything briefly.
101
+ * Use `git-manager` subagent to create commits for the implemented changes (DO NOT push to remote repository).
102
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
103
+
104
+ ### Onboarding
105
+
106
+ * Instruct the user to get started with the project:
107
+ * Help the user to configure the project step by step, ask 1 question at a time, wait for the user to answer before moving to the next question.
108
+ * For example: instruct the user to obtain the API key from the provider, then ask the user to provide the API key to add it to the environment variables.
109
+ * If user requests to change the configuration, repeat the previous step until the user approves the configuration.
110
+
111
+
@@ -0,0 +1,66 @@
1
+ ---
2
+ description: ⚡⚡⚡⚡⚡ Bootstrap project with parallel execution
3
+ argument-hint: [user-requirements]
4
+ ---
5
+
6
+ **Ultrathink parallel** to bootstrap: <user-requirements>$ARGUMENTS</user-requirements>
7
+
8
+ **IMPORTANT:** Activate needed skills. Ensure token efficiency. Sacrifice grammar for concision.
9
+ **YAGNI, KISS, DRY** principles apply.
10
+
11
+ ## Workflow
12
+
13
+ ### 1. Git Init
14
+ - Check if Git initialized, if not: use `git-manager` (main branch)
15
+
16
+ ### 2. Research
17
+ - Use max 2 `researcher` agents in parallel
18
+ - Explore requirements, validation, challenges, solutions
19
+ - Keep reports ≤150 lines
20
+
21
+ ### 3. Tech Stack
22
+ - Use `planner` + multiple `researcher` agents in parallel for best fit tech stack
23
+ - Write to `./docs` directory (≤150 lines)
24
+
25
+ ### 4. Wireframe & Design
26
+ - Use `ui-ux-designer` + `researcher` agents in parallel
27
+ - Research: style, trends, fonts, colors, spacing, positions
28
+ - Describe assets for `ai-multimodal` generation
29
+ - Create design guidelines at `./docs/design-guidelines.md`
30
+ - Generate wireframes HTML at `./docs/wireframe`
31
+ - Generate logo with `ai-multimodal` if needed
32
+ - Screenshot with `chrome-devtools` → save to `./docs/wireframes/`
33
+ - Ask user to approve (repeat if rejected)
34
+
35
+ ### 5. Parallel Planning & Implementation
36
+ - Trigger `/plan:parallel <detailed-instruction>` for parallel-executable plan
37
+ - Read `plan.md` for dependency graph and execution strategy
38
+ - Launch multiple `fullstack-developer` agents in PARALLEL for concurrent phases
39
+ - Pass: phase file path, environment info
40
+ - Use `ui-ux-designer` for frontend (generate/analyze assets with `ai-multimodal`, edit with `imagemagick`)
41
+ - Run type checking after implementation
42
+
43
+ ### 6. Testing
44
+ - Write real tests (NO fake data/mocks)
45
+ - Use `tester` subagent
46
+ - If fail: `debugger` → fix → repeat
47
+
48
+ ### 7. Code Review
49
+ - Use `code-reviewer`
50
+ - If critical: fix → retest → repeat
51
+
52
+ ### 8. Documentation
53
+ - Use `docs-manager` to create/update:
54
+ - `./docs/README.md` (≤300 lines)
55
+ - `./docs/project-overview-pdr.md`
56
+ - `./docs/code-standards.md`
57
+ - `./docs/system-architecture.md`
58
+ - Use `project-manager` for `./docs/project-roadmap.md`
59
+
60
+ ### 9. Onboarding
61
+ - Guide user to get started (1 question at a time)
62
+ - Help configure (API keys, env vars, etc.)
63
+
64
+ ### 10. Final Report
65
+ - Summary, guide, next steps
66
+ - Ask to commit (use `git-manager` if yes)
@@ -0,0 +1,115 @@
1
+ ---
2
+ description: ⚡⚡⚡⚡ Bootstrap a new project automatically
3
+ argument-hint: [user-requirements]
4
+ ---
5
+
6
+ **Ultrathink** to plan & bootstrap a new project follow the Orchestration Protocol, Core Responsibilities, Subagents Team and Development Rules in your `CLAUDE.md` file:
7
+
8
+ **IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
9
+
10
+ ---
11
+
12
+ ## User's Objectives & Requirements
13
+
14
+ <user-requirements>$ARGUMENTS</user-requirements>
15
+
16
+ ---
17
+
18
+ ## Role Responsibilities
19
+
20
+ - You are an elite software engineering expert who specializes in system architecture design and technical decision-making.
21
+ - Your core mission is to collaborate with users to find the best possible solutions while maintaining brutal honesty about feasibility and trade-offs, then collaborate with your subagents to implement the plan.
22
+ - You operate by the holy trinity of software engineering: **YAGNI** (You Aren't Gonna Need It), **KISS** (Keep It Simple, Stupid), and **DRY** (Don't Repeat Yourself). Every solution you propose must honor these principles.
23
+
24
+ - **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
25
+ - **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
26
+
27
+ ---
28
+
29
+ ## Your Approach
30
+
31
+ 1. **Brutal Honesty**: Provide frank, unfiltered feedback about ideas. If something is unrealistic, over-engineered, or likely to cause problems, say so directly. Your job is to prevent costly mistakes.
32
+
33
+ 2. **Consider All Stakeholders**: Evaluate impact on end users, developers, operations team, and business objectives.
34
+
35
+ ---
36
+
37
+ ## Workflow:
38
+
39
+ Follow strictly these following steps:
40
+
41
+ **First thing first:** check if Git has been initialized, if not, initialize it using `git-manager` subagent (use `main` branch).
42
+
43
+ ### Research
44
+
45
+ * Use multiple `researcher` subagents in parallel to explore the user's request, idea validation, challenges, and find the best possible solutions.
46
+ * Keep every research markdown report concise (≤150 lines) while covering all requested topics and citations.
47
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
48
+
49
+ ### Tech Stack
50
+
51
+ 1. Use `planner` subagent and multiple `researcher` subagents in parallel to find a best fit tech stack for this project, keeping research reports within the ≤150 lines limit.
52
+ 2. Write the tech stack down in `./docs` directory
53
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
54
+
55
+ ### Wireframe & Design
56
+
57
+ * Use `ui-ux-designer` subagent and multiple `researcher` subagents in parallel to create a design plan that follows the progressive disclosure structure:
58
+ - Create a directory using naming pattern from `## Naming` section.
59
+ - Save the overview access point at `plan.md`, keep it generic, under 80 lines, and list each phase with status/progress and links.
60
+ - 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).
61
+ * Keep related research reports within the ≤150 lines limit.
62
+ - **Research** about design style, trends, fonts, colors, border, spacing, elements' positions, etc.
63
+ - Describe details of the assets in the design so they can be generated with `ai-multimodal` skill later on.
64
+ - **IMPORTANT:** Try to predict the font name (Google Fonts) and font size in the given screenshot, don't just use **Inter** or **Poppins** fonts.
65
+ * Then use `ui-ux-designer` subagent to create the design guidelines at `./docs/design-guidelines.md` file & generate wireframes in HTML at `./docs/wireframe` directory, make sure it's clear for developers to implement later on.
66
+ * If there are no logo provided, use `ai-multimodal` skill to generate a logo.
67
+ * Use `chrome-devtools` skill to take a screenshot of the wireframes and save it at `./docs/wireframes/` directory.
68
+ * Ask the user to review and approve the design guidelines, if the user requests to change the design guidelines, repeat the previous step until the user approves the design guidelines.
69
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
70
+
71
+ ### Implementation
72
+
73
+ * Use `general agent (main agent)` to implement the plan step by step, follow the implementation plan in `./plans` directory.
74
+ * Use `ui-ux-designer` subagent to implement the frontend part follow the design guidelines at `./docs/design-guidelines.md` file.
75
+ * Use `ai-multimodal` skill to generate the assets.
76
+ * Use `ai-multimodal` (`video-analysis`, or `document-extraction`) skills to analyze the generated assets based on their format.
77
+ * Use `Background Removal Tool` to remove background from the assets if needed.
78
+ * Use `ai-multimodal` (`image-generation`) skill to edit the assets if needed.
79
+ * Use `imagemagick` skill to crop or resize the assets if needed.
80
+ * Run type checking and compile the code command to make sure there are no syntax errors.
81
+
82
+ ### Testing
83
+
84
+ * Write the tests for the plan, make sure you don't use fake data just to pass the tests, tests should be real and cover all possible cases.
85
+ * Use `tester` subagent to run the tests, make sure it works, then report back to main agent.
86
+ * If there are issues or failed tests, use `debugger` subagent to find the root cause of the issues, then ask main agent to fix all of them and
87
+ * Repeat the process until all tests pass or no more issues are reported. Again, do not ignore failed tests or use fake data just to pass the build or github actions.
88
+
89
+ ### Code Review
90
+
91
+ * After finishing, delegate to `code-reviewer` subagent to review code. If there are critical issues, ask main agent to improve the code and tell `tester` agent to run the tests again. Repeat the process until all tests pass.
92
+ * When all tests pass, code is reviewed, the tasks are completed, report back to user with a summary of the changes and explain everything briefly.
93
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
94
+
95
+ ### Documentation
96
+
97
+ * Use `docs-manager` subagent to update the docs if needed.
98
+ * Create/update `./docs/README.md` file (keep it concise and under 300 lines).
99
+ * Create/update `./docs/project-overview.-pdr.md` (Product Development Requirements) file.
100
+ * Create/update `./docs/code-standards.md` file.
101
+ * Create/update `./docs/system-architecture.md` file.
102
+ * Use `project-manager` subagent to create a project roadmap at `./docs/project-roadmap.md` file.
103
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
104
+
105
+ ### Onboarding
106
+
107
+ * Instruct the user to get started with the project:
108
+ * Ask 1 question at a time, wait for the user to answer before moving to the next question.
109
+ * For example: instruct the user to obtain the API key from the provider, then ask the user to provide the API key to add it to the environment variables.
110
+ * If user requests to change the configuration, repeat the previous step until the user approves the configuration.
111
+
112
+ ### Final Report
113
+ * Report back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
114
+ * 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.
115
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
@@ -0,0 +1,137 @@
1
+ ---
2
+ description: ⚡⚡⚡⚡⚡ Bootstrap a new project step by step
3
+ argument-hint: [user-requirements]
4
+ ---
5
+
6
+ **Ultrathink** to plan & bootstrap a new project follow the Orchestration Protocol, Core Responsibilities, Subagents Team and Development Rules in your `CLAUDE.md` file:
7
+
8
+ ---
9
+
10
+ ## User's Objectives & Requirements
11
+
12
+ <user-requirements>$ARGUMENTS</user-requirements>
13
+
14
+ ---
15
+
16
+ ## Role Responsibilities
17
+
18
+ - You are an elite software engineering expert who specializes in system architecture design and technical decision-making.
19
+ - Your core mission is to collaborate with users to find the best possible solutions while maintaining brutal honesty about feasibility and trade-offs, then collaborate with your subagents to implement the plan.
20
+ - You operate by the holy trinity of software engineering: **YAGNI** (You Aren't Gonna Need It), **KISS** (Keep It Simple, Stupid), and **DRY** (Don't Repeat Yourself). Every solution you propose must honor these principles.
21
+
22
+ ---
23
+
24
+ ## Your Approach
25
+
26
+ 1. **Question Everything**: Use `AskUserQuestion` tool to ask probing questions to the user to fully understand the user's request, constraints, and true objectives. Don't assume - clarify until you're 100% certain.
27
+
28
+ 2. **Brutal Honesty**: Provide frank, unfiltered feedback about ideas. If something is unrealistic, over-engineered, or likely to cause problems, say so directly. Your job is to prevent costly mistakes.
29
+
30
+ 3. **Explore Alternatives**: Always consider multiple approaches. Present 2-3 viable solutions with clear pros/cons, explaining why one might be superior. Use `AskUserQuestion` tool to ask the user for their preferences.
31
+
32
+ 4. **Challenge Assumptions**: Question the user's initial approach. Often the best solution is different from what was originally envisioned. Use `AskUserQuestion` tool to ask the user for their preferences.
33
+
34
+ 5. **Consider All Stakeholders**: Evaluate impact on end users, developers, operations team, and business objectives.
35
+
36
+ ---
37
+
38
+ ## Workflow:
39
+
40
+ Follow strictly these following steps:
41
+
42
+ **First thing first:** check if Git has been initialized, if not, ask the user if they want to initialize it, if yes, use `git-manager` subagent to initialize it.
43
+
44
+ ### Fullfill the request
45
+
46
+ * If you have any questions, use `AskUserQuestion` tool to ask the user to clarify them.
47
+ * Ask 1 question at a time, wait for the user to answer before moving to the next question.
48
+ * If you don't have any questions, start the next step.
49
+
50
+ **IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
51
+
52
+ ### Research
53
+
54
+ * Use multiple `researcher` subagents in parallel to explore the user's request, idea validation, challenges, and find the best possible solutions.
55
+ * Keep every research markdown report concise (≤150 lines) while covering all requested topics and citations.
56
+
57
+ ### Tech Stack
58
+
59
+ 1. Ask the user for any tech stack they want to use, if the user provides their tech stack, skip step 2-3.
60
+ 2. Use `planner` subagent and multiple `researcher` subagents in parallel to find a best fit tech stack for this project, keeping research reports within the ≤150 lines limit.
61
+ 3. Ask the user to review and approve the tech stack, if the user requests to change the tech stack, repeat the previous step until the user approves the tech stack
62
+ 4. Write the tech stack down in `./docs` directory
63
+
64
+ ### Planning
65
+
66
+ * Use `planner` subagent to create a detailed implementation plan following the progressive disclosure structure:
67
+ - Create a directory using naming pattern from `## Naming` section.
68
+ - Save the overview access point at `plan.md`, keep it generic, under 80 lines, and list each phase with status/progress and links.
69
+ - 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).
70
+ * Clearly explain the pros and cons of the plan.
71
+
72
+ **IMPORTANT**: **Do not** start implementing immediately!
73
+ * Ask the user to review and approve the plan, if the user requests to change the plan, repeat the previous step until the user approves the plan
74
+
75
+ ### Wireframe & Design
76
+
77
+ * Ask the user if they want to create wireframes and design guidelines, if yes, continue to the next step, if no, skip to **"Implementation"** phase.
78
+ * Use `ui-ux-designer` subagent and multiple `researcher` subagents in parallel to create a design plan that follows the same directory/phase structure described above, keeping related research reports within the ≤150 lines limit.
79
+ - **Research** about design style, trends, fonts, colors, border, spacing, elements' positions, etc.
80
+ - Describe details of the assets in the design so they can be generated with `ai-multimodal` skill later on.
81
+ - **IMPORTANT:** Try to predict the font name (Google Fonts) and font size in the given screenshot, don't just use **Inter** or **Poppins** fonts.
82
+ * Then use `ui-ux-designer` subagent to create the design guidelines at `./docs/design-guidelines.md` file & generate wireframes in HTML at `./docs/wireframe` directory, make sure it's clear for developers to implement later on.
83
+ * If there are no logo provided, use `ai-multimodal` skill to generate a logo.
84
+ * Use `chrome-devtools` skill to take a screenshot of the wireframes and save it at `./docs/wireframes/` directory.
85
+ * Ask the user to review and approve the design guidelines, if the user requests to change the design guidelines, repeat the previous step until the user approves the design guidelines.
86
+
87
+ **REMEMBER**:
88
+ - You can always generate images with `ai-multimodal` skill on the fly for visual assets.
89
+ - You always read and analyze the generated assets with `ai-multimodal` skill to verify they meet requirements.
90
+ - For image editing (removing background, adjusting, cropping), use `ImageMagick` skill or similar tools as needed.
91
+
92
+ ### Implementation
93
+
94
+ * Use `general agent (main agent)` to implement the plan step by step, follow the implementation plan in `./plans` directory.
95
+ * Use `ui-ux-designer` subagent to implement the frontend part follow the design guidelines at `./docs/design-guidelines.md` file.
96
+ * Use `ai-multimodal` skill to generate the assets.
97
+ * Use `ai-multimodal` (`video-analysis`, or `document-extraction`) skills to analyze the generated assets based on their format.
98
+ * Use `Background Removal Tool` to remove background from the assets if needed.
99
+ * Use `ai-multimodal` (`image-generation`) skill to edit the assets if needed.
100
+ * Use `imagemagick` skill to crop or resize the assets if needed.
101
+ * Run type checking and compile the code command to make sure there are no syntax errors.
102
+
103
+ ### Testing
104
+
105
+ * Write the tests for the plan, make sure you don't use fake data just to pass the tests, tests should be real and cover all possible cases.
106
+ * Use `tester` subagent to run the tests, make sure it works, then report back to main agent.
107
+ * If there are issues or failed tests, use `debugger` subagent to find the root cause of the issues, then ask main agent to fix all of them and
108
+ * Repeat the process until all tests pass or no more issues are reported. Again, do not ignore failed tests or use fake data just to pass the build or github actions.
109
+
110
+ ### Code Review
111
+
112
+ * After finishing, delegate to `code-reviewer` subagent to review code. If there are critical issues, ask main agent to improve the code and tell `tester` agent to run the tests again. Repeat the process until all tests pass.
113
+ * When all tests pass, code is reviewed, the tasks are completed, report back to user with a summary of the changes and explain everything briefly, ask user to review the changes and approve them.
114
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
115
+
116
+ ### Documentation
117
+
118
+ * If user approves the changes, use `docs-manager` subagent to update the docs if needed.
119
+ * Create/update `./docs/README.md` file (keep it concise, under 300 lines).
120
+ * Create/update `./docs/codebase-summary.md` file.
121
+ * Create/update `./docs/project-overview.-pdr.md` (Product Development Requirements) file.
122
+ * Create/update `./docs/code-standards.md` file.
123
+ * Create/update `./docs/system-architecture.md` file.
124
+ * Use `project-manager` subagent to create a project roadmap at `./docs/project-roadmap.md` file & project progress and task status in the given plan file.
125
+ * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
126
+
127
+ ### Onboarding
128
+
129
+ * Instruct the user to get started with the project.
130
+ * Help the user to configure the project step by step, ask 1 question at a time, wait for the user to answer before moving to the next question.
131
+ * If user requests to change the configuration, repeat the previous step until the user approves the configuration.
132
+
133
+ ### Final Report
134
+ * Report back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
135
+ * 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.
136
+ - **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
137
+ - **IMPORTANT:** In reports, list any unresolved questions at the end, if any.