@phuc1403/musketeer 0.7.0 → 0.9.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 (84) hide show
  1. package/README.md +49 -49
  2. package/manifest.json +333 -301
  3. package/package.json +1 -1
  4. package/template/.claude/agents/code-reviewer.md +182 -166
  5. package/template/.claude/hooks/git-skill-reminder.cjs +53 -0
  6. package/template/.claude/hooks/inject-design-docs.cjs +13 -13
  7. package/template/.claude/hooks/inject-ubiquitous-language.cjs +52 -0
  8. package/template/.claude/hooks/lib/colors.cjs +180 -122
  9. package/template/.claude/hooks/lib/transcript-parser.cjs +300 -277
  10. package/template/.claude/skills/code-review/SKILL.md +201 -54
  11. package/template/.claude/skills/code-review/references/checklist-workflow.md +96 -0
  12. package/template/.claude/skills/code-review/references/checklists/api.md +52 -52
  13. package/template/.claude/skills/code-review/references/checklists/base.md +100 -100
  14. package/template/.claude/skills/code-review/references/checklists/web-app.md +54 -54
  15. package/template/.claude/skills/code-review/references/code-review-reception.md +113 -0
  16. package/template/.claude/skills/code-review/references/codebase-scan-workflow.md +30 -0
  17. package/template/.claude/skills/code-review/references/edge-case-scouting.md +119 -0
  18. package/template/.claude/skills/code-review/references/input-mode-resolution.md +135 -0
  19. package/template/.claude/skills/code-review/references/parallel-review-workflow.md +76 -0
  20. package/template/.claude/skills/code-review/references/requesting-code-review.md +116 -0
  21. package/template/.claude/skills/code-review/references/spec-compliance-review.md +43 -0
  22. package/template/.claude/skills/code-review/references/task-management-reviews.md +140 -0
  23. package/template/.claude/skills/code-review/references/verification-before-completion.md +139 -0
  24. package/template/.claude/skills/context-map/SKILL.md +1 -1
  25. package/template/.claude/skills/git/SKILL.md +131 -115
  26. package/template/.claude/skills/git/references/branch-management.md +88 -88
  27. package/template/.claude/skills/git/references/commit-standards.md +46 -46
  28. package/template/.claude/skills/git/references/context-efficiency.md +54 -0
  29. package/template/.claude/skills/git/references/gh-cli-guide.md +109 -109
  30. package/template/.claude/skills/git/references/safety-protocols.md +69 -69
  31. package/template/.claude/skills/git/references/workflow-commit.md +58 -58
  32. package/template/.claude/skills/git/references/workflow-merge-pr.md +136 -0
  33. package/template/.claude/skills/git/references/workflow-merge.md +48 -48
  34. package/template/.claude/skills/git/references/workflow-pr.md +58 -58
  35. package/template/.claude/skills/git/references/workflow-push.md +52 -52
  36. package/template/.claude/skills/knowledge-crunching/SKILL.md +56 -92
  37. package/template/.claude/skills/knowledge-crunching/assets/ubiquitous-language.template.md +3 -0
  38. package/template/.claude/skills/skill-creator/LICENSE.txt +201 -201
  39. package/template/.claude/skills/skill-creator/SKILL.md +154 -149
  40. package/template/.claude/skills/skill-creator/agents/analyzer.md +274 -274
  41. package/template/.claude/skills/skill-creator/agents/comparator.md +202 -202
  42. package/template/.claude/skills/skill-creator/agents/grader.md +223 -223
  43. package/template/.claude/skills/skill-creator/assets/eval_review.html +146 -146
  44. package/template/.claude/skills/skill-creator/eval-viewer/generate_review.py +471 -471
  45. package/template/.claude/skills/skill-creator/eval-viewer/viewer.html +1325 -1325
  46. package/template/.claude/skills/skill-creator/references/benchmark-optimization-guide.md +86 -86
  47. package/template/.claude/skills/skill-creator/references/distribution-guide.md +79 -79
  48. package/template/.claude/skills/skill-creator/references/eval-infrastructure-guide.md +129 -129
  49. package/template/.claude/skills/skill-creator/references/eval-schemas.md +121 -121
  50. package/template/.claude/skills/skill-creator/references/mcp-skills-integration.md +71 -71
  51. package/template/.claude/skills/skill-creator/references/metadata-quality-criteria.md +94 -94
  52. package/template/.claude/skills/skill-creator/references/plugin-marketplace-hosting.md +104 -104
  53. package/template/.claude/skills/skill-creator/references/plugin-marketplace-overview.md +89 -89
  54. package/template/.claude/skills/skill-creator/references/plugin-marketplace-schema.md +93 -93
  55. package/template/.claude/skills/skill-creator/references/plugin-marketplace-sources.md +103 -103
  56. package/template/.claude/skills/skill-creator/references/plugin-marketplace-troubleshooting.md +76 -76
  57. package/template/.claude/skills/skill-creator/references/script-quality-criteria.md +106 -106
  58. package/template/.claude/skills/skill-creator/references/skill-anatomy-and-requirements.md +77 -77
  59. package/template/.claude/skills/skill-creator/references/skill-creation-workflow.md +152 -151
  60. package/template/.claude/skills/skill-creator/references/skill-design-patterns.md +75 -75
  61. package/template/.claude/skills/skill-creator/references/skillmark-benchmark-criteria.md +102 -102
  62. package/template/.claude/skills/skill-creator/references/structure-organization-criteria.md +114 -114
  63. package/template/.claude/skills/skill-creator/references/testing-and-iteration.md +78 -78
  64. package/template/.claude/skills/skill-creator/references/token-efficiency-criteria.md +74 -74
  65. package/template/.claude/skills/skill-creator/references/troubleshooting-guide.md +81 -81
  66. package/template/.claude/skills/skill-creator/references/validation-checklist.md +83 -83
  67. package/template/.claude/skills/skill-creator/references/writing-effective-instructions.md +88 -88
  68. package/template/.claude/skills/skill-creator/references/yaml-frontmatter-reference.md +92 -92
  69. package/template/.claude/skills/skill-creator/scripts/aggregate_benchmark.py +401 -401
  70. package/template/.claude/skills/skill-creator/scripts/encoding_utils.py +36 -36
  71. package/template/.claude/skills/skill-creator/scripts/generate_report.py +326 -326
  72. package/template/.claude/skills/skill-creator/scripts/improve_description.py +248 -248
  73. package/template/.claude/skills/skill-creator/scripts/init_skill.py +360 -360
  74. package/template/.claude/skills/skill-creator/scripts/package_skill.py +143 -143
  75. package/template/.claude/skills/skill-creator/scripts/quick_validate.py +110 -110
  76. package/template/.claude/skills/skill-creator/scripts/run_eval.py +310 -310
  77. package/template/.claude/skills/skill-creator/scripts/run_loop.py +332 -332
  78. package/template/.claude/skills/skill-creator/scripts/utils.py +47 -47
  79. package/template/.claude/statusline.cjs +0 -0
  80. package/template/.claude/hooks/inject-context.cjs +0 -52
  81. package/template/.claude/skills/code-review/references/adversarial-review.md +0 -223
  82. package/template/.claude/skills/knowledge-crunching/assets/context.template.md +0 -59
  83. package/template/.claude/skills/knowledge-crunching/references/crunching-dialogue.md +0 -113
  84. /package/template/.claude/hooks/{usage-context-awareness.cjs → usage-quota-cache-refresh.cjs} +0 -0
