ima-claude 2.18.0 → 2.25.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 (103) hide show
  1. package/README.md +55 -9
  2. package/dist/cli.js +5 -1
  3. package/package.json +1 -1
  4. package/plugins/ima-claude/.claude-plugin/plugin.json +2 -2
  5. package/plugins/ima-claude/agents/explorer.md +29 -15
  6. package/plugins/ima-claude/agents/implementer.md +58 -13
  7. package/plugins/ima-claude/agents/memory.md +19 -19
  8. package/plugins/ima-claude/agents/reviewer.md +56 -34
  9. package/plugins/ima-claude/agents/tester.md +59 -16
  10. package/plugins/ima-claude/agents/wp-developer.md +66 -21
  11. package/plugins/ima-claude/hooks/bootstrap.sh +42 -44
  12. package/plugins/ima-claude/hooks/prompt_coach_digest.md +14 -17
  13. package/plugins/ima-claude/hooks/prompt_coach_system.md +10 -12
  14. package/plugins/ima-claude/personalities/README.md +17 -6
  15. package/plugins/ima-claude/personalities/enable-efficient.md +61 -0
  16. package/plugins/ima-claude/personalities/enable-terse.md +71 -0
  17. package/plugins/ima-claude/skills/agentic-workflows/SKILL.md +97 -0
  18. package/plugins/ima-claude/skills/agentic-workflows/references/phases/deliver.md +181 -0
  19. package/plugins/ima-claude/skills/agentic-workflows/references/phases/draft.md +99 -0
  20. package/plugins/ima-claude/skills/agentic-workflows/references/phases/gather.md +130 -0
  21. package/plugins/ima-claude/skills/agentic-workflows/references/phases/outline.md +106 -0
  22. package/plugins/ima-claude/skills/agentic-workflows/references/phases/review.md +137 -0
  23. package/plugins/ima-claude/skills/agentic-workflows/references/standards/draft-format.md +159 -0
  24. package/plugins/ima-claude/skills/agentic-workflows/references/standards/editorial-standards.md +160 -0
  25. package/plugins/ima-claude/skills/agentic-workflows/references/standards/outline-format.md +110 -0
  26. package/plugins/ima-claude/skills/agentic-workflows/references/templates/avada-construction-guide.md +263 -0
  27. package/plugins/ima-claude/skills/agentic-workflows/references/templates/avada-webinar-example.txt +275 -0
  28. package/plugins/ima-claude/skills/agentic-workflows/references/templates/cta-block-catalog.md +169 -0
  29. package/plugins/ima-claude/skills/agentic-workflows/references/templates/espo-email-preparation.md +241 -0
  30. package/plugins/ima-claude/skills/agentic-workflows/references/templates/webinar-recap-email-espo.html +339 -0
  31. package/plugins/ima-claude/skills/agentic-workflows/references/templates/webinar-reminder-email-espo.html +458 -0
  32. package/plugins/ima-claude/skills/agentic-workflows/references/workflows/editorial/webinar-summary.md +81 -0
  33. package/plugins/ima-claude/skills/architect/SKILL.md +54 -168
  34. package/plugins/ima-claude/skills/compound-bridge/SKILL.md +41 -94
  35. package/plugins/ima-claude/skills/design-to-code/SKILL.md +91 -0
  36. package/plugins/ima-claude/skills/design-to-code/references/guardrails.md +46 -0
  37. package/plugins/ima-claude/skills/design-to-code/references/phase-a-design-to-prompt.md +141 -0
  38. package/plugins/ima-claude/skills/design-to-code/references/phase-b-prompt-to-code.md +155 -0
  39. package/plugins/ima-claude/skills/design-to-code/references/prompt-template.md +95 -0
  40. package/plugins/ima-claude/skills/discourse/SKILL.md +79 -194
  41. package/plugins/ima-claude/skills/discourse-admin/SKILL.md +41 -103
  42. package/plugins/ima-claude/skills/docs-organize/SKILL.md +63 -203
  43. package/plugins/ima-claude/skills/ember-discourse/SKILL.md +90 -200
  44. package/plugins/ima-claude/skills/espocrm/SKILL.md +14 -23
  45. package/plugins/ima-claude/skills/espocrm-api/SKILL.md +79 -192
  46. package/plugins/ima-claude/skills/functional-programmer/SKILL.md +33 -237
  47. package/plugins/ima-claude/skills/gh-cli/SKILL.md +26 -65
  48. package/plugins/ima-claude/skills/ima-bootstrap/SKILL.md +71 -104
  49. package/plugins/ima-claude/skills/ima-bootstrap/references/ima-brand.md +32 -22
  50. package/plugins/ima-claude/skills/ima-brand/SKILL.md +18 -23
  51. package/plugins/ima-claude/skills/ima-copywriting/SKILL.md +68 -179
  52. package/plugins/ima-claude/skills/ima-doc2pdf/SKILL.md +32 -102
  53. package/plugins/ima-claude/skills/ima-editorial-scorecard/SKILL.md +38 -63
  54. package/plugins/ima-claude/skills/ima-editorial-workflow/SKILL.md +69 -114
  55. package/plugins/ima-claude/skills/ima-email-creator/SKILL.md +16 -22
  56. package/plugins/ima-claude/skills/ima-forms-expert/SKILL.md +21 -37
  57. package/plugins/ima-claude/skills/jira-checkpoint/SKILL.md +39 -120
  58. package/plugins/ima-claude/skills/jquery/SKILL.md +107 -233
  59. package/plugins/ima-claude/skills/js-fp/SKILL.md +75 -296
  60. package/plugins/ima-claude/skills/js-fp-api/SKILL.md +52 -162
  61. package/plugins/ima-claude/skills/js-fp-react/SKILL.md +47 -270
  62. package/plugins/ima-claude/skills/js-fp-vue/SKILL.md +55 -209
  63. package/plugins/ima-claude/skills/js-fp-wordpress/SKILL.md +59 -204
  64. package/plugins/ima-claude/skills/livecanvas/SKILL.md +19 -32
  65. package/plugins/ima-claude/skills/mcp-atlassian/SKILL.md +146 -136
  66. package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-attachments.md +115 -0
  67. package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-auth.md +103 -0
  68. package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-bulk.md +149 -0
  69. package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-misc.md +195 -0
  70. package/plugins/ima-claude/skills/mcp-atlassian/references/direct-api-sprints.md +158 -0
  71. package/plugins/ima-claude/skills/mcp-context7/SKILL.md +32 -64
  72. package/plugins/ima-claude/skills/mcp-gitea/SKILL.md +98 -188
  73. package/plugins/ima-claude/skills/mcp-github/SKILL.md +60 -124
  74. package/plugins/ima-claude/skills/mcp-memory/SKILL.md +1 -177
  75. package/plugins/ima-claude/skills/mcp-qdrant/SKILL.md +58 -115
  76. package/plugins/ima-claude/skills/mcp-sequential/SKILL.md +32 -87
  77. package/plugins/ima-claude/skills/mcp-serena/SKILL.md +54 -80
  78. package/plugins/ima-claude/skills/mcp-tavily/SKILL.md +40 -63
  79. package/plugins/ima-claude/skills/mcp-vestige/SKILL.md +75 -116
  80. package/plugins/ima-claude/skills/php-authnet/SKILL.md +32 -65
  81. package/plugins/ima-claude/skills/php-fp/SKILL.md +50 -129
  82. package/plugins/ima-claude/skills/php-fp-wordpress/SKILL.md +25 -73
  83. package/plugins/ima-claude/skills/phpunit-wp/SKILL.md +103 -463
  84. package/plugins/ima-claude/skills/playwright/SKILL.md +69 -220
  85. package/plugins/ima-claude/skills/prompt-starter/SKILL.md +35 -82
  86. package/plugins/ima-claude/skills/prompt-starter/references/code-review.md +38 -0
  87. package/plugins/ima-claude/skills/py-fp/SKILL.md +78 -384
  88. package/plugins/ima-claude/skills/quasar-fp/SKILL.md +54 -255
  89. package/plugins/ima-claude/skills/quickstart/SKILL.md +7 -11
  90. package/plugins/ima-claude/skills/rails/SKILL.md +63 -184
  91. package/plugins/ima-claude/skills/resume-session/SKILL.md +14 -35
  92. package/plugins/ima-claude/skills/rg/SKILL.md +61 -146
  93. package/plugins/ima-claude/skills/ruby-fp/SKILL.md +66 -163
  94. package/plugins/ima-claude/skills/save-session/SKILL.md +10 -39
  95. package/plugins/ima-claude/skills/scorecard/SKILL.md +24 -38
  96. package/plugins/ima-claude/skills/skill-analyzer/SKILL.md +42 -71
  97. package/plugins/ima-claude/skills/skill-creator/SKILL.md +79 -250
  98. package/plugins/ima-claude/skills/task-master/SKILL.md +11 -31
  99. package/plugins/ima-claude/skills/task-planner/SKILL.md +44 -153
  100. package/plugins/ima-claude/skills/task-runner/SKILL.md +61 -143
  101. package/plugins/ima-claude/skills/unit-testing/SKILL.md +59 -134
  102. package/plugins/ima-claude/skills/wp-ddev/SKILL.md +38 -120
  103. package/plugins/ima-claude/skills/wp-local/SKILL.md +26 -108
