Generated banner for Skill Writer
Generated logo for Skill Writer

Skill Writer

SentryOfficialPublished by Sentry

  • Skill
  • Meta (authoring, orchestration, planning, memory)
  • Agent tooling
  • Apache-2.0
  • Low risk
  • Has scripts

From the author

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.
— the description by Sentry

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

Skill Writer provides a standardized, multi-step framework for the full lifecycle of agent skill development. It acts as a router and guide, ensuring that skills are built with high-value coverage, proper architectural layout, and clear maintenance contracts. By following its defined paths—ranging from synthesis and authoring to iteration and validation—users can produce robust, portable, and well-documented skills that adhere to established design principles and precision standards.

What it does

  • Guides the creation and synthesis of new agent skills from raw sources.
  • Facilitates iterative improvements based on positive and negative performance examples.
  • Enforces a structured reference architecture for skill documentation and runtime files.
  • Provides precision passes to ensure changes are necessary, concise, and impactful.
  • Supports the registration and validation of skills to ensure structural integrity.
  • Offers specialized paths for different execution shapes like routers, subagents, and scripts.

When to use it

  • When you need to create a new agent skill from scratch.
  • When updating or improving an existing skill's logic or documentation.
  • When synthesizing disparate sources into a cohesive, functional skill.
  • When you need to refine a skill's behavior based on specific success or failure examples.
  • When maintaining skill documentation and ensuring it meets registration standards.

Advantages

  • Ensures consistency across all developed agent skills.
  • Minimizes wasted runtime tokens by prioritizing high-value input coverage.
  • Provides clear, actionable paths for different levels of skill complexity.
  • Promotes modularity through a well-defined reference architecture.
  • Includes built-in precision checks to prevent unnecessary bloat or rule redundancy.

Usage examples

“Create a skill for managing cloud infrastructure deployments.”
The agent initiates the synthesis path, identifies the required execution shape, and guides you through authoring the SKILL.md and SPEC.md files.
“Improve this skill based on these failed test cases.”
The agent enters the iteration path, analyzes the provided evidence, and proposes specific updates to the skill's logic or documentation to resolve the failures.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/getsentry/skill-writer/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip skill-writer.zip -d .agents/skills

Documentation by Sentry

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.

Follow the workflow steps in order. Load only the reference files required for the step you are on. SKILL.md is the primary router: every bundled reference file should be flat under references/ and listed here with a direct "open when..." reason.

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 supporting filesreferences/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
adapt an upstream prompt, workflow, rubric, benchmark, or docs into a skillreferences/source-adaptation.md
run the full synthesis pass with coverage checks 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
add or update evals for a skill's generated outputs or runtime behaviorreferences/skill-evals.md
troubleshoot overloaded layouts, hidden refs, or other structure failuresreferences/structure-troubleshooting.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/layout-inline-skill.md
split optional deep knowledge into focused routed referencesreferences/layout-reference-backed-skill.md
add scripts for deterministic automation or validationreferences/layout-script-backed-workflow.md
define a skill that is usually invoked with explicit argumentsreferences/layout-argument-driven-skill.md
ship reusable templates, schemas, or other static assetsreferences/layout-asset-template-skill.md

Workflow Mechanic References

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

Claude Code References

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

Example Profiles

Open when you need to...Read
see the expected depth for a documentation-heavy skillreferences/example-documentation-skill.md
see the expected depth for a workflow-process skillreferences/example-workflow-process-skill.md
see what a good routed skill looks likereferences/example-router-skill.md
see what a good subagent-fork skill looks likereferences/example-subagent-fork-skill.md
see what a good hook-backed skill looks likereferences/example-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. Before adding guidance, identify what existing rule, section, or file should be narrowed, replaced, or removed.

  8. 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. Read references/source-adaptation.md when adapting an upstream prompt, workflow, rubric, benchmark, or docs.

  5. Produce source-backed decisions and coverage/gap status, including the class and execution-shape choice.

  6. Load example profiles only when they add concrete depth for the selected class or shape.

  7. If the skill uses provider-specific mechanics, include current official provider docs and capture usage constraints.

  8. Do not move to authoring until required coverage is understood or gaps are explicit.

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. Review 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. Run the pre-edit precision check in references/authoring-path.md before creating new sections or files.

  4. Read references/reference-architecture.md before adding bulk instructions or new reference files.

  5. Create or update SPEC.md using references/spec-template.md when creating a new skill or materially changing its contract.

  6. Create focused reference files, scripts, and assets only when each one has a clear "open when..." reason and cannot be handled by tightening an existing file.

  7. If you add a bundled reference file, add a direct routing entry for it in this SKILL.md.

  8. Prefer checklists, tables, templates, and input/output examples over explanatory prose.

  9. Follow only the specific artifact-layout, workflow-mechanic, Claude-specific, and output-contract references selected for this skill.

  10. For advanced execution shapes, add the required routing, delegation, or safety contracts before considering the skill complete.

  11. For authoring/generator skills, include transformed examples in references:

  • happy-path

  • secure/robust variant

  • anti-pattern + corrected version

  1. Read references/skill-evals.md when the request asks for evals, regression cases, benchmark cases, or model-graded quality checks for the skill being authored.

  2. After any skill artifact changes, run the post-change precision pass in references/authoring-path.md before description optimization or validation.

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: 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 for structural checks.

  3. Review validator warnings, precision-pass results, and coverage gaps with judgment before completion.

