Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/getsentry/skills/tree/main/plugins/sentry-skills/skills/skill-writer
SKILL.md
Skill Writer
Use this as the single canonical workflow for skill creation and improvement. Primary success condition: maximize high-value input coverage before authoring so the resulting skill has minimal blind spots.
Load only the path(s) required for the task:
| Task | Read |
|---|---|
| Set skill class and required dimensions | references/mode-selection.md |
| Apply writing constraints for depth vs concision | references/design-principles.md |
| Select structure pattern for this skill | references/skill-patterns.md |
| Select workflow orchestration pattern for process-heavy skills | references/workflow-patterns.md |
| Select output format pattern for deterministic quality | references/output-patterns.md |
| Choose workflow path and required outputs | references/mode-selection.md |
| Load representative synthesis examples by skill type | references/examples/*.md |
| Synthesize external/local sources with depth gates | references/synthesis-path.md |
| Author or update SKILL.md and supporting files | references/authoring-path.md |
| Optimize skill description and trigger precision | references/description-optimization.md |
| Iterate using positive/negative/fix examples | references/iteration-path.md |
| Evaluate behavior and compare baseline vs with-skill (opt-in quantitative) | references/evaluation-path.md |
| Register and validate skill changes | references/registration-validation.md |
Step 1: Resolve target and path
- Resolve target skill root and intended operation (
create,update,synthesize,iterate). - Distinguish skill-internal paths from repo registration paths:
- inside a skill, reference bundled files relative to that skill root (for example
references/foo.md,scripts/check.py) - for repository registration edits, use the repository's actual canonical files/locations after inspecting the workspace
- inside a skill, reference bundled files relative to that skill root (for example
- Read
references/mode-selection.mdand select the required path(s). - Classify the skill (
workflow-process,integration-documentation,security-review,skill-authoring,generic). - Ask one direct question if class or depth requirements are ambiguous; otherwise state explicit assumptions.
Step 2: Run synthesis when needed
Read references/synthesis-path.md.
- Collect and score relevant sources with provenance.
- Apply trust and safety rules when ingesting external content.
- Produce source-backed decisions and coverage/gap status.
- Load one or more profiles from
references/examples/*.mdwhen the skill is hybrid. - Enforce baseline source pack for skill-authoring workflows.
- Enforce depth gates before moving to authoring.
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).
- Capture and anonymize examples with provenance.
- Re-evaluate skill behavior against working and holdout slices.
- Propose improvements from positive/negative/fix evidence.
- 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.
- Write or update
SKILL.mdin imperative voice with trigger-rich description. - Create focused reference files and scripts only when justified.
- Follow
references/skill-patterns.md,references/workflow-patterns.md, andreferences/output-patterns.mdfor structure and output determinism. - 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.
- Validate should-trigger and should-not-trigger query sets.
- Reduce false positives and false negatives with targeted description edits.
- Keep trigger language generic across providers unless the skill is intentionally provider-specific.
Step 6: Evaluate outcomes
Read references/evaluation-path.md.
- Run a lightweight qualitative check by default (recommended).
- For integration/documentation and skill-authoring skills, include the concise depth rubric from
references/evaluation-path.md. - Run deeper eval playbook and quantitative baseline-vs-with-skill only when requested or risk warrants it.
- Record outcomes and unresolved risks.
Step 7: Register and validate
Read references/registration-validation.md.
- Apply repository registration steps for the active layout you verified in the workspace.
- Run quick validation with strict depth gates.
- Reject shallow outputs that fail depth gates or required artifact checks.
Output format
Return:
SummaryChanges MadeValidation ResultsOpen Gaps
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
gha-security-review
GitHub Actions security review for workflow exploitation vulnerabilities. Use when asked to "review GitHub Actions", "audit workflows", "check CI security", "GHA security", "workflow security review", or review .github/workflows/ for pwn requests, expression injection, credential theft, and supply chain attacks. Exploitation-focused with concrete PoC scenarios.
commit
ALWAYS use this skill when committing code changes — never commit directly without it. Creates commits following Sentry conventions with proper conventional commit format and issue references. Trigger on any commit, git commit, save changes, or commit message task.
blog-writing-guide
Write, review, and improve blog posts for the Sentry engineering blog following Sentry's specific writing standards, voice, and quality bar. Use this skill whenever someone asks to write a blog post, draft a technical article, review blog content, improve a draft, write a product announcement, create an engineering deep-dive, or produce any written content destined for the Sentry blog or developer audience. Also trigger when the user mentions "blog post," "blog draft," "write-up," "announcement post," "engineering post," "deep dive," "postmortem," or asks for help with technical writing for Sentry. Even if the user just says "help me write about [feature/topic]" — if it sounds like it could become a Sentry blog post, use this skill.
pr-writer
ALWAYS use this skill when creating or updating pull requests — never create or edit a PR directly without it. Follows Sentry conventions for PR titles, descriptions, and issue references. Trigger on any create PR, open PR, submit PR, make PR, update PR title, update PR description, edit PR, push and create PR, prepare changes for review task, or request for a PR writer.
claude-settings-audit
Analyze a repository to generate recommended Claude Code settings.json permissions. Use when setting up a new project, auditing existing settings, or determining which read-only bash commands to allow. Detects tech stack, build tools, and monorepo structure.
Didn't find tool you were looking for?