@@ -1,92 +1,92 @@
1
- # YAML Frontmatter Reference
2
-
3
- ## Required Fields
4
-
5
- ```yaml
6
- ---
7
- name: skill-name-in-kebab-case
8
- description: What it does and when to use it. Include specific trigger phrases.
9
- ---
10
- ```
11
-
12
- ## All Optional Fields
13
-
14
- ```yaml
15
- ---
16
- name: skill-name
17
- description: [required - under 200 chars]
18
- license: MIT # Open-source license
19
- compatibility: Requires Python 3.10+, network access # 1-500 chars, environment needs
20
- allowed-tools: "Bash(python:*) Bash(npm:*) WebFetch" # Restrict tool access
21
- metadata: # Custom key-value pairs
22
- author: Company Name
23
- version: 1.0.0
24
- mcp-server: server-name
25
- category: productivity
26
- tags: [project-management, automation]
27
- documentation: https://example.com/docs
28
- support: support@example.com
29
- ---
30
- ```
31
-
32
- ## Field Details
33
-
34
- ### name (required)
35
- - Supports either `skill-name` or `namespace:skill-name` (for example `ck:plan`)
36
- - If namespaced, namespace and skill id both use kebab-case only (no spaces, no capitals)
37
- - Folder name must match the skill id segment (after `:`)
38
- - Cannot contain "claude" or "anthropic" (reserved)
39
-
40
- ### description (required)
41
- - Under 200 characters (1024 max per spec, but 200 for this project)
42
- - Structure: `[What it does] + [When to use it] + [Key capabilities]`
43
- - Include trigger phrases users would actually say
44
- - Mention relevant file types if applicable
45
- - Use third-person: "This skill should be used when..."
46
-
47
- ### license (optional)
48
- - Common: MIT, Apache-2.0
49
- - Reference full terms in LICENSE.txt if needed
50
-
51
- ### compatibility (optional)
52
- - 1-500 characters
53
- - Environment requirements: intended product, system packages, network access
54
-
55
- ### allowed-tools (optional)
56
- - Restricts which tools the skill can use
57
- - Space-separated tool patterns
58
-
59
- ### metadata (optional)
60
- - Any custom key-value pairs
61
- - Suggested: author, version, mcp-server, category, tags
62
-
63
- ## Security Restrictions
64
-
65
- **Forbidden in frontmatter:**
66
- - XML angle brackets (`< >`) — frontmatter appears in system prompt, could inject instructions
67
- - Skills named with "claude" or "anthropic" prefix (reserved)
68
-
69
- **Allowed:**
70
- - Standard YAML types (strings, numbers, booleans, lists, objects)
71
- - Custom metadata fields
72
- - Long descriptions up to 1024 characters (project standard: 200)
73
-
74
- ## Description Examples
75
-
76
- **Good — specific with triggers:**
77
- ```yaml
78
- description: Analyzes Figma design files and generates developer handoff docs.
79
- Use when user uploads .fig files or asks for "design specs" or "design-to-code".
80
- ```
81
-
82
- ```yaml
83
- description: Manages Linear project workflows including sprint planning and
84
- task creation. Use when user mentions "sprint", "Linear tasks", or "create tickets".
85
- ```
86
-
87
- **Bad — vague or missing triggers:**
88
- ```yaml
89
- description: Helps with projects. # Too vague
90
- description: Creates sophisticated documentation systems. # No triggers
91
- description: Implements the Project entity model. # Too technical
92
- ```
1
+ # YAML Frontmatter Reference
2
+
3
+ ## Required Fields
4
+
5
+ ```yaml
6
+ ---
7
+ name: skill-name-in-kebab-case
8
+ description: What it does and when to use it. Include specific trigger phrases.
9
+ ---
10
+ ```
11
+
12
+ ## All Optional Fields
13
+
14
+ ```yaml
15
+ ---
16
+ name: skill-name
17
+ description: [required - under 200 chars]
18
+ license: MIT # Open-source license
19
+ compatibility: Requires Python 3.10+, network access # 1-500 chars, environment needs
20
+ allowed-tools: "Bash(python:*) Bash(npm:*) WebFetch" # Restrict tool access
21
+ metadata: # Custom key-value pairs
22
+ author: Company Name
23
+ version: 1.0.0
24
+ mcp-server: server-name
25
+ category: productivity
26
+ tags: [project-management, automation]
27
+ documentation: https://example.com/docs
28
+ support: support@example.com
29
+ ---
30
+ ```
31
+
32
+ ## Field Details
33
+
34
+ ### name (required)
35
+ - Supports either `skill-name` or `namespace:skill-name` (for example `ck:plan`)
36
+ - If namespaced, namespace and skill id both use kebab-case only (no spaces, no capitals)
37
+ - Folder name must match the skill id segment (after `:`)
38
+ - Cannot contain "claude" or "anthropic" (reserved)
39
+
40
+ ### description (required)
41
+ - Under 200 characters (1024 max per spec, but 200 for this project)
42
+ - Structure: `[What it does] + [When to use it] + [Key capabilities]`
43
+ - Include trigger phrases users would actually say
44
+ - Mention relevant file types if applicable
45
+ - Use third-person: "This skill should be used when..."
46
+
47
+ ### license (optional)
48
+ - Common: MIT, Apache-2.0
49
+ - Reference full terms in LICENSE.txt if needed
50
+
51
+ ### compatibility (optional)
52
+ - 1-500 characters
53
+ - Environment requirements: intended product, system packages, network access
54
+
55
+ ### allowed-tools (optional)
56
+ - Restricts which tools the skill can use
57
+ - Space-separated tool patterns
58
+
59
+ ### metadata (optional)
60
+ - Any custom key-value pairs
61
+ - Suggested: author, version, mcp-server, category, tags
62
+
63
+ ## Security Restrictions
64
+
65
+ **Forbidden in frontmatter:**
66
+ - XML angle brackets (`< >`) — frontmatter appears in system prompt, could inject instructions
67
+ - Skills named with "claude" or "anthropic" prefix (reserved)
68
+
69
+ **Allowed:**
70
+ - Standard YAML types (strings, numbers, booleans, lists, objects)
71
+ - Custom metadata fields
72
+ - Long descriptions up to 1024 characters (project standard: 200)
73
+
74
+ ## Description Examples
75
+
76
+ **Good — specific with triggers:**
77
+ ```yaml
78
+ description: Analyzes Figma design files and generates developer handoff docs.
79
+ Use when user uploads .fig files or asks for "design specs" or "design-to-code".
80
+ ```
81
+
82
+ ```yaml
83
+ description: Manages Linear project workflows including sprint planning and
84
+ task creation. Use when user mentions "sprint", "Linear tasks", or "create tickets".
85
+ ```
86
+
87
+ **Bad — vague or missing triggers:**
88
+ ```yaml
89
+ description: Helps with projects. # Too vague
90
+ description: Creates sophisticated documentation systems. # No triggers
91
+ description: Implements the Project entity model. # Too technical
92
+ ```