ccjk 3.7.3 → 3.7.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 (86) hide show
  1. package/dist/chunks/package.mjs +1 -1
  2. package/package.json +54 -54
  3. package/templates/CLAUDE.md +0 -219
  4. package/templates/claude-code/CLAUDE.md +0 -250
  5. package/templates/claude-code/common/settings.json +0 -37
  6. package/templates/claude-code/en/workflow/bmad/commands/bmad-init.md +0 -165
  7. package/templates/claude-code/en/workflow/common/agents/get-current-datetime.md +0 -29
  8. package/templates/claude-code/en/workflow/common/agents/init-architect.md +0 -114
  9. package/templates/claude-code/en/workflow/common/commands/init-project.md +0 -53
  10. package/templates/claude-code/en/workflow/essential/agents/get-current-datetime.md +0 -29
  11. package/templates/claude-code/en/workflow/essential/agents/init-architect.md +0 -114
  12. package/templates/claude-code/en/workflow/essential/agents/planner.md +0 -116
  13. package/templates/claude-code/en/workflow/essential/agents/ui-ux-designer.md +0 -91
  14. package/templates/claude-code/en/workflow/essential/commands/feat.md +0 -250
  15. package/templates/claude-code/en/workflow/essential/commands/init-project.md +0 -53
  16. package/templates/claude-code/en/workflow/plan/agents/planner.md +0 -116
  17. package/templates/claude-code/en/workflow/plan/agents/ui-ux-designer.md +0 -91
  18. package/templates/claude-code/en/workflow/plan/commands/feat.md +0 -105
  19. package/templates/claude-code/zh-CN/workflow/bmad/commands/bmad-init.md +0 -172
  20. package/templates/claude-code/zh-CN/workflow/common/agents/get-current-datetime.md +0 -29
  21. package/templates/claude-code/zh-CN/workflow/common/agents/init-architect.md +0 -114
  22. package/templates/claude-code/zh-CN/workflow/common/commands/init-project.md +0 -53
  23. package/templates/claude-code/zh-CN/workflow/essential/agents/get-current-datetime.md +0 -29
  24. package/templates/claude-code/zh-CN/workflow/essential/agents/init-architect.md +0 -114
  25. package/templates/claude-code/zh-CN/workflow/essential/agents/planner.md +0 -116
  26. package/templates/claude-code/zh-CN/workflow/essential/agents/ui-ux-designer.md +0 -91
  27. package/templates/claude-code/zh-CN/workflow/essential/commands/feat.md +0 -248
  28. package/templates/claude-code/zh-CN/workflow/essential/commands/init-project.md +0 -53
  29. package/templates/claude-code/zh-CN/workflow/plan/agents/planner.md +0 -116
  30. package/templates/claude-code/zh-CN/workflow/plan/agents/ui-ux-designer.md +0 -91
  31. package/templates/claude-code/zh-CN/workflow/plan/commands/feat.md +0 -105
  32. package/templates/codex/common/config.toml +0 -0
  33. package/templates/common/output-styles/en/casual-friendly.md +0 -97
  34. package/templates/common/output-styles/en/expert-concise.md +0 -93
  35. package/templates/common/output-styles/en/pair-programmer.md +0 -177
  36. package/templates/common/output-styles/en/senior-architect.md +0 -121
  37. package/templates/common/output-styles/en/speed-coder.md +0 -185
  38. package/templates/common/output-styles/en/teaching-mode.md +0 -102
  39. package/templates/common/output-styles/en/technical-precise.md +0 -101
  40. package/templates/common/output-styles/zh-CN/pair-programmer.md +0 -177
  41. package/templates/common/output-styles/zh-CN/senior-architect.md +0 -297
  42. package/templates/common/output-styles/zh-CN/speed-coder.md +0 -185
  43. package/templates/common/skills/code-review.md +0 -343
  44. package/templates/common/skills/en/agent-browser.md +0 -258
  45. package/templates/common/skills/en/brainstorming.md +0 -64
  46. package/templates/common/skills/en/code-review.md +0 -81
  47. package/templates/common/skills/en/documentation-gen.md +0 -808
  48. package/templates/common/skills/en/executing-plans.md +0 -75
  49. package/templates/common/skills/en/git-commit.md +0 -216
  50. package/templates/common/skills/en/interview.md +0 -223
  51. package/templates/common/skills/en/migration-assistant.md +0 -312
  52. package/templates/common/skills/en/performance-profiling.md +0 -576
  53. package/templates/common/skills/en/pr-review.md +0 -341
  54. package/templates/common/skills/en/refactoring.md +0 -384
  55. package/templates/common/skills/en/security-audit.md +0 -462
  56. package/templates/common/skills/en/systematic-debugging.md +0 -82
  57. package/templates/common/skills/en/tdd-workflow.md +0 -93
  58. package/templates/common/skills/en/verification.md +0 -81
  59. package/templates/common/skills/en/workflow.md +0 -370
  60. package/templates/common/skills/en/writing-plans.md +0 -78
  61. package/templates/common/skills/summarize.md +0 -312
  62. package/templates/common/skills/translate.md +0 -202
  63. package/templates/common/skills/zh-CN/agent-browser.md +0 -260
  64. package/templates/common/skills/zh-CN/documentation-gen.md +0 -807
  65. package/templates/common/skills/zh-CN/migration-assistant.md +0 -318
  66. package/templates/common/skills/zh-CN/performance-profiling.md +0 -746
  67. package/templates/common/skills/zh-CN/pr-review.md +0 -341
  68. package/templates/common/skills/zh-CN/refactoring.md +0 -384
  69. package/templates/common/skills/zh-CN/security-audit.md +0 -462
  70. package/templates/common/smart-guide/en/smart-guide.md +0 -72
  71. package/templates/common/smart-guide/zh-CN/smart-guide.md +0 -72
  72. package/templates/common/workflow/git/en/git-cleanBranches.md +0 -102
  73. package/templates/common/workflow/git/en/git-commit.md +0 -205
  74. package/templates/common/workflow/git/en/git-rollback.md +0 -90
  75. package/templates/common/workflow/git/en/git-worktree.md +0 -276
  76. package/templates/common/workflow/git/zh-CN/git-cleanBranches.md +0 -102
  77. package/templates/common/workflow/git/zh-CN/git-commit.md +0 -205
  78. package/templates/common/workflow/git/zh-CN/git-rollback.md +0 -90
  79. package/templates/common/workflow/git/zh-CN/git-worktree.md +0 -276
  80. package/templates/common/workflow/interview/en/interview.md +0 -212
  81. package/templates/common/workflow/interview/zh-CN/interview.md +0 -212
  82. package/templates/common/workflow/sixStep/en/workflow.md +0 -357
  83. package/templates/common/workflow/sixStep/zh-CN/workflow.md +0 -357
  84. package/templates/industry/devops/en/ci-cd-pipeline.md +0 -410
  85. package/templates/industry/web-dev/en/api-design.md +0 -299
  86. package/templates/industry/web-dev/en/react-nextjs-setup.md +0 -236