@@ -6,338 +6,167 @@ license: Complete terms in LICENSE.txt
6
6
 
7
7
  # Skill Creator
8
8
 
9
- Guide for creating skills—modular packages that provide Claude with specialized workflows, tool integrations, and domain expertise.
10
-
11
9
  ## Core Principles
12
10
 
13
11
  ### Concise is Key
14
12
 
15
- The context window is a public good. Skills share the context window with everything else Claude needs: system prompt, conversation history, other Skills' metadata, and the actual user request.
16
-
17
- **Default assumption: Claude is already very smart.** Only add context Claude doesn't already have. Challenge each piece of information: "Does Claude really need this explanation?" and "Does this paragraph justify its token cost?"
18
-
19
- Prefer concise examples over verbose explanations.
13
+ Context window is shared. Only add context Claude doesn't already have. Challenge each piece: "Does Claude need this?" and "Does this justify its token cost?" Prefer concise examples over verbose explanations.
20
14
 
21
15
  ### Set Appropriate Degrees of Freedom
22
16
 
23
- Match the level of specificity to the task's fragility and variability:
24
-
25
- **High freedom (text-based instructions)**: Use when multiple approaches are valid, decisions depend on context, or heuristics guide the approach.
26
-
27
- **Medium freedom (pseudocode or scripts with parameters)**: Use when a preferred pattern exists, some variation is acceptable, or configuration affects behavior.
28
-
29
- **Low freedom (specific scripts, few parameters)**: Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.
30
-
31
- Think of Claude as exploring a path: a narrow bridge with cliffs needs specific guardrails (low freedom), while an open field allows many routes (high freedom).
17
+ | Freedom | When to use |
18
+ |---------|-------------|
19
+ | High (text instructions) | Multiple valid approaches, context-dependent decisions |
20
+ | Medium (pseudocode + params) | Preferred pattern exists, some variation acceptable |
21
+ | Low (specific scripts) | Fragile operations, critical consistency, fixed sequence |
32
22
 