Output format

Return:

  1. Summary

  2. Changes Made

  3. Validation Results

  4. Open Gaps

Files

SPEC.md

Skill Writer Specification

Intent

skill-writer is the canonical workflow for creating, updating, synthesizing, and iteratively improving agent skills in this repository.

Its primary purpose is to prevent shallow skill authoring by forcing high-value source coverage, explicit provenance, focused runtime instructions, and validation before completion. It is also a meta-router: before authoring, it must choose the simplest adequate execution shape for the target skill and only then decide which artifacts are needed.

Scope

In scope:

  • New skill creation from local, external, or mixed sources.

  • Existing skill updates that affect runtime behavior, structure, trigger precision, references, or validation.

  • Research-first synthesis for proposed skills.

  • Iteration from positive examples, negative examples, review feedback, validation results, and observed agent behavior.

  • Registration and validation for this repository's canonical skills/<skill-name>/ layout and other discovered layouts.

  • Choosing between execution shapes such as inline guidance, reference-backed expert, script-backed workflow, router, subagent-fork, hook-backed, asset-template, or hybrids.

  • Assessing when provider-specific mechanics are justified and documenting portability constraints.

Out of scope:

  • Acting as the runtime instructions for the skills it creates.

  • Storing full source inventories, raw examples, or changelog history directly in SKILL.md.

  • Replacing repository-level instructions in AGENTS.md, README.md, or CONTRIBUTING.md.

  • Creating per-skill aliases or symlink skills in this repository.

  • Guaranteeing compatibility with provider-specific skill extensions unless they are explicitly scoped and documented.

Users And Trigger Context

  • Primary users: agents and humans authoring or maintaining reusable agent skills.

  • Common user requests: "create a skill", "write a skill", "update this skill", "improve from examples", "synthesize a skill from docs", "maintain skill docs", or "validate/register this skill".

  • Should not trigger for: ordinary code review, generic documentation edits, PR writing, commit creation, or implementation work that does not create or modify an agent skill.

Runtime Contract

  • Required first actions:

    • Resolve the target skill root and operation.

    • Inspect local repository conventions before deciding where files belong.

    • Classify the skill and select the minimum required workflow paths.

    • Select a primary execution shape and default to the simplest adequate option.

    • Keep validation lightweight and structural unless project conventions require more.

  • Required outputs:

    • Summary.

    • Changes Made.

    • Validation Results.

    • Open Gaps.

  • Non-negotiable constraints:

    • SKILL.md frontmatter is first line and name matches the directory.

    • description contains realistic trigger language.

    • SKILL.md remains an orchestration/index layer for complex skills.

    • Runtime guidance should prefer dense structures such as tables, checklists, templates, and examples over explanatory prose.

    • Material skill changes explicitly name the selected execution shape.

    • Advanced mechanics are justified and include portability notes.

    • Supporting runtime references are focused, flat under references/, listed in SKILL.md, and loaded conditionally.

    • Source provenance and decisions live in SOURCES.md.

    • Durable positive/negative examples live in references/evidence/.

    • SPEC.md records the maintenance contract for new or materially changed skills.

    • Lightweight structural validation runs before completion.

    • A post-change precision pass runs after any skill artifact change.

    • Semantic output quality is evaluated with repo-level evals rather than encoded in the structural validator.

  • Expected bundled files loaded at runtime:

    • references/mode-selection.md

    • references/execution-shapes.md

    • references/synthesis-path.md

    • references/iteration-path.md

    • references/authoring-path.md

    • references/reference-architecture.md

    • references/spec-template.md

    • references/description-optimization.md

    • references/registration-validation.md

    • references/source-adaptation.md

    • references/skill-evals.md

    • flat references/*.md files listed in SKILL.md

    • scripts/quick_validate.py

Source And Evidence Model

Authoritative sources:

  • Local skill-writer runtime files: SKILL.md, references/**/*.md, scripts/quick_validate.py.

  • Repository policy: AGENTS.md, README.md, CONTRIBUTING.md, plugin manifests, and registration settings.

  • Agent Skills specification and official skill authoring guidance.

  • Current official provider docs for any provider-specific mechanics being recommended.

  • Official orchestration guidance for routing, delegation, and reasoning-model planning patterns.

