skill-writer

Create, synthesize, and iteratively improve agent skills following the Agent Skills specification. Use when asked to "create a skill", "write a skill", "synthesize sources into a skill", "improve a skill from positive/negative examples", "update a skill", or "maintain skill docs and registration". Handles source capture, depth gates, authoring, registration, and validation.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "skill-writer" with this command: npx skills add getsentry/skills/getsentry-skills-skill-writer

Skill Writer

Use this as the single canonical workflow for skill creation and improvement. Primary success condition: maximize high-value input coverage before authoring while minimizing wasted runtime tokens.

Load only the path(s) required for the task. SKILL.md is the primary router: every bundled reference file should have a direct "open when..." reason here.

Core Workflow References

Open when you need to...Read
choose the minimum workflow path for create, update, iterate, or research-first workreferences/mode-selection.md
choose the simplest adequate execution shape before deciding filesreferences/execution-shapes.md
apply writing constraints for depth, concision, and portabilityreferences/design-principles.md
decide what belongs in SKILL.md, references/, SPEC.md, or subfoldersreferences/reference-architecture.md
create or update the maintenance contract for a skillreferences/spec-template.md
find missing high-signal sources, including history and regressionsreferences/source-discovery.md
run the full synthesis pass with depth gates and source capturereferences/synthesis-path.md
author or update SKILL.md, SPEC.md, and supporting filesreferences/authoring-path.md
improve trigger language and false-positive/false-negative behaviorreferences/description-optimization.md
iterate from positive, negative, or fix examplesreferences/iteration-path.md
store persistent working and holdout examples for future revisionsreferences/iteration-evidence.md
choose a response template, schema, or output contractreferences/output-contracts.md
troubleshoot overloaded layouts, hidden refs, or other structure failuresreferences/structure-troubleshooting.md
verify a risky, disputed, or explicitly requested changereferences/evaluation-path.md
register the skill and run final validation checksreferences/registration-validation.md

Artifact Layout References

Open when you need to...Read
keep the whole skill inline in one coherent SKILL.mdreferences/artifact-layouts/inline-skill-layout.md
split optional deep knowledge into focused routed referencesreferences/artifact-layouts/reference-backed-skill-layout.md
add scripts for deterministic automation or validationreferences/artifact-layouts/script-backed-skill-layout.md
define a skill that is usually invoked with explicit argumentsreferences/artifact-layouts/argument-driven-skill-layout.md
ship reusable templates, schemas, or other static assetsreferences/artifact-layouts/asset-template-skill-layout.md

Workflow Mechanic References

Open when you need to...Read
break a task into fixed ordered stepsreferences/workflow-mechanics/prompt-chaining.md
classify requests and route them to different downstream pathsreferences/workflow-mechanics/routing-workflows.md
split independent work into parallel units or votesreferences/workflow-mechanics/parallel-workflows.md
discover work units dynamically and coordinate worker outputsreferences/workflow-mechanics/orchestrator-workers.md
critique and revise output against a rubricreferences/workflow-mechanics/evaluator-loops.md
run validate-fix-repeat checks during authoring or executionreferences/workflow-mechanics/validation-loops.md
validate a plan before executing a risky actionreferences/workflow-mechanics/plan-validate-execute.md

Claude Code References

Open when you need to...Read
use Claude-specific frontmatter or invocation controlsreferences/claude-code/frontmatter-and-invocation.md
use Claude argument fields or substitution variablesreferences/claude-code/argument-substitutions.md
build a skill that runs in isolated context: forkreferences/claude-code/subagent-fork-skills.md
build a skill that uses Claude hooks for deterministic enforcementreferences/claude-code/hook-backed-skills.md
use Claude shell preprocessing for dynamic context injectionreferences/claude-code/dynamic-context.md

Example Profiles

Open when you need to...Read
see the expected depth for a documentation-heavy skillreferences/examples/documentation-skill.md
see the expected depth for a security-review skillreferences/examples/security-review-skill.md
see the expected depth for a workflow-process skillreferences/examples/workflow-process-skill.md
see what a good routed skill looks likereferences/examples/router-skill.md
see what a good evaluator-loop skill looks likereferences/examples/evaluator-loop-skill.md
see what a good subagent-fork skill looks likereferences/examples/subagent-fork-skill.md
see what a good hook-backed skill looks likereferences/examples/hook-backed-skill.md

