ccjk 3.7.3 → 3.8.0

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 (107) hide show
  1. package/README.md +103 -896
  2. package/dist/chunks/ccr.mjs +1 -0
  3. package/dist/chunks/doctor.mjs +58 -0
  4. package/dist/chunks/index.mjs +6 -0
  5. package/dist/chunks/package.mjs +1 -1
  6. package/dist/chunks/permissions.mjs +164 -342
  7. package/dist/chunks/thinking.mjs +615 -0
  8. package/dist/chunks/vim.mjs +891 -0
  9. package/dist/cli.mjs +49 -0
  10. package/dist/i18n/locales/en/configuration.json +97 -1
  11. package/dist/i18n/locales/en/lsp.json +78 -0
  12. package/dist/i18n/locales/en/mcp.json +11 -0
  13. package/dist/i18n/locales/en/permissions.json +53 -1
  14. package/dist/i18n/locales/en/thinking.json +65 -0
  15. package/dist/i18n/locales/en/vim.json +169 -0
  16. package/dist/i18n/locales/zh-CN/configuration.json +97 -1
  17. package/dist/i18n/locales/zh-CN/lsp.json +78 -0
  18. package/dist/i18n/locales/zh-CN/mcp.json +11 -0
  19. package/dist/i18n/locales/zh-CN/permissions.json +53 -1
  20. package/dist/i18n/locales/zh-CN/thinking.json +65 -0
  21. package/dist/i18n/locales/zh-CN/vim.json +169 -0
  22. package/dist/shared/ccjk.pi0nsyn3.mjs +1242 -0
  23. package/package.json +55 -55
  24. package/templates/claude-code/common/settings.json +63 -30
  25. package/templates/CLAUDE.md +0 -219
  26. package/templates/claude-code/CLAUDE.md +0 -250
  27. package/templates/claude-code/en/workflow/bmad/commands/bmad-init.md +0 -165
  28. package/templates/claude-code/en/workflow/common/agents/get-current-datetime.md +0 -29
  29. package/templates/claude-code/en/workflow/common/agents/init-architect.md +0 -114
  30. package/templates/claude-code/en/workflow/common/commands/init-project.md +0 -53
  31. package/templates/claude-code/en/workflow/essential/agents/get-current-datetime.md +0 -29
  32. package/templates/claude-code/en/workflow/essential/agents/init-architect.md +0 -114
  33. package/templates/claude-code/en/workflow/essential/agents/planner.md +0 -116
  34. package/templates/claude-code/en/workflow/essential/agents/ui-ux-designer.md +0 -91
  35. package/templates/claude-code/en/workflow/essential/commands/feat.md +0 -250
  36. package/templates/claude-code/en/workflow/essential/commands/init-project.md +0 -53
  37. package/templates/claude-code/en/workflow/plan/agents/planner.md +0 -116
  38. package/templates/claude-code/en/workflow/plan/agents/ui-ux-designer.md +0 -91
  39. package/templates/claude-code/en/workflow/plan/commands/feat.md +0 -105
  40. package/templates/claude-code/zh-CN/workflow/bmad/commands/bmad-init.md +0 -172
  41. package/templates/claude-code/zh-CN/workflow/common/agents/get-current-datetime.md +0 -29
  42. package/templates/claude-code/zh-CN/workflow/common/agents/init-architect.md +0 -114
  43. package/templates/claude-code/zh-CN/workflow/common/commands/init-project.md +0 -53
  44. package/templates/claude-code/zh-CN/workflow/essential/agents/get-current-datetime.md +0 -29
  45. package/templates/claude-code/zh-CN/workflow/essential/agents/init-architect.md +0 -114
  46. package/templates/claude-code/zh-CN/workflow/essential/agents/planner.md +0 -116
  47. package/templates/claude-code/zh-CN/workflow/essential/agents/ui-ux-designer.md +0 -91
  48. package/templates/claude-code/zh-CN/workflow/essential/commands/feat.md +0 -248
  49. package/templates/claude-code/zh-CN/workflow/essential/commands/init-project.md +0 -53
  50. package/templates/claude-code/zh-CN/workflow/plan/agents/planner.md +0 -116
  51. package/templates/claude-code/zh-CN/workflow/plan/agents/ui-ux-designer.md +0 -91
  52. package/templates/claude-code/zh-CN/workflow/plan/commands/feat.md +0 -105
  53. package/templates/codex/common/config.toml +0 -0
  54. package/templates/common/output-styles/en/casual-friendly.md +0 -97
  55. package/templates/common/output-styles/en/expert-concise.md +0 -93
  56. package/templates/common/output-styles/en/pair-programmer.md +0 -177
  57. package/templates/common/output-styles/en/senior-architect.md +0 -121
  58. package/templates/common/output-styles/en/speed-coder.md +0 -185
  59. package/templates/common/output-styles/en/teaching-mode.md +0 -102
  60. package/templates/common/output-styles/en/technical-precise.md +0 -101
  61. package/templates/common/output-styles/zh-CN/pair-programmer.md +0 -177
  62. package/templates/common/output-styles/zh-CN/senior-architect.md +0 -297
  63. package/templates/common/output-styles/zh-CN/speed-coder.md +0 -185
  64. package/templates/common/skills/code-review.md +0 -343
  65. package/templates/common/skills/en/agent-browser.md +0 -258
  66. package/templates/common/skills/en/brainstorming.md +0 -64
  67. package/templates/common/skills/en/code-review.md +0 -81
  68. package/templates/common/skills/en/documentation-gen.md +0 -808
  69. package/templates/common/skills/en/executing-plans.md +0 -75
  70. package/templates/common/skills/en/git-commit.md +0 -216
  71. package/templates/common/skills/en/interview.md +0 -223
  72. package/templates/common/skills/en/migration-assistant.md +0 -312
  73. package/templates/common/skills/en/performance-profiling.md +0 -576
  74. package/templates/common/skills/en/pr-review.md +0 -341
  75. package/templates/common/skills/en/refactoring.md +0 -384
  76. package/templates/common/skills/en/security-audit.md +0 -462
  77. package/templates/common/skills/en/systematic-debugging.md +0 -82
  78. package/templates/common/skills/en/tdd-workflow.md +0 -93
  79. package/templates/common/skills/en/verification.md +0 -81
  80. package/templates/common/skills/en/workflow.md +0 -370
  81. package/templates/common/skills/en/writing-plans.md +0 -78
  82. package/templates/common/skills/summarize.md +0 -312
  83. package/templates/common/skills/translate.md +0 -202
  84. package/templates/common/skills/zh-CN/agent-browser.md +0 -260
  85. package/templates/common/skills/zh-CN/documentation-gen.md +0 -807
  86. package/templates/common/skills/zh-CN/migration-assistant.md +0 -318
  87. package/templates/common/skills/zh-CN/performance-profiling.md +0 -746
  88. package/templates/common/skills/zh-CN/pr-review.md +0 -341
  89. package/templates/common/skills/zh-CN/refactoring.md +0 -384
  90. package/templates/common/skills/zh-CN/security-audit.md +0 -462
  91. package/templates/common/smart-guide/en/smart-guide.md +0 -72
  92. package/templates/common/smart-guide/zh-CN/smart-guide.md +0 -72
  93. package/templates/common/workflow/git/en/git-cleanBranches.md +0 -102
  94. package/templates/common/workflow/git/en/git-commit.md +0 -205
  95. package/templates/common/workflow/git/en/git-rollback.md +0 -90
  96. package/templates/common/workflow/git/en/git-worktree.md +0 -276
  97. package/templates/common/workflow/git/zh-CN/git-cleanBranches.md +0 -102
  98. package/templates/common/workflow/git/zh-CN/git-commit.md +0 -205
  99. package/templates/common/workflow/git/zh-CN/git-rollback.md +0 -90
  100. package/templates/common/workflow/git/zh-CN/git-worktree.md +0 -276
  101. package/templates/common/workflow/interview/en/interview.md +0 -212
  102. package/templates/common/workflow/interview/zh-CN/interview.md +0 -212
  103. package/templates/common/workflow/sixStep/en/workflow.md +0 -357
  104. package/templates/common/workflow/sixStep/zh-CN/workflow.md +0 -357
  105. package/templates/industry/devops/en/ci-cd-pipeline.md +0 -410
  106. package/templates/industry/web-dev/en/api-design.md +0 -299
  107. package/templates/industry/web-dev/en/react-nextjs-setup.md +0 -236
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "ccjk",
3
3
  "type": "module",