33
23
  ### Anatomy of a Skill
34
24
 
35
- Every skill consists of a required SKILL.md file and optional bundled resources:
36
-
37
25
  ```
38
26
  skill-name/
39
27
  ├── SKILL.md (required)
40
- │ ├── YAML frontmatter metadata (required)
41
- │ ├── name: (required)
42
- │ │ ├── description: (required)
43
- │ │ └── compatibility: (optional, rarely needed)
44
- │ └── Markdown instructions (required)
28
+ │ ├── YAML frontmatter: name (required), description (required), compatibility (optional)
29
+ └── Markdown instructions
45
30
  └── Bundled Resources (optional)
46
- ├── scripts/ - Executable code (Python/Bash/etc.)
47
- ├── references/ - Documentation intended to be loaded into context as needed
48
- └── assets/ - Files used in output (templates, icons, fonts, etc.)
31
+ ├── scripts/ - Executable code (Python/Bash/etc.)
32
+ ├── references/ - Documentation loaded into context as needed
33
+ └── assets/ - Files used in output (templates, icons, fonts)
49
34
  ```
50
35
 
51
- #### SKILL.md (required)
52
-
53
- Every SKILL.md consists of:
54
-
55
- - **Frontmatter** (YAML): Contains `name` and `description` fields (required), plus optional fields like `license`, `metadata`, and `compatibility`. Only `name` and `description` are read by Claude to determine when the skill triggers, so be clear and comprehensive about what the skill is and when it should be used. The `compatibility` field is for noting environment requirements (target product, system packages, etc.) but most skills don't need it.
56
- - **Body** (Markdown): Instructions and guidance for using the skill. Only loaded AFTER the skill triggers (if at all).
57
-
58
- #### Bundled Resources (optional)
36
+ #### SKILL.md
59
37
 