Useful improvement sources:

  • positive examples: successful generated skills, review-approved skill changes, and validation passes that demonstrate desired behavior

  • negative examples: shallow generated skills, overloaded SKILL.md files, catch-all references, missing provenance, failed validation, false triggers, or review feedback

  • commit logs/changelogs: repeated fixes, reversions, migrations, and changes that explain why a rule exists

  • issue or PR feedback: reviewer comments about missing coverage, confusing trigger language, poor file placement, or insufficient validation

  • validation results: structural checks, review findings, and observed behavior from real skill use

Data that must not be stored:

  • secrets, credentials, or tokens

  • raw customer data

  • private URLs or identifiers that are not needed for reproduction

  • large copied source documents or long copyrighted excerpts

  • unredacted personal data from examples, logs, issues, or commits

Reference Architecture

  • SKILL.md contains the top-level workflow, path-loading table, branch points, universal constraints, and output contract.

  • SKILL.md acts as a meta-router for the authoring process: class selection, shape selection, and path selection happen before writing.

  • SPEC.md contains this maintenance specification.

  • SOURCES.md contains source inventory, decisions, coverage matrix, open gaps, and changelog.

  • references/ contains focused flat workflow guidance, routed leaf references, templates, rubrics, and class-specific authoring requirements.

  • Runtime references should be direct children of references/; use filename prefixes for related leaves and list every bundled reference directly from SKILL.md.

  • references/evidence/ contains durable positive/negative examples when future iterations need them.

  • scripts/ contains validation automation.

  • assets/ is unused unless a future skill-authoring workflow needs static templates or media.

EVAL.md, evals/axis.config.json, and evals/scenarios/ test changes to skill-writer itself. Keep eval files outside runtime SKILL.md routing. Skill evals use AXIS as the open source harness, with AXIS's built-in codex adapter exercising the Codex codex exec --json path rather than a repo-local runner script.

Validation

  • Lightweight validation:

    • Run uv run skills/skill-writer/scripts/quick_validate.py skills/skill-writer.

    • Inspect changed references for focused scope, direct discoverability, and absence of host-specific paths.

    • Verify that the selected execution shape is explicit and that advanced mechanics, if any, are justified.

    • Run the post-change precision pass and summarize what was replaced, narrowed, moved, deleted, or added with reason.

  • Holdout examples:

    • Keep durable holdout examples in references/evidence/holdout-set.md when repeated regressions appear.

    • Do not tune directly against holdout examples until they are intentionally moved to the working set.

  • Acceptance gates:

    • Validator passes with no errors.

    • New or changed workflow rules are represented in the correct artifact.

    • SOURCES.md records source-backed decisions and any remaining gaps.

    • SPEC.md is updated when intent, scope, evidence model, validation, or maintenance expectations change.

Known Limitations

  • The validator checks only structural requirements and a high-threshold advisory size warning; it cannot prove that a generated skill is semantically complete.

  • The validator intentionally does not classify skills, parse source coverage, enforce SPEC headings, judge trigger quality, or exhaustively validate provider-specific optional frontmatter fields.

  • Semantic evaluation requires representative cases and reviewer judgment; it is not fully automated by the structural validator.

  • Prose density, source adaptation quality, advanced-shape contracts, and precision rely on authoring judgment and review.

  • Source discovery can still miss private operational knowledge if it is not present in local files, accessible issue/PR history, or supplied context.

  • Provider-specific skill extensions may drift; skill-writer treats them as compatibility guidance unless a skill is intentionally provider-specific.

Maintenance Notes

  • Update SKILL.md when the required runtime workflow, branch conditions, or output contract changes.

  • Update references/execution-shapes.md when new skill mechanics or orchestration patterns become important.

  • Update the relevant flat file under references/ when a specific routed leaf changes.

  • Update SPEC.md when intent, scope, user/trigger context, evidence model, validation expectations, limitations, or maintenance rules change.

  • Update SOURCES.md when source inventory, decisions, coverage, gaps, or changelog entries change.

  • Update references/evidence/ when preserving examples for future iteration or regression tracking.

  • Update EVAL.md, evals/axis.config.json, and evals/scenarios/ when eval case format, rubric dimensions, AXIS settings, or regression cases for skill-writer change.

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs Python

Security

What our scanner noticed· Low risk

  • Scripts that your agent may run

This skill includes scripts that your agent may run. Read them before you use it.

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Sentry
Publisher
Sentry (Official)
Source
getsentry/skills · skills/skill-writer · commit e94f222
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Sentry.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download skill-writer.zip