musubix 3.6.1 → 3.7.3

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 (36) hide show
  1. package/.github/skills/build-fix/SKILL.md +124 -0
  2. package/.github/skills/checkpoint/SKILL.md +131 -0
  3. package/.github/skills/codemap/SKILL.md +120 -0
  4. package/.github/skills/codemap/templates/codemap-index.md +142 -0
  5. package/.github/skills/codemap/templates/package-codemap.md +160 -0
  6. package/.github/skills/context-optimizer/SKILL.md +109 -0
  7. package/.github/skills/context-optimizer/contexts/dev.md +40 -0
  8. package/.github/skills/context-optimizer/contexts/research.md +55 -0
  9. package/.github/skills/context-optimizer/contexts/review.md +49 -0
  10. package/.github/skills/e2e-runner/SKILL.md +145 -0
  11. package/.github/skills/eval-harness/SKILL.md +111 -0
  12. package/.github/skills/eval-harness/examples/capability-eval.md +158 -0
  13. package/.github/skills/eval-harness/examples/human-grader-template.md +326 -0
  14. package/.github/skills/eval-harness/examples/regression-eval.md +228 -0
  15. package/.github/skills/learning-hooks/SKILL.md +101 -0
  16. package/.github/skills/learning-hooks/templates/learned-skill-template.md +79 -0
  17. package/.github/skills/musubix-adr-generation/SKILL.md +33 -168
  18. package/.github/skills/musubix-best-practices/SKILL.md +46 -276
  19. package/.github/skills/musubix-c4-design/SKILL.md +48 -124
  20. package/.github/skills/musubix-code-generation/SKILL.md +46 -193
  21. package/.github/skills/musubix-domain-inference/SKILL.md +54 -168
  22. package/.github/skills/musubix-ears-validation/SKILL.md +49 -136
  23. package/.github/skills/musubix-sdd-workflow/SKILL.md +56 -178
  24. package/.github/skills/musubix-technical-writing/SKILL.md +45 -381
  25. package/.github/skills/musubix-test-generation/SKILL.md +52 -176
  26. package/.github/skills/musubix-traceability/SKILL.md +52 -99
  27. package/.github/skills/refactor-cleaner/SKILL.md +105 -0
  28. package/.github/skills/session-manager/SKILL.md +119 -0
  29. package/.github/skills/session-manager/scripts/session-end.sh +175 -0
  30. package/.github/skills/session-manager/scripts/session-start.sh +87 -0
  31. package/.github/skills/verification-loop/SKILL.md +111 -0
  32. package/.github/skills/verification-loop/scripts/verify.sh +305 -0
  33. package/AGENTS.md +231 -1034
  34. package/docs/CODEMAPS/CODEMAP.md +1 -0
  35. package/docs/adr/ADR-v3.7.0-001-everything-claude-code-integration.md +102 -0
  36. package/package.json +2 -2
@@ -1,230 +1,71 @@
1
1
  ---
2
2
  name: musubix-technical-writing
3
- description: Guide for creating technical documentation including README, user guides, API references, and changelogs. Use this when asked to write documentation, create user manuals, or generate API docs.
3
+ description: 技術ドキュメント作成ガイド。README、ユーザーガイド、API参照に使用。
4
4
  license: MIT
5
5
  ---
6
6
 
7
- # MUSUBIX Technical Writing Skill
7
+ # Technical Writing Skill
8
8
 
9
- This skill guides you through creating high-quality technical documentation for software projects.
9
+ 高品質な技術ドキュメントを一貫した構造で作成。
10
10
 
11
- ## Overview
11
+ ## Document Types
12
12
 
13
- Technical documentation bridges the gap between code and users. MUSUBIX supports generating various document types with consistent structure and traceability.
13
+ | 種類 | 目的 | ファイル |
14
+ |------|------|---------|
15
+ | **README** | プロジェクト概要 | README.md |
16
+ | **Install Guide** | セットアップ手順 | INSTALL-GUIDE.md |
17
+ | **User Guide** | 使用方法詳細 | USER-GUIDE.md |
18
+ | **API Reference** | API完全ドキュメント | API-REFERENCE.md |
19
+ | **Changelog** | バージョン履歴 | CHANGELOG.md |
14
20
 
15
- ## Document Types
21
+ ## WHEN → DO
16
22
 
17
- ### 1. README.md (Project Overview)
23
+ | WHEN | DO |
24
+ |------|-----|
25
+ | 新規プロジェクト | READMEテンプレート適用 |
26
+ | 機能追加 | User GuideとAPI Reference更新 |
27
+ | リリース | Changelog更新 |
28
+ | セットアップ手順変更 | Install Guide更新 |
18
29
 