60
- ##### Scripts (`scripts/`)
38
+ - **Frontmatter**: `name` and `description` are the only fields Claude reads for triggering. Make `description` comprehensive — "when to use" info belongs here, not in the body (body loads only after triggering).
39
+ - **Body**: Instructions and guidance. Loaded after skill triggers.
61
40
 
62
- Executable code (Python/Bash/etc.) for tasks that require deterministic reliability or are repeatedly rewritten.
41
+ #### Scripts (`scripts/`)
63
42
 
64
- - **When to include**: When the same code is being rewritten repeatedly or deterministic reliability is needed
65
- - **Example**: `scripts/rotate_pdf.py` for PDF rotation tasks
66
- - **Benefits**: Token efficient, deterministic, may be executed without loading into context
67
- - **Note**: Scripts may still need to be read by Claude for patching or environment-specific adjustments
43
+ Include when same code is rewritten repeatedly or deterministic reliability is needed.
44
+ - Token efficient, deterministic, may execute without loading into context
45
+ - Scripts may still be read for patching or environment-specific adjustments
68
46
 
69
- ##### References (`references/`)
47
+ #### References (`references/`)
70
48
 
71
- Documentation and reference material intended to be loaded as needed into context to inform Claude's process and thinking.
49
+ Documentation loaded as needed into context to inform Claude's process.
50
+ - Use for: database schemas, API docs, domain knowledge, company policies, workflow guides
51
+ - Keeps SKILL.md lean. Information lives in either SKILL.md or references — not both.
52
+ - If files >10k words, include grep search patterns in SKILL.md
53
+ - For files >100 lines, include table of contents so Claude can preview scope
72
54
 
73
- - **When to include**: For documentation that Claude should reference while working
74
- - **Examples**: `references/finance.md` for financial schemas, `references/mnda.md` for company NDA template, `references/policies.md` for company policies, `references/api_docs.md` for API specifications
75
- - **Use cases**: Database schemas, API documentation, domain knowledge, company policies, detailed workflow guides
76
- - **Benefits**: Keeps SKILL.md lean, loaded only when Claude determines it's needed
77
- - **Best practice**: If files are large (>10k words), include grep search patterns in SKILL.md
78
- - **Avoid duplication**: Information should live in either SKILL.md or references files, not both. Prefer references files for detailed information unless it's truly core to the skill—this keeps SKILL.md lean while making information discoverable without hogging the context window. Keep only essential procedural instructions and workflow guidance in SKILL.md; move detailed reference material, schemas, and examples to references files.
55
+ #### Assets (`assets/`)
79
56
 
80
- ##### Assets (`assets/`)
57
+ Files used in output, not loaded into context.
58
+ - Use for: templates, images, boilerplate code, fonts, sample documents
81
59
 
82
- Files not intended to be loaded into context, but rather used within the output Claude produces.
60
+ #### What Not to Include
83
61
 
84
- - **When to include**: When the skill needs files that will be used in the final output
85
- - **Examples**: `assets/logo.png` for brand assets, `assets/slides.pptx` for PowerPoint templates, `assets/frontend-template/` for HTML/React boilerplate, `assets/font.ttf` for typography
86
- - **Use cases**: Templates, images, icons, boilerplate code, fonts, sample documents that get copied or modified
87
- - **Benefits**: Separates output resources from documentation, enables Claude to use files without loading them into context
62
+ No auxiliary documentation: README.md, INSTALLATION_GUIDE.md, QUICK_REFERENCE.md, CHANGELOG.md, etc. Only files that directly support functionality.
88
63
 
89
- #### What to Not Include in a Skill
64
+ ### Progressive Disclosure
90
65
 
91
- A skill should only contain essential files that directly support its functionality. Do NOT create extraneous documentation or auxiliary files, including:
66
+ Three loading levels:
67
+ 1. **Metadata (name + description)** — always in context (~100 words)
68
+ 2. **SKILL.md body** — when skill triggers (<5k words, under 500 lines)
69
+ 3. **Bundled resources** — as needed by Claude
92
70
 