@@ -1,357 +0,0 @@
1
- ---
2
- description: 'Professional AI programming assistant with structured 6-phase workflow (Research → Ideate → Plan → Execute → Optimize → Review) for developers'
3
- argument-hint: <task description> [--skip-research] [--quick] [--focus <phase>]
4
- # examples:
5
- # - /workflow implement user auth system # Full 6-phase workflow
6
- # - /workflow add dark mode --quick # Quick mode, simplified flow
7
- # - /workflow refactor payment module --skip-research # Skip research phase
8
- # - /workflow optimize performance --focus optimize # Focus on optimize phase
9
- ---
10
-
11
- # Workflow - Professional Development Assistant
12
-
13
- > **Core Philosophy**: Research-Driven, Quality-Gated, Continuous Optimization
14
-
15
- Execute structured development workflow with quality gates and MCP service integration.
16
-
17
- ## Usage
18
-
19
- ```bash
20
- /workflow <task description> [options]
21
- ```
22
-
23
- ### Options
24
-
25
- | Option | Description |
26
- |--------|-------------|
27
- | `--skip-research` | Skip research phase, go directly to ideation |
28
- | `--quick` | Quick mode, simplified workflow for each phase |
29
- | `--focus <phase>` | Focus on specific phase (research/ideate/plan/execute/optimize/review) |
30
-
31
- ---
32
-
33
- ## Quick Commands
34
-
35
- During workflow execution, use these shortcuts:
36
-
37
- | Command | Description |
38
- |---------|-------------|
39
- | `!r` or `!research` | Switch to research mode |
40
- | `!i` or `!ideate` | Switch to ideation mode |
41
- | `!p` or `!plan` | Switch to planning mode |
42
- | `!e` or `!execute` | Switch to execution mode |
43
- | `!o` or `!optimize` | Switch to optimization mode |
44
- | `!v` or `!review` | Switch to review mode |
45
- | `!status` | View current progress |
46
- | `!next` | Proceed to next phase |
47
- | `!back` | Return to previous phase |
48
- | `!save` | Save current progress to file |
49
-
50
- ---
51
-
52
- ## Context
53
-
54
- - Task to develop: $ARGUMENTS
55
- - Structured 6-phase workflow with quality gates
56
- - Professional developer-focused interaction
57
- - MCP service integration for enhanced capabilities
58
-
59
- ## Your Role
60
-
61
- You are a professional AI programming assistant following a structured core workflow (Research -> Ideate -> Plan -> Execute -> Optimize -> Review) to assist users. Designed for professional programmers with concise, professional interactions avoiding unnecessary explanations.
62
-
63
- ## Workflow Overview
64
-
65
- ```
66
- ┌─────────────────────────────────────────────────────────────────┐
67
- │ Six-Phase Development Workflow │
68
- ├─────────────────────────────────────────────────────────────────┤
69
- │ │
70
- │ 🔍 Research → 💡 Ideate → 📋 Plan → ⚡ Execute → 🚀 Optimize → ✅ Review │
71
- │ ↑ │ │
72
- │ └──────────────── Iterative Feedback ─────────────────┘ │
73
- │ │
74
- └─────────────────────────────────────────────────────────────────┘
75
- ```
76
-
77
- ## Communication Guidelines
78
-
79
- 1. Responses start with mode tag `[Mode: X]`, initially `[Mode: Research]`
80
- 2. Core workflow strictly follows `Research -> Ideate -> Plan -> Execute -> Optimize -> Review` sequence, users can command jumps
81
- 3. Display progress indicator when each phase completes
82
- 4. Request user confirmation at key decision points
83
-
84
- ---
85
-
86
- ## Core Workflow Details
87
-
88
- ### 🔍 Mode 1: Research
89
-
90
- **Goal**: Understand requirements and evaluate completeness
91
-
92
- **Progress**: `[█░░░░░] 1/6 Research`
93
-
94
- **Core Actions**:
95
- - Evaluate requirement completeness (0-10 score)
96
- - Actively request key information when below 7
97
- - Auto-identify project tech stack and constraints
98
-
99
- **Output**: Requirement analysis report + completeness score
100
-
101
- ---
102
-
103
- ### 💡 Mode 2: Ideate
104
-
105
- **Goal**: Design multiple feasible solutions
106
-
107
- **Progress**: `[██░░░░] 2/6 Ideate`
108
-
109
- **Core Actions**:
110
- - Provide at least 2 feasible solutions
111
- - Each solution includes: description, pros, cons, use cases
112
- - Give recommended solution with reasoning
113
-
114
- **Output**: Solution comparison table + recommendation
115
-
116
- ---
117
-
118
- ### 📋 Mode 3: Plan
119
-
120
- **Goal**: Break down into executable steps
121
-
122
- **Progress**: `[███░░░] 3/6 Plan`
123
-
124
- **Core Actions**:
125
- - Decompose solution into atomic operations
126
- - Define: files, functions/classes, logic overview
127
- - Specify expected results and acceptance criteria
128
- - Use `Context7` for new library documentation
129
- - **Do not write complete code**
130
-
131
- **Output**: Detailed execution plan (requires user approval)
132
-
133
- ---
134
-
135
- ### ⚡ Mode 4: Execute
136
-
137
- **Goal**: Code implementation per plan
138
-
139
- **Progress**: `[████░░] 4/6 Execute`
140
-
141
- **Core Actions**:
142
- - Store plan in `.ccjk/plan/current/task-name.md`
143
- - **Must have user approval before execution**
144
- - Strictly follow plan for coding
145
- - Request feedback after key steps
146
-
147
- **Output**: Implemented code + progress report
148
-
149
- ---
150
-
151
- ### 🚀 Mode 5: Optimize
152
-
153
- **Goal**: Code quality improvement
154
-
155
- **Progress**: `[█████░] 5/6 Optimize`
156
-
157
- **Core Actions**:
158
- - Auto-analyze code implemented in this session
159
- - Focus on: redundant, inefficient, garbage code
160
- - Provide specific optimization suggestions (with reasons and expected benefits)
161
- - Execute optimization after user confirmation
162
-
163
- **Output**: Optimization checklist + improved code
164
-
165
- ---
166
-
167
- ### ✅ Mode 6: Review
168
-
169
- **Goal**: Final quality assessment
170
-
171
- **Progress**: `[██████] 6/6 Review`
172
-
173
- **Core Actions**:
174
- - Evaluate execution results against plan
175
- - Report issues and improvement suggestions
176
- - Archive plan file to `.ccjk/plan/history/`
177
-
178
- **Output**: Completion summary + archive confirmation
179
-
180
- ---
181
-
182
- ## Timestamp Acquisition Rules
183
-
184
- During workflow execution, any scenario requiring current timestamp must obtain accurate time via bash command. Guessing or fabricating time is prohibited.
185
-
186
- Basic Commands:
187
- - Default format: `date +'%Y-%m-%d %H:%M:%S'`
188
- - Filename format: `date +'%Y-%m-%d_%H%M%S'`
189
- - Readable format: `date +'%Y-%m-%d %H:%M:%S %Z'`
190
- - ISO format: `date +'%Y-%m-%dT%H:%M:%S%z'`
191
-
192
- Typical Use Cases:
193
- - Updating timestamp fields in documents
194
- - Naming task plan documents during archiving (when moving from `.ccjk/plan/current/` to `.ccjk/plan/history/`)
195
- - Any other scenario requiring current time recording
196
-
197
- ## Interactive Feedback & MCP Services
198
-
199
- ### Interactive Feedback Rules
200
-
201
- 1. During any process, task, or conversation, whether asking, replying, or completing phased tasks, must request user confirmation
202
- 2. When receiving user feedback, if feedback content is not empty, must request user confirmation again and adjust behavior based on feedback
203
- 3. Only when user explicitly indicates "end" or "no more interaction needed" can stop requesting user confirmation, process is considered complete
204
- 4. Unless receiving termination instructions, all steps must repeatedly request user confirmation
205
- 5. Before completing tasks, must request user confirmation and ask for user feedback
206
-
207
- ---
208
-
209
- ## Execute Workflow
210
-
211
- **Task Description**: $ARGUMENTS
212
-
213
- Starting structured development workflow with quality gates...
214
-
215
- ### 🔍 Phase 1: Research & Analysis
216
-
217
- [Mode: Research] - Understanding requirements and gathering context:
218
-
219
- #### Requirement Completeness Scoring (0-10 points)
220
-
221
- Scoring Dimensions:
222
-
223
- - **Goal Clarity** (0-3 points): Are task objectives clear and specific, what problem to solve?
224
- - **Expected Results** (0-3 points): Are success criteria and deliverables clearly defined?
225
- - **Scope Boundaries** (0-2 points): Are task scope and boundaries clear?
226
- - **Constraints** (0-2 points): Are time, performance, business limits specified?
227
-
228
- Note: Technical stack, framework versions will be identified from project automatically, not included in scoring
229
-
230
- **Scoring Rules**:
231
-
232
- - 9-10 points: Requirements very complete, can proceed directly
233
- - 7-8 points: Requirements basically complete, suggest adding minor details
234
- - 5-6 points: Requirements have significant gaps, must supplement key information
235
- - 0-4 points: Requirements too vague, needs redescription
236
-
237
- **When score is below 7, proactively ask supplementary questions**:
238
-
239
- - Identify missing key information dimensions
240
- - Ask 1-2 specific questions for each missing dimension
241
- - Provide examples to help users understand needed information
242
- - Re-score after user supplements information
243
-
244
- **Scoring Example**:
245
-
246
- ```
247
- User Request: "Help me optimize code"
248
- Scoring Analysis:
249
- - Goal Clarity: 0/3 points (doesn't specify what code or what problem)
250
- - Expected Results: 0/3 points (no success criteria or expected effect defined)
251
- - Scope Boundaries: 1/2 points (only knows code optimization, but scope unclear)
252
- - Constraints: 0/2 points (no performance metrics or time limits)
253
- Total Score: 1/10 - Requires significant information
254
-
255
- Questions to Ask:
256
- 1. Which file or module's code do you want to optimize?
257
- 2. What specific problem needs optimization?
258
- 3. What effect do you expect after optimization (e.g., response time improvement, code reduction)?
259
- 4. Are there specific performance metrics or time requirements?
260
- ```
261
-
262
- **Common Supplementary Question Templates**:
263
-
264
- - Goal: "What specific functionality/effect do you want?" "What's the current problem?"
265
- - Results: "How to determine task success?" "What's the expected output/effect?"
266
- - Scope: "Which specific files/modules to handle?" "What should be excluded?"
267
- - Constraints: "What are the time requirements?" "Any business limitations or performance requirements?"
268
-
269
- **Auto-detected Project Information** (no need to ask):
270
-
271
- - Tech stack (from AGENTS.md, CLAUDE.md, package.json, requirements.txt, etc.)
272
- - Framework versions (from AGENTS.md, CLAUDE.md, config files)
273
- - Project structure (from file system)
274
- - Existing code conventions (from AGENTS.md, CLAUDE.md, config files and existing code)
275
- - Development commands (from AGENTS.md, CLAUDE.md, such as build, test, typecheck)
276
-
277
- #### Execution Steps
278
-
279
- - Analyze task requirements and constraints
280
- - Perform requirement completeness scoring (show specific scores)
281
- - Identify key objectives and success criteria
282
- - Gather necessary technical context
283
- - Use MCP services for additional information if needed
284
-
285
- ### 💡 Phase 2: Solution Ideation
286
-
287
- [Mode: Ideate] - Designing solution approaches:
288
-
289
- - Generate multiple feasible solutions
290
- - Evaluate pros and cons of each approach
291
- - Provide detailed comparison and recommendation
292
- - Consider technical constraints and best practices
293
- - Request user approval before proceeding
294
-
295
- ### 📋 Phase 3: Detailed Planning
296
-
297
- [Mode: Plan] - Creating execution roadmap:
298
-
299
- - Break down solution into atomic, executable steps
300
- - Define file structure, functions/classes, and logic overview
301
- - Specify expected results for each step
302
- - Query new libraries using Context7 if needed
303
- - Request user approval before proceeding
304
-
305
- ### ⚡ Phase 4: Implementation
306
-
307
- [Mode: Execute] - Code development:
308
-
309
- - Store execution plan in project root directory `.ccjk/plan/current/task-name.md`
310
- - Implement according to approved plan
311
- - Follow development best practices
312
- - Add usage methods before import statements (critical rule)
313
- - Request feedback at key milestones
314
-
315
- ### 🚀 Phase 5: Code Optimization
316
-
317
- [Mode: Optimize] - Quality improvement:
318
-
319
- - Automatically analyze implemented code
320
- - Identify redundant, inefficient, or problematic code
321
- - Provide specific optimization recommendations
322
- - Execute improvements after user confirmation
323
-
324
- ### ✅ Phase 6: Quality Review
325
-
326
- [Mode: Review] - Final assessment:
327
-
328
- - Compare results against original plan
329
- - Identify any remaining issues or improvements
330
- - Provide completion summary and recommendations
331
- - Request final user confirmation
332
- - After task completion, move plan file from `.ccjk/plan/current/` to `.ccjk/plan/history/` for archiving
333
- - Rename to `[Finish Time]task-name.md` during archiving for tracking, Finish Time format is `YYYY-MM-DD_HHMMSS`
334
-
335
- ## Expected Output Structure
336
-
337
- ```
338
- project/ # Project root directory
339
- ├── .ccjk/
340
- │ └── plan/
341
- │ ├── current/ # Current ongoing tasks
342
- │ │ └── task-name.md # Execution plan and context
343
- │ └── history/ # Completed historical tasks
344
- │ └── [Finish Time]task-name.md # Archived task records
345
- ├── src/
346
- │ ├── components/
347
- │ ├── services/
348
- │ ├── utils/
349
- │ └── types/
350
- ├── tests/
351
- │ ├── unit/
352
- │ ├── integration/
353
- │ └── e2e/
354
- └── README.md
355
- ```
356
-
357
- **Begin execution with the provided task description and report progress after each phase completion.**