4
- "version": "3.7.3",
4
+ "version": "3.8.0",
5
5
  "packageManager": "pnpm@10.17.1",
6
- "description": "Ultimate AI Development Tool - Code Tool Abstraction Layer with 83% Token Savings",
6
+ "description": "Ultimate AI Development Tool - Code Tool Abstraction Layer with 83% Token Savings - Now with Cloud Sync, Hot-Reload Skills, Multi-Agent Orchestration, and Full Claude Code CLI 2.1+ Compatibility",
7
7
  "author": {
8
8
  "name": "CCJK Team",
9
9
  "email": "9248293@gmail.com"
@@ -91,60 +91,60 @@
91
91
  "format": "prettier --write src/**/*.ts"
92
92
  },
93
93
  "dependencies": {
94
- "@anthropic-ai/sdk": "catalog:",
95
- "@iarna/toml": "catalog:",
96
- "@types/semver": "catalog:",
97
- "@types/tar": "catalog:",
98
- "ansis": "catalog:",
99
- "cac": "catalog:",
100
- "chalk": "catalog:",
101
- "chokidar": "catalog:",
102
- "commander": "catalog:",
103
- "dayjs": "catalog:",
104
- "find-up-simple": "catalog:",
105
- "fs-extra": "catalog:",
106
- "gray-matter": "catalog:",
107
- "i18next": "catalog:",
108
- "i18next-fs-backend": "catalog:",
109
- "imap": "catalog:",
110
- "inquirer": "catalog:",
111
- "inquirer-toggle": "catalog:",
112
- "mailparser": "catalog:",
113
- "nanoid": "catalog:",
114
- "nodemailer": "catalog:",
115
- "ora": "catalog:",
116
- "pathe": "catalog:",
117
- "semver": "catalog:",
118
- "smol-toml": "catalog:",
119
- "tar": "catalog:",
120
- "tinyexec": "catalog:",
121
- "trash": "catalog:",
122
- "zod": "catalog:"
94
+ "@anthropic-ai/sdk": "^0.52.0",
95
+ "@iarna/toml": "^2.2.5",
96
+ "@types/semver": "^7.7.1",
97
+ "@types/tar": "^6.1.13",
98
+ "ansis": "^4.1.0",
99
+ "cac": "^6.7.14",
100
+ "chalk": "^5.6.2",
101
+ "chokidar": "^4.0.3",
102
+ "commander": "^14.0.2",
103
+ "dayjs": "^1.11.18",
104
+ "find-up-simple": "^1.0.1",
105
+ "fs-extra": "^11.3.2",
106
+ "gray-matter": "^4.0.3",
107
+ "i18next": "^25.5.2",
108
+ "i18next-fs-backend": "^2.6.0",
109
+ "imap": "^0.8.19",
110
+ "inquirer": "^12.9.6",
111
+ "inquirer-toggle": "^1.0.1",
112
+ "mailparser": "^3.9.1",
113
+ "nanoid": "^5.1.6",
114
+ "nodemailer": "^7.0.12",
115
+ "ora": "^9.0.0",
116
+ "pathe": "^2.0.3",
117
+ "semver": "^7.7.2",
118
+ "smol-toml": "^1.4.2",
119
+ "tar": "^7.5.2",
120
+ "tinyexec": "^1.0.1",
121
+ "trash": "^10.0.0",
122
+ "zod": "^3.22.4"
123
123
  },