19
- **Purpose**: First impression of your project.
30
+ ## README Template
20
31
 
21
- **Template**:
22
32
  ```markdown
23
33
  # Project Name
24
34
 
25
- > One-line description of what the project does.
26
-
27
- [![npm version](https://badge.fury.io/js/package-name.svg)](https://badge.fury.io/js/package-name)
28
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
35
+ > One-line description
29
36
 
30
37
  ## 🎯 Features
31
-
32
- - Feature 1: Brief description
33
- - Feature 2: Brief description
34
- - Feature 3: Brief description
38
+ - Feature 1
39
+ - Feature 2
35
40
 
36
41
  ## 📦 Installation
37
-
38
42
  \`\`\`bash
39
43
  npm install package-name
40
44
  \`\`\`
41
45
 
42
46
  ## 🚀 Quick Start
43
-
44
47
  \`\`\`typescript
45
48
  import { MainClass } from 'package-name';
46
-
47
49
  const instance = new MainClass();
48
- instance.doSomething();
49
50
  \`\`\`
50
51
 
51
52
  ## 📖 Documentation
52
-
53
- - [Installation Guide](docs/INSTALL-GUIDE.md)
53
+ - [Installation](docs/INSTALL-GUIDE.md)
54
54
  - [User Guide](docs/USER-GUIDE.md)
55
55
  - [API Reference](docs/API-REFERENCE.md)
56
-
57
- ## 🤝 Contributing
58
-
59
- See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
60
-
61
- ## 📄 License
62
-
63
- MIT License - see [LICENSE](LICENSE) for details.
64
- ```
65
-
66
- ### 2. INSTALL-GUIDE.md (Installation Guide)
67
-
68
- **Purpose**: Step-by-step setup instructions.
69
-
70
- **Structure**:
71
- ```markdown
72
- # Installation Guide
73
-
74
- ## Prerequisites
75
-
76
- | Requirement | Version | Check Command |
77
- |-------------|---------|---------------|
78
- | Node.js | >= 20.0.0 | `node --version` |
79
- | npm | >= 10.0.0 | `npm --version` |
80
-
81
- ## Installation Methods
82
-
83
- ### Method 1: npm (Recommended)
84
-
85
- \`\`\`bash
86
- npm install package-name
87
- \`\`\`
88
-
89
- ### Method 2: From Source
90
-
91
- \`\`\`bash
92
- git clone https://github.com/user/repo.git
93
- cd repo
94
- npm install
95
- npm run build
96
- \`\`\`
97
-
98
- ## Configuration
99
-
100
- ### Environment Variables
101
-
102
- | Variable | Description | Default |
103
- |----------|-------------|---------|
104
- | `API_KEY` | API authentication key | - |
105
- | `LOG_LEVEL` | Logging verbosity | `info` |
106
-
107
- ### Configuration File
108
-
109
- Create `config.json`:
110
- \`\`\`json
111
- {
112
- "setting1": "value1",
113
- "setting2": true
114
- }
115
- \`\`\`
116
-
117
- ## Verification
118
-
119
- \`\`\`bash
120
- npx package-name --version
121
- \`\`\`
122
-
123
- ## Troubleshooting
124
-
125
- ### Common Issues
126
-
127
- #### Issue: Module not found
128
- **Solution**: Run `npm install` again.
129
-
130
- #### Issue: Permission denied
131
- **Solution**: Use `sudo` or fix npm permissions.
132
- ```
133
-
134
- ### 3. USER-GUIDE.md (User Guide)
135
-
136
- **Purpose**: Comprehensive usage instructions.
137
-
138
- **Structure**:
139
- ```markdown
140
- # User Guide
141
-
142
- ## Table of Contents
143
-
144
- 1. [Getting Started](#getting-started)
145
- 2. [Basic Usage](#basic-usage)
146
- 3. [Advanced Features](#advanced-features)
147
- 4. [Best Practices](#best-practices)
148
-
149
- ## Getting Started
150
-
151
- ### Your First Project
152
-
153
- 1. Create a new directory
154
- 2. Initialize the project
155
- 3. Run your first command
156
-
157
- ## Basic Usage
158
-
159
- ### Command: `command-name`
160
-
161
- **Syntax**:
162
- \`\`\`bash
163
- npx tool command [options] <arguments>
164
- \`\`\`
165
-
166
- **Options**:
167
- | Option | Short | Description |
168
- |--------|-------|-------------|
169
- | `--output` | `-o` | Output directory |
170
- | `--verbose` | `-v` | Enable verbose logging |
171
-
172
- **Examples**:
173
- \`\`\`bash
174
- # Basic usage
175
- npx tool command input.txt
176
-
177
- # With options
178
- npx tool command -o output/ -v input.txt
179
- \`\`\`
180
-
181
- ## Advanced Features
182
-
183
- ### Feature: Custom Configuration
184
-
185
- [Detailed explanation with examples]
186
-
187
- ## Best Practices
188
-
189
- 1. **Do**: Recommended approach
190
- 2. **Don't**: Anti-pattern to avoid
191
56
  ```