Step 1: Resolve target, path, and shape

  1. Resolve the intended operation (create, update, synthesize, iterate) and inspect workspace prior art before choosing where files belong.
  2. Choose the target skill root from observed conventions. If the canonical location is still unclear after inspection, ask one direct question before editing files.
  3. Read references/mode-selection.md to choose the minimum required workflow paths.
  4. Read references/execution-shapes.md to choose the primary execution shape.
  5. Default to the simplest adequate shape. If selecting a more complex shape, record why simpler shapes were rejected.
  6. Load only the exact artifact-layout, workflow-mechanic, and provider-specific leaf files required by that shape.
  7. Record portability implications before using provider-specific mechanics.

Step 2: Run synthesis when needed

Read references/synthesis-path.md.

  1. Use this path for new skills, material changes, and research-first planning.
  2. Collect and score relevant sources with provenance.
  3. Read references/source-discovery.md when source material is thin, stale, or ambiguous.
  4. Produce source-backed decisions and coverage/gap status, including the class and execution-shape choice.
  5. Load example profiles only when they add concrete depth for the selected class or shape.
  6. If the skill uses provider-specific mechanics, include current official provider docs and capture usage constraints.
  7. Do not move to authoring until depth gates pass.

Step 3: Run iteration first when improving from outcomes/examples

Read references/iteration-path.md first when selected path includes iteration (for example operation iterate).

  1. Capture and anonymize examples with provenance.
  2. Read references/iteration-evidence.md when examples should persist beyond the current turn.
  3. Re-evaluate skill behavior against working and holdout slices.
  4. Propose improvements from positive/negative/fix evidence.
  5. Carry concrete behavior deltas into authoring.

Skip this step when selected path does not include iteration.

Step 4: Author or update skill artifacts

Read references/authoring-path.md.

  1. Write or update SKILL.md in imperative voice with trigger-rich description.
  2. Keep SKILL.md as the runtime router, not an encyclopedia.
  3. Read references/reference-architecture.md before adding bulk instructions or new reference files.
  4. Create or update SPEC.md using references/spec-template.md when creating a new skill or materially changing its contract.
  5. Create focused reference files, subfolders, scripts, and assets only when each one has a clear "open when..." reason.
  6. If you add a bundled reference file, add a direct routing entry for it in this SKILL.md.
  7. Prefer checklists, tables, templates, and input/output examples over explanatory prose.
  8. Follow only the specific artifact-layout, workflow-mechanic, Claude-specific, and output-contract references selected for this skill.
  9. For advanced execution shapes, add the required routing, delegation, or safety contracts before considering the skill complete.
  10. For authoring/generator skills, include transformed examples in references:
  • happy-path
  • secure/robust variant
  • anti-pattern + corrected version

Step 5: Optimize description quality

Read references/description-optimization.md.

  1. Validate should-trigger and should-not-trigger query sets.
  2. Reduce false positives and false negatives with targeted description edits.
  3. Keep trigger language generic across providers unless the skill is intentionally provider-specific.

Step 6: Evaluate only when needed

  1. Read references/evaluation-path.md only when the user asks for evaluation, the change is high-risk, or the architecture choice is non-obvious.
  2. If you run evaluation, start with the lightweight qualitative check.
  3. Run deeper evals only when requested or risk warrants it.
  4. Record outcomes and unresolved risks when evaluation is run.

Step 7: Register and validate

Read references/registration-validation.md.

  1. Apply repository registration steps for the active layout you verified in the workspace.
  2. Run quick validation with strict depth gates.
  3. Reject shallow outputs that fail depth gates or required artifact checks.

Output format

Return:

  1. Summary
  2. Changes Made
  3. Validation Results
  4. Open Gaps

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

agents-md

No summary provided by upstream source.

Repository SourceNeeds Review
Security

security-review

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-simplifier

No summary provided by upstream source.

Repository SourceNeeds Review
General

find-bugs

No summary provided by upstream source.

Repository SourceNeeds Review