124
124
  "devDependencies": {
125
- "@antfu/eslint-config": "catalog:",
126
- "@types/fs-extra": "catalog:",
127
- "@types/imap": "catalog:",
128
- "@types/inquirer": "catalog:",
129
- "@types/jest": "catalog:",
130
- "@types/mailparser": "catalog:",
131
- "@types/node": "catalog:conflicts_@types/node_h20_11_5",
132
- "@types/nodemailer": "catalog:",
133
- "@typescript-eslint/eslint-plugin": "catalog:",
134
- "@typescript-eslint/parser": "catalog:",
135
- "@vitest/coverage-v8": "catalog:",
136
- "@vitest/ui": "catalog:",
137
- "eslint": "catalog:",
138
- "eslint-plugin-format": "catalog:",
139
- "glob": "catalog:",
140
- "husky": "catalog:",
141
- "jest": "catalog:",
142
- "lint-staged": "catalog:",
143
- "prettier": "catalog:",
144
- "ts-jest": "catalog:",
145
- "tsx": "catalog:conflicts_tsx_h4_7_2",
146
- "typescript": "catalog:conflicts_typescript_h5_3_3",
147
- "unbuild": "catalog:",
148
- "vitest": "catalog:"
125
+ "@antfu/eslint-config": "^5.4.1",
126
+ "@types/fs-extra": "^11.0.4",
127
+ "@types/imap": "^0.8.43",
128
+ "@types/inquirer": "^9.0.9",
129
+ "@types/jest": "^29.5.0",
130
+ "@types/mailparser": "^3.4.6",
131
+ "@types/node": "^22.18.6",
132
+ "@types/nodemailer": "^7.0.5",
133
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
134
+ "@typescript-eslint/parser": "^6.0.0",
135
+ "@vitest/coverage-v8": "^3.2.4",
136
+ "@vitest/ui": "^3.2.4",
137
+ "eslint": "^9.36.0",
138
+ "eslint-plugin-format": "^1.0.2",
139
+ "glob": "^11.0.3",
140
+ "husky": "^9.1.7",
141
+ "jest": "^29.5.0",
142
+ "lint-staged": "^16.2.0",
143
+ "prettier": "^3.0.0",
144
+ "ts-jest": "^29.1.0",
145
+ "tsx": "^4.20.5",
146
+ "typescript": "^5.9.2",
147
+ "unbuild": "^3.6.1",
148
+ "vitest": "^3.2.4"
149
149
  }