192
57
 
193
- ### 4. API-REFERENCE.md (API Reference)
194
-
195
- **Purpose**: Complete API documentation.
58
+ ## API Reference Template
196
59
 
197
- **Structure**:
198
60
  ```markdown
199
- # API Reference
200
-
201
- ## Classes
202
-
203
- ### `ClassName`
204
-
205
- Description of the class.
206
-
207
- #### Constructor
208
-
209
- \`\`\`typescript
210
- new ClassName(options?: ClassOptions)
211
- \`\`\`
61
+ ### `methodName(param1, param2)`
212
62
 
213
- | Parameter | Type | Description |
214
- |-----------|------|-------------|
215
- | `options` | `ClassOptions` | Configuration options |
63
+ Description.
216
64
 
217
- #### Methods
218
-
219
- ##### `methodName(param1, param2)`
220
-
221
- Description of what the method does.
222
-
223
- **Parameters**:
224
- | Name | Type | Required | Description |
225
- |------|------|----------|-------------|
226
- | `param1` | `string` | Yes | First parameter |
227
- | `param2` | `number` | No | Optional second parameter |
65
+ | Parameter | Type | Required | Description |
66
+ |-----------|------|----------|-------------|
67
+ | `param1` | `string` | Yes | First param |
68
+ | `param2` | `number` | No | Optional |
228
69
 
229
70
  **Returns**: `Promise<Result>`
230
71
 
@@ -232,213 +73,36 @@ Description of what the method does.
232
73
  \`\`\`typescript
233
74
  const result = await instance.methodName('value', 42);
234
75
  \`\`\`
235
-
236
- **Throws**:
237
- - `ValidationError`: When param1 is empty
238
-
239
- ## Interfaces
240
-
241
- ### `InterfaceName`
242
-
243
- \`\`\`typescript
244
- interface InterfaceName {
245
- property1: string;
246
- property2?: number;
247
- method(arg: string): void;
248
- }
249
- \`\`\`
250
-
251
- ## Types
252
-
253
- ### `TypeName`
254
-
255
- \`\`\`typescript
256
- type TypeName = 'option1' | 'option2' | 'option3';
257
- \`\`\`
258
76
  ```
259
77
 
260
- ### 5. CHANGELOG.md (Change Log)
261
-
262
- **Purpose**: Track version history.
78
+ ## Changelog Format
263
79
 