93
- - README.md
94
- - INSTALLATION_GUIDE.md
95
- - QUICK_REFERENCE.md
96
- - CHANGELOG.md
97
- - etc.
98
-
99
- The skill should only contain the information needed for an AI agent to do the job at hand. It should not contain auxilary context about the process that went into creating it, setup and testing procedures, user-facing documentation, etc. Creating additional documentation files just adds clutter and confusion.
100
-
101
- ### Progressive Disclosure Design Principle
102
-
103
- Skills use a three-level loading system to manage context efficiently:
104
-
105
- 1. **Metadata (name + description)** - Always in context (~100 words)
106
- 2. **SKILL.md body** - When skill triggers (<5k words)
107
- 3. **Bundled resources** - As needed by Claude (Unlimited because scripts can be executed without reading into context window)
108
-
109
- #### Progressive Disclosure Patterns
110
-
111
- Keep SKILL.md body to the essentials and under 500 lines to minimize context bloat. Split content into separate files when approaching this limit. When splitting out content into other files, it is very important to reference them from SKILL.md and describe clearly when to read them, to ensure the reader of the skill knows they exist and when to use them.
112
-
113
- **Key principle:** When a skill supports multiple variations, frameworks, or options, keep only the core workflow and selection guidance in SKILL.md. Move variant-specific details (patterns, examples, configuration) into separate reference files.
114
-
115
- **Pattern 1: High-level guide with references**
71
+ Keep SKILL.md body lean. Reference other files clearly with when-to-read guidance.
116
72
 
73
+ **Pattern 1: Guide with references**
117
74
  ```markdown
118
- # PDF Processing
119
-
120
- ## Quick start
121
-
122
- Extract text with pdfplumber:
123
- [code example]
124
-
125
75
  ## Advanced features
126
-
127
76
  - **Form filling**: See [FORMS.md](FORMS.md) for complete guide
128
77
  - **API reference**: See [REFERENCE.md](REFERENCE.md) for all methods
129
- - **Examples**: See [EXAMPLES.md](EXAMPLES.md) for common patterns
130
78
  ```
131
79
 
132
- Claude loads FORMS.md, REFERENCE.md, or EXAMPLES.md only when needed.
133
-
134
80
  **Pattern 2: Domain-specific organization**
135
-
136
- For Skills with multiple domains, organize content by domain to avoid loading irrelevant context:
137
-
138
81
  ```
139
82
  bigquery-skill/
140
83
  ├── SKILL.md (overview and navigation)
141
84
  └── reference/
142
- ├── finance.md (revenue, billing metrics)
143
- ├── sales.md (opportunities, pipeline)
144
- ├── product.md (API usage, features)
145
- └── marketing.md (campaigns, attribution)
146
- ```
147
-
148
- When a user asks about sales metrics, Claude only reads sales.md.
149
-
150
- Similarly, for skills supporting multiple frameworks or variants, organize by variant:
151
-
152
- ```
153
- cloud-deploy/
154
- ├── SKILL.md (workflow + provider selection)
155
- └── references/
156
- ├── aws.md (AWS deployment patterns)
157
- ├── gcp.md (GCP deployment patterns)
158
- └── azure.md (Azure deployment patterns)
85
+ ├── finance.md
86
+ ├── sales.md
87
+ └── product.md
159
88
  ```
160
-
161
- When the user chooses AWS, Claude only reads aws.md.
89
+ Claude reads only the relevant domain file.
162
90
 
163
91
  **Pattern 3: Conditional details**
164
-
165
- Show basic content, link to advanced content:
166
-
167
92
  ```markdown
168
- # DOCX Processing
169
-
170
- ## Creating documents
171
-
172
- Use docx-js for new documents. See [DOCX-JS.md](DOCX-JS.md).
173
-
174
- ## Editing documents
175
-
176
- For simple edits, modify the XML directly.
177
-
178
93
  **For tracked changes**: See [REDLINING.md](REDLINING.md)
179
94
  **For OOXML details**: See [OOXML.md](OOXML.md)
180
95
  ```
181
96
 
182
- Claude reads REDLINING.md or OOXML.md only when the user needs those features.
183
-
184
- **Important guidelines:**
185
-
186
- - **Avoid deeply nested references** - Keep references one level deep from SKILL.md. All reference files should link directly from SKILL.md.
187
- - **Structure longer reference files** - For files longer than 100 lines, include a table of contents at the top so Claude can see the full scope when previewing.
97
+ Avoid deeply nested references keep all reference files one level from SKILL.md.
188
98
 
189
99
  ## Skill Creation Process
190
100
 
191
- Skill creation involves these steps:
192
-
193
101
  1. Understand the skill with concrete examples
194
102
  2. Plan reusable skill contents (scripts, references, assets)