150
150
  }
@@ -1,37 +1,70 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/claude-code-settings.json",
2
+ "$schema": "https://json.schemastore.org/claude-code-settings",
3
+ "description": "Default Claude Code settings.json template for CCJK v3.8 - Supports Claude Code CLI 2.0-2.1",
4
+
5
+ "model": "default",
6
+
3
7
  "env": {
4
- "DISABLE_TELEMETRY": "1",
5
- "DISABLE_ERROR_REPORTING": "1",
6
- "MCP_TIMEOUT": "15000"
8
+ "ANTHROPIC_MODEL": "",
9
+ "ANTHROPIC_DEFAULT_HAIKU_MODEL": "",
10
+ "ANTHROPIC_DEFAULT_SONNET_MODEL": "",
11
+ "ANTHROPIC_DEFAULT_OPUS_MODEL": ""
7
12
  },
8
- "includeCoAuthoredBy": false,
13
+
14
+ "language": "",
15
+
16
+ "plansDirectory": null,
17
+
18
+ "showTurnDuration": false,
19
+
20
+ "respectGitignore": true,
21
+
22
+ "auto": {
23
+ "mcp": 5
24
+ },
25
+
26
+ "agent": "",
27
+
28
+ "thinking": {
29
+ "enabled": false,
30
+ "budgetTokens": 10240
31
+ },
32
+
33
+ "fileSuggestion": {
34
+ "command": "git"
35
+ },
36
+
37
+ "allowUnsandboxedCommands": false,
38
+
39
+ "disallowedTools": [],
40
+
41
+ "attribution": "",
42
+
43
+ "index": {
44
+ "maxFiles": 10000,
45
+ "maxFileSize": 2097152
46
+ },
47
+
48
+ "allowBrowser": false,
49
+
9
50
  "permissions": {
10
51
  "allow": [
11
- "Bash",
12
- "BashOutput",
13
- "Edit",
14
- "Glob",
15
- "Grep",
16
- "KillShell",
17
- "NotebookEdit",
18
- "Read",
19
- "SlashCommand",
20
- "Task",
21
- "TodoWrite",
22
- "WebFetch",
23
- "WebSearch",
24
- "Write",
25
- "mcp__ide",
26
- "mcp__exa",
27
- "mcp__context7",
28
- "mcp__mcp-deepwiki",
29
- "mcp__Playwright",
30
- "mcp__spec-workflow",
31
- "mcp__open-websearch",
32
- "mcp__serena"
33
- ],
34
- "deny": []
52
+ "allowEdit",
53
+ "allowWrite",
54
+ "allowRead",
55
+ "allowExec",
56
+ "allowCreateProcess",
57
+ "allowKillProcess",
58
+ "allowNetworkAccess",
59
+ "allowFileSystemAccess",
60
+ "allowShellAccess",
61
+ "allowHttpAccess"
62
+ ]
63
+ },
64
+
65
+ "chat": {
66
+ "alwaysApprove": []
35
67
  },
36
- "hooks": {}
68
+
69
+ "experimental": {}
37
70
  }