264
- **Format**: Follow [Keep a Changelog](https://keepachangelog.com/)
80
+ [Keep a Changelog](https://keepachangelog.com/)準拠:
265
81
 
266
82
  ```markdown
267
- # Changelog
268
-
269
- All notable changes to this project will be documented in this file.
270
-
271
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
272
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
273
-
274
- ## [Unreleased]
83
+ ## [1.2.0] - 2026-01-15
275
84
 
276
85
  ### Added
277
86
  - New feature description
278
87
 
279
88
  ### Changed
280
- - Modified behavior description
281
-
282
- ### Deprecated
283
- - Feature to be removed in future
284
-
285
- ### Removed
286
- - Deleted feature description
89
+ - Modified behavior
287
90
 
288
91
  ### Fixed
289
92
  - Bug fix description
290
-
291
- ### Security
292
- - Security fix description
293
-
294
- ## [1.0.0] - 2026-01-10
295
-
296
- ### Added
297
- - Initial release
298
- - Core functionality
299
- - CLI interface
300
- ```
301
-
302
- ### 6. CONTRIBUTING.md (Contributing Guide)
303
-
304
- **Purpose**: Guide for contributors.
305
-
306
- ```markdown
307
- # Contributing Guide
308
-
309
- Thank you for your interest in contributing!
310
-
311
- ## Development Setup
312
-
313
- 1. Fork the repository
314
- 2. Clone your fork
315
- 3. Install dependencies: `npm install`
316
- 4. Create a branch: `git checkout -b feature/your-feature`
317
-
318
- ## Code Standards
319
-
320
- - Use TypeScript
321
- - Follow ESLint rules
322
- - Write tests for new features
323
- - Maintain 80%+ code coverage
324
-
325
- ## Pull Request Process
326
-
327
- 1. Update documentation
328
- 2. Add tests
329
- 3. Run `npm test`
330
- 4. Submit PR with clear description
331
-
332
- ## Commit Message Format
333
-
334
- \`\`\`
335
- type(scope): description
336
-
337
- [optional body]
338
-
339
- [optional footer]
340
- \`\`\`
341
-
342
- Types: `feat`, `fix`, `docs`, `style`, `refactor`, `test`, `chore`
343
-
344
- ## Code of Conduct
345
-
346
- Be respectful and inclusive.
347
- ```
348
-
349
- ## Writing Guidelines
350
-
351
- ### 1. Audience-Aware Writing
352
-
353
- | Document | Audience | Tone | Technical Level |
354
- |----------|----------|------|-----------------|
355
- | README | Everyone | Welcoming | Low-Medium |
356
- | INSTALL-GUIDE | Users | Instructive | Medium |
357
- | USER-GUIDE | Users | Explanatory | Medium |
358
- | API-REFERENCE | Developers | Technical | High |
359
- | CONTRIBUTING | Contributors | Collaborative | High |
360
-
361
- ### 2. Formatting Best Practices
362
-
363
- ```markdown
364
- # ✅ Good Practices
365
-
366
- ## Use Clear Headings
367
- Structure content hierarchically.
368
-
369
- ## Include Code Examples
370
- \`\`\`typescript
371
- // Always show working examples
372
- const example = 'value';
373
- \`\`\`
374
-
375
- ## Use Tables for Structured Data
376
- | Column 1 | Column 2 |
377
- |----------|----------|
378
- | Data | Data |
379
-
380
- ## Add Visual Cues
381
- > 💡 **Tip**: Helpful advice
382
- > ⚠️ **Warning**: Important caution
383
- > ❌ **Error**: Common mistake
384
93
  ```
385
94
 
386
- ### 3. Multilingual Support
387
-
388
- For projects requiring Japanese and English:
95
+ ## 出力例
389
96
 
390
97
  ```
391
- docs/
392
- ├── README.md # English (default)
393
- ├── README.ja.md # Japanese
394
- ├── USER-GUIDE.md # English
395
- ├── USER-GUIDE.ja.md # Japanese
396
- └── ...
397
- ```
398
-
399
- ## CLI Integration
400
-
401
- ```bash
402
- # Generate README from project analysis
403
- npx musubix docs readme
404
-
405
- # Generate API reference from TypeScript
406
- npx musubix docs api --source src/
407
-
408
- # Update CHANGELOG from git commits
409
- npx musubix docs changelog --from v1.0.0
410
-
411
- # Generate all documentation
412
- npx musubix docs generate --all
98
+ ┌─────────────────────────────────────────┐
99
+ Documentation Generated │
100
+ ├─────────────────────────────────────────┤
101
+ README.md: Updated │
102
+ INSTALL-GUIDE.md: Created │
103
+ USER-GUIDE.md: Updated │
104
+ │ API-REFERENCE.md: Updated │
105
+ │ CHANGELOG.md: Updated │
106
+ Total Sections: 15 │
107
+ └─────────────────────────────────────────┘
413
108
  ```
414
-
415
- ## Traceability
416
-
417
- Link documentation to requirements and design:
418
-
419
- ```markdown
420
- <!-- @requirement REQ-DOC-001 -->
421
- <!-- @design DES-DOC-001 -->
422
-
423
- # User Guide
424
-
425
- This guide covers the usage of...
426
- ```
427
-
428
- ## Document Quality Checklist
429
-
430
- - [ ] Clear purpose statement
431
- - [ ] Logical structure with headings
432
- - [ ] Working code examples
433
- - [ ] Complete parameter documentation
434
- - [ ] Error handling examples
435
- - [ ] Up-to-date with current version
436
- - [ ] Spell-checked and grammar-checked
437
- - [ ] Links verified
438
- - [ ] Screenshots/diagrams where helpful
439
-
440
- ## Related Skills
441
-
442
- - [musubix-sdd-workflow](../musubix-sdd-workflow/SKILL.md) - Overall development workflow
443
- - [musubix-adr-generation](../musubix-adr-generation/SKILL.md) - Decision documentation
444
- - [musubix-code-generation](../musubix-code-generation/SKILL.md) - Code with doc comments