195
- 3. Initialize the skill (run init_skill.py)
196
- 4. Edit the skill (implement resources and write SKILL.md)
197
- 5. Package the skill (run package_skill.py)
103
+ 3. Initialize the skill (`init_skill.py`)
104
+ 4. Edit the skill (implement resources, write SKILL.md)
105
+ 5. Package the skill (`package_skill.py`)
198
106
  6. Iterate based on real usage
199
107
 
200
- Follow these steps in order, skipping only if there is a clear reason why they are not applicable.
201
-
202
- ### Step 1: Understanding the Skill with Concrete Examples
203
-
204
- Skip this step only when the skill's usage patterns are already clearly understood. It remains valuable even when working with an existing skill.
205
-
206
- To create an effective skill, clearly understand concrete examples of how the skill will be used. This understanding can come from either direct user examples or generated examples that are validated with user feedback.
207
-
208
- For example, when building an image-editor skill, relevant questions include:
209
-
210
- - "What functionality should the image-editor skill support? Editing, rotating, anything else?"
211
- - "Can you give some examples of how this skill would be used?"
212
- - "I can imagine users asking for things like 'Remove the red-eye from this image' or 'Rotate this image'. Are there other ways you imagine this skill being used?"
213
- - "What would a user say that should trigger this skill?"
214
-
215
- To avoid overwhelming users, avoid asking too many questions in a single message. Start with the most important questions and follow up as needed for better effectiveness.
216
-
217
- Conclude this step when there is a clear sense of the functionality the skill should support.
218
-
219
- ### Step 2: Planning the Reusable Skill Contents
220
-
221
- To turn concrete examples into an effective skill, analyze each example by:
108
+ ### Step 1: Understand with Concrete Examples
222
109
 
223
- 1. Considering how to execute on the example from scratch
224
- 2. Identifying what scripts, references, and assets would be helpful when executing these workflows repeatedly
110
+ Clarify usage patterns before building. Ask:
111
+ - "What functionality should this skill support?"
112
+ - "Can you give examples of how it would be used?"
113
+ - "What would a user say to trigger this skill?"
225
114
 
226
- Example: When building a `pdf-editor` skill to handle queries like "Help me rotate this PDF," the analysis shows:
115
+ Avoid multiple questions in one message. Conclude when functionality is clear.
227
116
 
228
- 1. Rotating a PDF requires re-writing the same code each time
229
- 2. A `scripts/rotate_pdf.py` script would be helpful to store in the skill
117
+ ### Step 2: Plan Reusable Contents
230
118
 
231
- Example: When designing a `frontend-webapp-builder` skill for queries like "Build me a todo app" or "Build me a dashboard to track my steps," the analysis shows:
119
+ Analyze each example:
120
+ 1. How would you execute this from scratch?
121
+ 2. What scripts, references, or assets would help when repeating this?
232
122
 
233
- 1. Writing a frontend webapp requires the same boilerplate HTML/React each time
234
- 2. An `assets/hello-world/` template containing the boilerplate HTML/React project files would be helpful to store in the skill
123
+ Examples:
124
+ - `pdf-editor` rotate PDF repeatedly → `scripts/rotate_pdf.py`
125
+ - `frontend-webapp-builder` → same boilerplate each time → `assets/hello-world/` template
126
+ - `big-query` → re-discover schemas each time → `references/schema.md`
235
127
 
236
- Example: When building a `big-query` skill to handle queries like "How many users have logged in today?" the analysis shows:
128
+ ### Step 3: Initialize the Skill
237
129
 
238
- 1. Querying BigQuery requires re-discovering the table schemas and relationships each time
239
- 2. A `references/schema.md` file documenting the table schemas would be helpful to store in the skill
240
-
241
- To establish the skill's contents, analyze each concrete example to create a list of the reusable resources to include: scripts, references, and assets.
242
-
243
- ### Step 3: Initializing the Skill
244
-
245
- At this point, it is time to actually create the skill.
246
-
247
- Skip this step only if the skill being developed already exists, and iteration or packaging is needed. In this case, continue to the next step.
248
-
249
- When creating a new skill from scratch, always run the `init_skill.py` script. The script conveniently generates a new template skill directory that automatically includes everything a skill requires, making the skill creation process much more efficient and reliable.
250
-
251
- Usage:
130
+ Run `init_skill.py` for all new skills:
252
131
 
253
132
  ```bash
254
133
  scripts/init_skill.py <skill-name> --path <output-directory>
255
134
  ```
256
135
 
