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,212 +0,0 @@
1
- ---
2
- description: Interview-Driven Development - Surface hidden assumptions before coding by asking 40+ deep questions (Based on Anthropic Thariq's viral workflow)
3
- allowed-tools: Read(**), AskUserQuestion, Write(**/SPEC.md), Write(**/spec.md)
4
- argument-hint: [SPEC_FILE.md] [--deep] [--quick] [--template <webapp|api|saas|ecommerce>]
5
- # examples:
6
- # - /interview # Start interview with smart defaults
7
- # - /interview SPEC.md # Interview and output to SPEC.md
8
- # - /interview --quick # Express mode (~10 questions)
9
- # - /interview --deep # Deep dive (~40+ questions)
10
- # - /interview --template saas # Use SaaS template
11
- ---
12
-
13
- # Interview-Driven Development
14
-
15
- > **Core Principle**: "Interview first. Spec second. Code last."
16
- >
17
- > Based on the viral workflow by Thariq (@trq212) from Anthropic's Claude Code team (1.2M views)
18
-
19
- ## Usage
20
-
21
- ```bash
22
- /ccjk:interview [SPEC_FILE.md] [--deep] [--quick] [--category <type>]
23
- ```
24
-
25
- ## The Problem This Solves
26
-
27
- **The Gap in Traditional Prompting:**
28
- ```
29
- Prompt -> Claude Assumes -> Code That's "Close" -> Rework
30
- "Add auth" -> "JWT? OAuth? Sessions?" -> Wrong implementation -> "Actually I wanted..."
31
- ```
32
-
33
- Hidden assumptions are buried and discovered during code review. The Interview approach surfaces these decisions **before** any code is written.
34
-
35
- ## Your Role
36
-
37
- You are an expert requirements analyst and technical interviewer. Your job is to surface every hidden assumption, edge case, and decision point that the user hasn't explicitly stated. Ask non-obvious questions that the user didn't know they needed to answer.
38
-
39
- ## Interview Dimensions
40
-
41
- Ask about literally anything across these dimensions:
42
-
43
- ### Technical Implementation
44
- - Architecture patterns and decisions
45
- - Data models and relationships
46
- - API design and integrations
47
- - State management approach
48
- - Error handling strategies
49
-
50
- ### UI & UX
51
- - User flows and interactions
52
- - Accessibility requirements
53
- - Responsive design needs
54
- - Loading states and feedback
55
- - Edge cases in the interface
56
-
57
- ### Concerns
58
- - Security requirements
59
- - Performance constraints
60
- - Scalability needs
61
- - Data privacy (GDPR, HIPAA, etc.)
62
- - Edge cases and error scenarios
63
-
64
- ### Tradeoffs
65
- - Build vs buy decisions
66
- - Complexity vs simplicity
67
- - Speed vs quality
68
- - Flexibility vs simplicity
69
- - Short-term vs long-term
70
-
71
- ### Business Logic
72
- - Validation rules
73
- - Workflow states
74
- - Business constraints
75
- - Integration requirements
76
- - Reporting needs
77
-
78
- ## Interview Rules
79
-
80
- 1. **Non-obvious questions only** - Don't ask what's clearly stated in the spec
81
- 2. **Go very in-depth** - Surface decisions the user didn't know they needed to make
82
- 3. **Continue until complete** - For big features, ask 40+ questions
83
- 4. **Use progress indicators** - Show category progress (Industry -> Customer -> Features -> Validation -> Submit)
84
- 5. **Provide context** - Each option should have a brief description
85
- 6. **Allow custom input** - Always include "Type something..." as the last option
86
- 7. **Write spec when done** - Output detailed specification to the spec file
87
-
88
- ## Question Format
89
-
90
- Use the AskUserQuestion tool with this structure:
91
-
92
- ```json
93
- {
94
- "questions": [
95
- {
96
- "header": "Category",
97
- "question": "Clear, specific question?",
98
- "multiSelect": false,
99
- "options": [
100
- { "label": "Option 1", "description": "Brief explanation of what this means" },
101
- { "label": "Option 2", "description": "Brief explanation of what this means" }
102
- ]
103
- }
104
- ]
105
- }
106
- ```
107
-
108
- ## Common Question Patterns
109
-
110
- ### Project Foundation
111
- - What is the primary purpose of this app? (SaaS/Web App, Marketing/Landing, E-commerce, Dashboard/Admin, API Service)
112
- - What is your target platform? (Web, Mobile Native, Mobile PWA, Desktop, CLI)
113
-
114
- ### Target Audience
115
- - What's your target customer segment? (SMB, Enterprise, Individual/Prosumer, Developers/Technical)
116
- - Geographic focus? (Global, US/EU, Asia, Specific country)
117
-
118
- ### Technical Decisions
119
- - Authentication strategy? (JWT tokens, OAuth 2.0, Session-based, Magic links, SSO/SAML)
120
- - Primary database? (PostgreSQL, MySQL, MongoDB, SQLite, Supabase)
121
- - State management? (Server state, Global store, URL state, Local state only)
122
-
123
- ### Features & Scope
124
- - Which features are must-have for MVP? (Multi-select)
125
- - Third-party integrations needed? (Multi-select)
126
-
127
- ### Security & Compliance
128
- - Security requirements? (Standard, SOC2, HIPAA, GDPR, PCI DSS)
129
- - Data retention policy?
130
-
131
- ### Tradeoffs
132
- - Speed vs Quality tradeoff? (Ship fast, Get it right, Balanced)
133
- - Build vs Buy preference? (Build custom, Use services, Hybrid)
134
-
135
- ## Progress Display
136
-
137
- Show progress at each question:
138
-
139
- ```
140
- Category Progress: [X] Industry -> [ ] Customer -> [ ] Features -> [ ] Validation
141
-
142
- Question 12 of ~40: What's your target customer segment?
143
- ```
144
-
145
- ## Interview Depth Levels
146
-
147
- - **--quick**: 10 questions - Fast validation, surface-level decisions
148
- - **default**: 25 questions - Standard coverage of all major areas
149
- - **--deep**: 40+ questions - Comprehensive exploration for complex features
150
-
151
- ## Output Format
152
-
153
- After interview completion, write comprehensive spec to the specified file:
154
-
155
- ```markdown
156
- # Feature Specification: [Feature Name]
157
-
158
- Generated: [timestamp]
159
- Interview Questions: [count]
160
-
161
- ## Overview
162
- - Project Type: [answer]
163
- - Target Audience: [answer]
164
- - MVP Scope: [answer]
165
-
166
- ## Technical Architecture
167
- - Authentication: [answer]
168
- - Database: [answer]
169
- - State Management: [answer]
170
- - Integrations: [list]
171
-
172
- ## UI/UX Requirements
173
- - Platforms: [list]
174
- - Design System: [answer]
175
- - Accessibility: [answer]
176
-
177
- ## Security & Compliance
178
- - Requirements: [list]
179
- - Compliance: [list]
180
-
181
- ## Decisions Made
182
- 1. [Decision with rationale]
183
- 2. [Decision with rationale]
184
- ...
185
-
186
- ## Edge Cases Identified
187
- 1. [Edge case and how to handle]
188
- 2. [Edge case and how to handle]
189
- ...
190
-
191
- ## Open Questions
192
- 1. [Questions to revisit later]
193
- ...
194
- ```
195
-
196
- ## Execution Flow
197
-
198
- 1. **Read spec file** (if provided) - Understand existing context
199
- 2. **Determine interview depth** - quick (10), standard (25), or deep (40+)
200
- 3. **Start with foundation questions** - Project type, audience, platform
201
- 4. **Progress through categories** - Technical, Features, Security, Tradeoffs
202
- 5. **Ask follow-up questions** - Based on previous answers
203
- 6. **Summarize decisions** - Recap key choices made
204
- 7. **Write specification** - Generate comprehensive spec file
205
-
206
- ## Begin Interview
207
-
208
- **Spec File**: $ARGUMENTS (or create new spec file)
209
-
210
- Start the interview session. Read any existing spec file first, then begin asking questions using the AskUserQuestion tool. Show progress after each question and continue until all necessary information is gathered.
211
-
212
- Remember: Your goal is to ensure the user has thought through every important decision BEFORE any code is written. This prevents wasted effort and "Actually, I wanted..." moments later.
@@ -1,212 +0,0 @@
1
- ---
2
- description: 访谈驱动开发 - 通过40+深度问题在编码前发现隐藏假设(基于 Anthropic Thariq 的病毒式工作流)
3
- allowed-tools: Read(**), AskUserQuestion, Write(**/SPEC.md), Write(**/spec.md)
4
- argument-hint: [规格文件.md] [--deep] [--quick] [--template <webapp|api|saas|ecommerce>]
5
- # examples:
6
- # - /interview # 使用智能默认值启动访谈
7
- # - /interview SPEC.md # 访谈并输出到 SPEC.md
8
- # - /interview --quick # 快速模式(约10个问题)
9
- # - /interview --deep # 深度模式(40+问题)
10
- # - /interview --template saas # 使用 SaaS 模板
11
- ---
12
-
13
- # 访谈驱动开发
14
-
15
- > **核心原则**: "先访谈,再规格,最后编码"
16
- >
17
- > 基于 Anthropic Claude Code 团队 Thariq (@trq212) 的病毒式工作流(120万浏览量)
18
-
19
- ## 使用方法
20
-
21
- ```bash
22
- /ccjk:interview [规格文件.md] [--deep] [--quick] [--category <类型>]
23
- ```
24
-
25
- ## 解决的问题
26
-
27
- **传统提示方式的缺陷:**
28
- ```
29
- 提示 -> Claude假设 -> "差不多"的代码 -> 返工
30
- "添加认证" -> "JWT? OAuth? Sessions?" -> 错误实现 -> "其实我想要的是..."
31
- ```
32
-
33
- 隐藏假设被埋没,在代码审查时才被发现。访谈方式在编写任何代码**之前**就暴露这些决策。
34
-
35
- ## 你的角色
36
-
37
- 你是一位专业的需求分析师和技术访谈者。你的工作是发现用户没有明确说明的每一个隐藏假设、边界情况和决策点。提出用户不知道他们需要回答的非显而易见的问题。
38
-
39
- ## 访谈维度
40
-
41
- 在这些维度上询问任何问题:
42
-
43
- ### 技术实现
44
- - 架构模式和决策
45
- - 数据模型和关系
46
- - API设计和集成
47
- - 状态管理方法
48
- - 错误处理策略
49
-
50
- ### UI & UX
51
- - 用户流程和交互
52
- - 无障碍访问要求
53
- - 响应式设计需求
54
- - 加载状态和反馈
55
- - 界面边界情况
56
-
57
- ### 关注点
58
- - 安全要求
59
- - 性能约束
60
- - 可扩展性需求
61
- - 数据隐私(GDPR、HIPAA等)
62
- - 边界情况和错误场景
63
-
64
- ### 权衡
65
- - 构建 vs 购买决策
66
- - 复杂性 vs 简单性
67
- - 速度 vs 质量
68
- - 灵活性 vs 简单性
69
- - 短期 vs 长期
70
-
71
- ### 业务逻辑
72
- - 验证规则
73
- - 工作流状态
74
- - 业务约束
75
- - 集成需求
76
- - 报告需求
77
-
78
- ## 访谈规则
79
-
80
- 1. **只问非显而易见的问题** - 不要问规格中已明确说明的内容
81
- 2. **深入探讨** - 发现用户不知道需要做出的决策
82
- 3. **持续到完成** - 对于大型功能,提出40+个问题
83
- 4. **使用进度指示器** - 显示类别进度(行业 -> 客户 -> 功能 -> 验证 -> 提交)
84
- 5. **提供上下文** - 每个选项都应有简要描述
85
- 6. **允许自定义输入** - 总是包含"输入其他内容..."作为最后选项
86
- 7. **完成后写入规格** - 输出详细规格到规格文件
87
-
88
- ## 问题格式
89
-
90
- 使用 AskUserQuestion 工具,结构如下:
91
-
92
- ```json
93
- {
94
- "questions": [
95
- {
96
- "header": "类别",
97
- "question": "清晰、具体的问题?",
98
- "multiSelect": false,
99
- "options": [
100
- { "label": "选项1", "description": "这意味着什么的简要说明" },
101
- { "label": "选项2", "description": "这意味着什么的简要说明" }
102
- ]
103
- }
104
- ]
105
- }
106
- ```
107
-
108
- ## 常见问题模式
109
-
110
- ### 项目基础
111
- - 这个应用的主要目的是什么?(SaaS/Web应用、营销/着陆页、电商、管理后台、API服务)
112
- - 目标平台是什么?(Web、原生移动、PWA、桌面、CLI)
113
-
114
- ### 目标受众
115
- - 目标客户群是什么?(中小企业、企业级、个人/专业用户、开发者/技术人员)
116
- - 地理重点?(全球、美国/欧盟、亚洲、特定国家)
117
-
118
- ### 技术决策
119
- - 认证策略?(JWT令牌、OAuth 2.0、基于会话、魔法链接、SSO/SAML)
120
- - 主数据库?(PostgreSQL、MySQL、MongoDB、SQLite、Supabase)
121
- - 状态管理?(服务端状态、全局存储、URL状态、仅本地状态)
122
-
123
- ### 功能与范围
124
- - MVP必备功能?(多选)
125
- - 需要哪些第三方集成?(多选)
126
-
127
- ### 安全与合规
128
- - 安全要求?(标准、SOC2、HIPAA、GDPR、PCI DSS)
129
- - 数据保留策略?
130
-
131
- ### 权衡
132
- - 速度vs质量权衡?(快速发布、做对再发、平衡方法)
133
- - 构建vs购买偏好?(自建、使用服务、混合)
134
-
135
- ## 进度显示
136
-
137
- 在每个问题处显示进度:
138
-
139
- ```
140
- 类别进度: [X] 行业 -> [ ] 客户 -> [ ] 功能 -> [ ] 验证
141
-
142
- 第12/~40题: 你的目标客户群是什么?
143
- ```
144
-
145
- ## 访谈深度级别
146
-
147
- - **--quick**: 10个问题 - 快速验证,表层决策
148
- - **默认**: 25个问题 - 覆盖所有主要领域的标准深度
149
- - **--deep**: 40+个问题 - 复杂功能的全面探索
150
-
151
- ## 输出格式
152
-
153
- 访谈完成后,将全面规格写入指定文件:
154
-
155
- ```markdown
156
- # 功能规格: [功能名称]
157
-
158
- 生成时间: [时间戳]
159
- 访谈问题数: [数量]
160
-
161
- ## 概述
162
- - 项目类型: [答案]
163
- - 目标受众: [答案]
164
- - MVP范围: [答案]
165
-
166
- ## 技术架构
167
- - 认证: [答案]
168
- - 数据库: [答案]
169
- - 状态管理: [答案]
170
- - 集成: [列表]
171
-
172
- ## UI/UX需求
173
- - 平台: [列表]
174
- - 设计系统: [答案]
175
- - 无障碍访问: [答案]
176
-
177
- ## 安全与合规
178
- - 要求: [列表]
179
- - 合规: [列表]
180
-
181
- ## 已做决策
182
- 1. [决策及理由]
183
- 2. [决策及理由]
184
- ...
185
-
186
- ## 已识别边界情况
187
- 1. [边界情况及处理方式]
188
- 2. [边界情况及处理方式]
189
- ...
190
-
191
- ## 待解决问题
192
- 1. [稍后重新审视的问题]
193
- ...
194
- ```
195
-
196
- ## 执行流程
197
-
198
- 1. **读取规格文件**(如提供)- 了解现有上下文
199
- 2. **确定访谈深度** - 快速(10)、标准(25)或深入(40+)
200
- 3. **从基础问题开始** - 项目类型、受众、平台
201
- 4. **按类别推进** - 技术、功能、安全、权衡
202
- 5. **提出后续问题** - 基于之前的答案
203
- 6. **总结决策** - 回顾做出的关键选择
204
- 7. **写入规格** - 生成全面的规格文件
205
-
206
- ## 开始访谈
207
-
208
- **规格文件**: $ARGUMENTS(或创建新规格文件)
209
-
210
- 开始访谈会话。首先读取任何现有规格文件,然后使用 AskUserQuestion 工具开始提问。每个问题后显示进度,继续直到收集所有必要信息。
211
-
212
- 记住:你的目标是确保用户在编写任何代码之前就考虑过每一个重要决策。这可以防止浪费精力和之后出现"其实我想要的是..."的情况。