All skills
getsentry avatar

/skill-writer

@5a64b36 official
by Sentrygetsentry/skills1k stars
53

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, precision passes, authoring, registration, and validation.

Use this Skill: https://skilld.dev/gh/getsentry/skills/skill-writer

This session only. Nothing lands on disk.

referencesexample-documentation-skill.md

≈705 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Case Study: Documentation Skill Synthesis

Scenario

Goal: create a skill that helps an agent answer and author code for a library without repeatedly re-reading upstream docs.

Input collection approach

This case used breadth-first source collection and only stopped when new retrieval yielded mostly duplicates:

  1. Official docs landing pages and navigation trees.
  2. All API/class/module reference pages.
  3. Configuration and environment reference pages.
  4. Official examples/tutorials.
  5. Troubleshooting/error catalog pages.
  6. Migration/deprecation/changelog pages.
  7. Upstream repo README plus canonical examples.
  8. In-repo usage of the library (rg on imports and key APIs).

Coverage matrix used

Required dimensions tracked during synthesis:

  1. Setup and installation.
  2. Core primitives and API surface.
  3. Configuration and runtime options.
  4. Normal usage patterns.
  5. Edge cases and failure handling.
  6. Version-specific differences.
  7. Migration and deprecation guidance.
  8. Instructional templates/examples for direct reuse.

Synthesized artifacts produced

The resulting skill references included:

  1. Happy-path implementation template.
  2. Production-safe variant with defensive defaults.
  3. Anti-pattern and corrected implementation.
  4. Intent-to-reference routing guide (which section to load for which user request).
  5. Gap log with explicit next retrieval steps.

Source-to-decision trace (sample)

  1. Source class: migration/changelog docs. Decision: add a version-compatibility checklist section to the skill. Why: multiple API signatures existed across versions; without this, answers were inconsistent.
  2. Source class: troubleshooting/error catalog. Decision: add an error-to-fix lookup table in references. Why: user prompts often start from failures, not idealized setup.
  3. Source class: in-repo usage scan (rg). Decision: prioritize examples matching local project patterns. Why: produced outputs became directly usable with fewer edits.

Concrete artifacts (sample)

  1. Prompt and output skeleton: Prompt: "Configure <library> client for retries and auth in production." Output: a production-safe template with retry/backoff, timeout defaults, and auth placeholders.
  2. Anti-pattern transformation: Before: single inline config with no timeout/error handling. After: structured config with explicit timeout, retry policy, and failure handling notes.
  3. Reference routing snippet: If request mentions "migration" -> load migration/changelog reference first, then API reference.

What made this high quality

  1. Input retrieval was exhaustive across all doc classes, not just top pages.
  2. The skill shipped transformed examples, not citation-only notes.
  3. Coverage and gaps were explicit, so iteration could continue safely.

Source: SKILL.md on GitHub

No alerts17d5 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    The skill is a comprehensive meta-router and workflow guide for creating, updating, and evaluating agent skills. It includes a helper python script for structural validation and standard markdown templates, presenting no security risks.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

  • Runlayer6mo

    5/19 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 5a64b36. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
  • Documentation
  • skill-authoring
  • workflow
  • specification
  • synthesis
  • iteration
  • validation
  • prompt-engineering
  • agent-skills

README badge

README badge for getsentry/skills/skill-writer

Guides AI agents through a structured workflow for creating, updating, and iterating on agent skills—instruction files that extend AI coding capabilities. Includes reference files for synthesis, authoring, validation, and skill registration following the Agent Skills specification.

Generated from the current SKILL.md.

Does this skill help me write skills for Claude, or does it help Claude write skills?
This skill is loaded into Claude or another AI coding agent. It provides the agent with a standardized workflow, reference files, and decision trees for creating, updating, and iterating on skills that other agents can use.
What's the difference between create, update, synthesize, and iterate modes?
Create starts from scratch. Update modifies an existing skill. Synthesize gathers and structures source material before authoring. Iterate improves a skill based on positive, negative, or fix examples.
Do I need to read all the reference files?
No. The skill uses a step-by-step workflow that loads only the specific reference files needed for your operation. Start with mode-selection.md to determine your path, then load only the files it directs you to.
Can I use this skill to write skills for other AI providers, or only Claude?
The skill supports both provider-agnostic skills and Claude-specific mechanics. Provider-specific references are optional; the core workflow and execution shapes are portable across agents.
What does a completed skill output look like?
A skill consists of a SKILL.md file (the runtime router), optional focused reference files under references/, a SPEC.md for the maintenance contract, and optional scripts or templates. The skill-writer guides you through all artifact types and decides what belongs in each.

Generated from the current SKILL.md. These answers refresh after source changes.