257
- The script:
258
-
259
- - Creates the skill directory at the specified path
260
- - Generates a SKILL.md template with proper frontmatter and TODO placeholders
261
- - Creates example resource directories: `scripts/`, `references/`, and `assets/`
262
- - Adds example files in each directory that can be customized or deleted
136
+ Creates: skill directory, SKILL.md template with frontmatter, example `scripts/`, `references/`, `assets/` dirs.
263
137
 
264
- After initialization, customize or remove the generated SKILL.md and example files as needed.
138
+ Skip only if skill already exists and needs iteration or packaging.
265
139
 
266
140
  ### Step 4: Edit the Skill
267
141
 
268
- When editing the (newly-generated or existing) skill, remember that the skill is being created for another instance of Claude to use. Include information that would be beneficial and non-obvious to Claude. Consider what procedural knowledge, domain-specific details, or reusable assets would help another Claude instance execute these tasks more effectively.
269
-
270
- #### Learn Proven Design Patterns
271
-
272
- Consult these helpful guides based on your skill's needs:
273
-
274
- - **Multi-step processes**: See references/workflows.md for sequential workflows and conditional logic
275
- - **Specific output formats or quality standards**: See references/output-patterns.md for template and example patterns
142
+ Write for another Claude instance. Include procedural knowledge, domain details, and reusable assets that would be non-obvious.
276
143
 
277
- These files contain established best practices for effective skill design.
144
+ **Consult design pattern guides:**
145
+ - Multi-step processes → `references/workflows.md`
146
+ - Output formats/quality standards → `references/output-patterns.md`
278
147
 
279
- #### Start with Reusable Skill Contents
148
+ **Start with reusable contents** (scripts, references, assets) before writing SKILL.md. Test scripts by running them. Delete unused example files from initialization.
280
149
 
281
- To begin implementation, start with the reusable resources identified above: `scripts/`, `references/`, and `assets/` files. Note that this step may require user input. For example, when implementing a `brand-guidelines` skill, the user may need to provide brand assets or templates to store in `assets/`, or documentation to store in `references/`.
150
+ **Frontmatter rules:**
151
+ - `name`: skill name
152
+ - `description`: primary trigger mechanism — include what skill does AND when to use it. Put all "when to use" info here.
153
+ - No other YAML fields.
282
154
 
283
- Added scripts must be tested by actually running them to ensure there are no bugs and that the output matches what is expected. If there are many similar scripts, only a representative sample needs to be tested to ensure confidence that they all work while balancing time to completion.
155
+ **Body writing:** Use imperative/infinitive form ("Use X", not "You should consider using X").
284
156
 
285
- Any example files and directories not needed for the skill should be deleted. The initialization script creates example files in `scripts/`, `references/`, and `assets/` to demonstrate structure, but most skills won't need all of them.
286
-
287
- #### Update SKILL.md
288
-
289
- **Writing Guidelines:** Always use imperative/infinitive form.
290
-
291
- ##### Frontmatter
292
-
293
- Write the YAML frontmatter with `name` and `description`:
294
-
295
- - `name`: The skill name
296
- - `description`: This is the primary triggering mechanism for your skill, and helps Claude understand when to use the skill.
297
- - Include both what the Skill does and specific triggers/contexts for when to use it.
298
- - Include all "when to use" information here - Not in the body. The body is only loaded after triggering, so "When to Use This Skill" sections in the body are not helpful to Claude.
299
- - Example description for a `docx` skill: "Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. Use when Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks"
300
-
301
- Do not include any other fields in YAML frontmatter.
302
-
303
- ##### Body
304
-
305
- Write instructions for using the skill and its bundled resources.
306
-
307
- ### Step 5: Packaging a Skill
308
-
309
- Once development of the skill is complete, it must be packaged into a distributable .skill file that gets shared with the user. The packaging process automatically validates the skill first to ensure it meets all requirements:
157
+ ### Step 5: Package
310
158
 
311
159
  ```bash
312
160
  scripts/package_skill.py <path/to/skill-folder>
313
- ```
314
-
315
- Optional output directory specification:
316
-
317
- ```bash
161
+ # Optional output dir:
318
162
  scripts/package_skill.py <path/to/skill-folder> ./dist
319
163
  ```
320
164
 