@@ -1,219 +0,0 @@
1
- # Templates Module
2
-
3
- **Last Updated**: Sun Dec 15 09:15:34 CST 2025
4
- [Root](../CLAUDE.md) > **templates**
5
-
6
- ## Module Responsibilities
7
-
8
- Template system module providing multilingual configuration templates, AI personality styles, and workflow definitions for both Claude Code and Codex environments. Supports Chinese (zh-CN) and English (en) locales with comprehensive workflow coverage.
9
-
10
- ## Entry Points and Startup
11
-
12
- - **Main Template Directories**:
13
- - `claude-code/` - Claude Code specific templates
14
- - `codex/` - Codex specific templates
15
- - `common/` - Shared configuration templates
16
-
17
- ## External Interfaces
18
-
19
- ### Template Structure
20
-
21
- ```
22
- templates/
23
- ├── common/ # Shared templates (cross code-tool)
24
- │ ├── output-styles/ # AI personality styles
25
- │ │ ├── en/ # English output styles
26
- │ │ │ ├── engineer-professional.md
27
- │ │ │ ├── laowang-engineer.md
28
- │ │ │ ├── nekomata-engineer.md
29
- │ │ │ └── ojousama-engineer.md
30
- │ │ └── zh-CN/ # Chinese output styles
31
- │ │ ├── engineer-professional.md
32
- │ │ ├── laowang-engineer.md
33
- │ │ ├── nekomata-engineer.md
34
- │ │ └── ojousama-engineer.md
35
- │ └── workflow/
36
- │ ├── git/ # Git workflow
37
- │ │ ├── en/ # English git commands
38
- │ │ │ ├── git-commit.md
39
- │ │ │ ├── git-worktree.md
40
- │ │ │ ├── git-cleanBranches.md
41
- │ │ │ └── git-rollback.md
42
- │ │ └── zh-CN/ # Chinese git commands
43
- │ │ ├── git-commit.md
44
- │ │ ├── git-worktree.md
45
- │ │ ├── git-cleanBranches.md
46
- │ │ └── git-rollback.md
47
- │ └── sixStep/ # Six-step workflow
48
- │ ├── en/ # English workflow
49
- │ │ └── workflow.md
50
- │ └── zh-CN/ # Chinese workflow
51
- │ └── workflow.md
52
- ├── claude-code/ # Claude Code templates
53
- │ ├── common/ # Common configurations
54
- │ ├── zh-CN/ # Chinese templates
55
- │ │ └── workflow/ # Workflow templates
56
- │ │ ├── common/ # Common tools workflow
57
- │ │ ├── plan/ # Planning workflow
58
- │ │ └── bmad/ # BMAD workflow
59
- │ └── en/ # English templates
60
- │ └── workflow/ # Workflow templates
61
- └── codex/ # Codex templates
62
- ├── common/ # Common configurations
63
- ├── zh-CN/ # Chinese templates
64
- │ └── workflow/ # Workflow templates
65
- └── en/ # English templates
66
- └── workflow/ # Workflow templates
67
- ```
68
-
69
- ### Template Categories
70
-
71
- #### 1. Output Styles (AI Personalities)
72
-
73
- - **engineer-professional** - Professional engineering style
74
- - **nekomata-engineer** - Nekomata engineer personality
75
- - **laowang-engineer** - Laowang engineer personality
76
- - **default** - Default output style
77
- - **explanatory** - Explanatory style
78
- - **learning** - Learning-focused style
79
-
80
- #### 2. Workflow Templates
81
-
82
- ##### Common Tools Workflow
83
- - **Commands**: `init-project`
84
- - **Agents**: `init-architect`, `get-current-datetime`
85
- - **Purpose**: Essential development tools and project initialization
86
-
87
- ##### Planning Workflow (Plan)
88
- - **Commands**: `feat`, `workflow`
89
- - **Agents**: `planner`, `ui-ux-designer`
90
- - **Purpose**: Feature planning and UX design
91
-
92
- ##### Six-Step Workflow
93
- - **Commands**: `ccjk-update-docs`, `ccjk-pr`, `ccjk-release`
94
- - **Purpose**: Structured development process
95
-
96
- ##### BMAD Workflow
97
- - **Commands**: Enterprise-level workflow commands
98
- - **Purpose**: Business model and architecture design
99
-
100
- ##### Git Workflow
101
- - **Commands**: `git-commit`, `git-worktree`, `git-cleanBranches`, `git-rollback`
102
- - **Purpose**: Version control management with conventional commits, worktree management, branch cleanup, and rollback operations
103
-
104
- ## Key Dependencies and Configuration
105
-
106
- ### Template Processing
107
-
108
- - **Language Support**: zh-CN and en locales
109
- - **Code Tool Support**: Claude Code and Codex
110
- - **Template Format**: Markdown-based configuration files
111
- - **Variable Substitution**: Dynamic content replacement
112
-
113
- ### Configuration Integration
114
-
115
- - **Workflow Installer**: Integration with `src/utils/workflow-installer.ts`
116
- - **Language Detection**: Integration with `src/i18n/` system
117
- - **Platform Support**: Cross-platform path handling
118
-
119
- ## Data Models
120
-
121
- ### Template Organization
122
-
123
- ```typescript
124
- interface TemplateStructure {
125
- codeTool: 'claude-code' | 'codex'
126
- locale: 'zh-CN' | 'en'
127
- category: 'common' | 'output-styles' | 'workflow'
128
- workflow?: {
129
- type: 'common' | 'plan' | 'sixStep' | 'bmad' | 'git'
130
- commands: string[]
131
- agents: string[]
132
- }
133
- }
134
- ```
135
-
136
- ### Output Style Configuration
137
-
138
- ```typescript
139
- interface OutputStyle {
140
- id: string
141
- name: { 'zh-CN': string, 'en': string }
142
- description: { 'zh-CN': string, 'en': string }
143
- template: string
144
- personality: string
145
- }
146
- ```
147
-
148
- ## Testing and Quality
149
-
150
- ### Template Validation
151
-
152
- - **File**: `tests/templates/chinese-templates.test.ts`
153
- - **Coverage**: Template completeness and format validation
154
- - **Validation**: Markdown syntax and variable substitution
155
-
156
- ### Quality Metrics
157
-
158
- - **Template Coverage**: 100% for both locales
159
- - **Code Tool Support**: Claude Code and Codex fully supported
160
- - **Workflow Coverage**: 5 major workflow categories
161
- - **Output Styles**: 6 AI personality styles
162
-
163
- ## Common Issues
164
-
165
- - **Path Handling**: Cross-platform path compatibility
166
- - **Encoding**: UTF-8 encoding for multilingual content
167
- - **Template Variables**: Proper variable substitution
168
- - **File Permissions**: Executable permissions for command files
169
-
170
- ## Related Files
171
-
172
- - `src/utils/workflow-installer.ts` - Template installation logic
173
- - `src/config/workflows.ts` - Workflow configuration definitions
174
- - `src/i18n/` - Internationalization support
175
- - `tests/templates/` - Template validation tests
176
-
177
- ## Change Log (Module-Specific)
178
-
179
- ### Recent Updates
180
-
181
- - Consolidated sixStep workflow templates to `templates/common/workflow/sixStep/` with unified `.ccjk` plan directory for both Claude Code and Codex
182
- - Consolidated output-styles/system-prompt templates to `templates/common/output-styles/`
183
- - Consolidated git workflow templates to `templates/common/workflow/git/`
184
- - Added Codex template support for dual code tool architecture
185
- - Enhanced workflow templates with comprehensive command coverage
186
- - Improved AI personality styles with professional variations
187
- - Added cross-platform template compatibility
188
- - Enhanced template validation and testing coverage
189
-
190
- ## FAQ
191
-
192
- ### Q: How to add a new workflow template?
193
-
194
- 1. Create workflow directory under `templates/{code-tool}/{locale}/workflow/`
195
- 2. Add command files in `commands/` subdirectory
196
- 3. Add agent files in `agents/` subdirectory (if needed)
197
- 4. Update `src/config/workflows.ts` with new workflow definition
198
- 5. Add translations in `src/i18n/locales/{locale}/workflow.ts`
199
-
200
- ### Q: How to add a new output style?
201
-
202
- 1. Create style file in `templates/common/output-styles/{locale}/`
203
- 2. Define style configuration with name and description
204
- 3. Add style to available options in configuration
205
- 4. Test style rendering with sample content
206
-
207
- ### Q: How to support a new language?
208
-
209
- 1. Create new locale directory under `templates/{code-tool}/{new-locale}/`
210
- 2. Copy existing templates and translate content
211
- 3. Update i18n system to support new locale
212
- 4. Add locale to supported languages list
213
-
214
- ### Q: How to maintain template consistency?
215
-
216
- - Use template validation tests
217
- - Follow naming conventions
218
- - Maintain parallel structure across locales
219
- - Document template variables and usage