321
- The packaging script will:
322
-
323
- 1. **Validate** the skill automatically, checking:
324
-
325
- - YAML frontmatter format and required fields
326
- - Skill naming conventions and directory structure
327
- - Description completeness and quality
328
- - File organization and resource references
329
-
330
- 2. **Package** the skill if validation passes, creating a .skill file named after the skill (e.g., `my-skill.skill`) that includes all files and maintains the proper directory structure for distribution. The .skill file is a zip file with a .skill extension.
331
-
332
- If validation fails, the script will report the errors and exit without creating a package. Fix any validation errors and run the packaging command again.
165
+ Validates then packages. Validation checks: YAML format, required fields, naming conventions, description quality, file organization. Fix errors and re-run if validation fails.
333
166
 
334
167
  ### Step 6: Iterate
335
168
 
336
- After testing the skill, users may request improvements. Often this happens right after using the skill, with fresh context of how the skill performed.
337
-
338
- **Iteration workflow:**
339
-
340
- 1. Use the skill on real tasks
341
- 2. Notice struggles or inefficiencies
342
- 3. Identify how SKILL.md or bundled resources should be updated
343
- 4. Implement changes and test again
169
+ After real usage:
170
+ 1. Notice struggles or inefficiencies
171
+ 2. Identify SKILL.md or resource updates needed
172
+ 3. Implement changes and test again
@@ -5,47 +5,27 @@ description: "Default orchestration skill for ALL non-trivial tasks. Umbrella th
5
5
 
6
6
  # Task Master - Orchestration Umbrella
7
7
 
8
- **"Slow is smooth, smooth is fast."**
9
-
10
- Complex work fails when we dive in without structure. Task Master coordinates two phases: planning the work and executing through delegation.
11
-
12
- ## Core Philosophy
13
-
14
- **Think before acting. Plan before implementing. Delegate before coding.**
15
-
16
- Every hour of planning saves 10 hours of rework. The urge to "just start coding" is the enemy of clean architecture and maintainable systems.
8
+ Think before acting. Plan before implementing. Delegate before coding.
17
9
 
18
10
  ## Phase Dispatch
19
11
 
20
12
  ```
21
13
  Do you have an approved plan with decomposed tasks?
22
- ├── No → Use task-planner to decompose the work
23
- │ (Epic > Story > Task hierarchy, storage strategy)
24
-
25
- └── Yes → Use task-runner to delegate to agents
26
- (Model selection, skill assignment, parallel execution)
14
+ ├── No → task-planner (Epic > Story > Task hierarchy, storage strategy)
15
+ └── Yes task-runner (model selection, skill assignment, parallel execution)
27
16
  ```
28
17
 
29
- **REQUIRED SUB-SKILL:** Use `task-planner` for decomposition (Epic > Story > Task hierarchy, storage strategy selection).
30
-
31
- **REQUIRED SUB-SKILL:** Use `task-runner` for delegation (model selection, skill assignment, agent execution).
32
-
33
- ## Quick Decision Tree
18
+ ## Decision Tree
34
19
 
35
20
  | Situation | Action |
36
21
  |-----------|--------|
37
- | New request, no plan yet | `/ima-claude:task-planner` |
38
- | Plan approved, tasks ready | `/ima-claude:task-runner` |
39
- | Mid-session, need to re-plan | `/ima-claude:task-planner` |
40
- | Subagent failed, need to retry | `/ima-claude:task-runner` |
22
+ | New request, no plan yet | `/ima-claude:task-planner` |
23
+ | Plan approved, tasks ready | `/ima-claude:task-runner` |
24
+ | Mid-session, need to re-plan | `/ima-claude:task-planner` |
25
+ | Subagent failed, need to retry | `/ima-claude:task-runner` |
26
+ | Subagent returned `ESCALATION: <trigger>` | Opus arbitrates, then `/ima-claude:task-runner` with resolution added to task |
41
27
  | Not sure if trivial | If >1 file or >5 lines or judgment needed → task-master |
42
28
 
43
- ## Integration Points
29
+ ## Advisor Pattern
44
30
 
45
- This skill works with:
46
- - **task-planner** - Decomposition, hierarchy, storage strategy
47
- - **task-runner** - Delegation, model selection, execution
48
- - **mcp-serena** - For persistent memory across sessions
49
- - **mcp-vestige** - For cross-project decisions, patterns, and intentions
50
- - **architect** - For evaluating architectural choices during planning
51
- - **save-session / resume-session** - For session state management
31
+ Executor agents (sonnet/haiku) escalate out-of-scope forks to the parent session (opus) via structured `ESCALATION:` return — see `task-runner` for handling. This keeps work on cheap models while reserving opus for the decisions it's actually good at. Don't rewrite the escalation as a normal retry; handle it as arbitration.