Skip to content
Agentmart
Submit a tool

skill-writer

Use for creating, refactoring, or debugging skills and improving SKILL.md trigger quality.

Skill by aayushostwal

IndexedMIT★ 19
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/aayushostwal-skill-writer

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use for creating, refactoring, or debugging skills and improving SKILL.md trigger quality. Trigger on "write/create/update/improve skill", trigger-miss complaints, pasted-skill feedback, or repeated workflows that should be skillized. Output production-ready skill structure and routing logic.

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/skill-writer

What's inside

Skill name
skill-writer
Description
Use for creating, refactoring, or debugging skills and improving SKILL.md trigger quality. Trigger on "write/create/update/improve skill", trigger-miss complaints, pasted-skill feedback, or repeated workflows that should be skillized. Output production-ready skill structure and routing logic.
License
MIT
Instructions
184 lines in SKILL.md · view on GitHub

Files (3)

  • SKILL.md
  • skill-quality-checklist.md · checklists/
  • skill-validation.md · validation/

SKILL.md (first lines)

# Nexus Skill Writer

Produce a **complete, production-ready skill** every session — not a draft, not a skeleton.

---

## Required Directory Layout

```
skill-name/
├── SKILL.md                        ← entry point, <500 lines
├── checklists/
│   └── execution-checklist.md
├── anti-patterns/
│   └── common-mistakes.md
└── validation/
    └── output-validation.md
```

Every SKILL.md must have YAML frontmatter:

```yaml
---
name: skill-name                  # must exactly match the containing directory
description: >                    # THE TRIGGER MECHANISM — be explicit and dense
  Use this skill when ... [detailed trigger conditions].
  Trigger phrases include: "...", "...", "...".
  Also trigger when ... [edge cases].

---
```

The `description` is the single most important field. Claude selects skills based only on name + description. A vague description means the skill never triggers. Under-triggering is the #1 skill failure mode.

---

## Phase 0 — Skill Classification

Before writing anything, classify the request:

**New skill or extension?**
1. Scan `available_skills` in the system prompt.
2. If an existing skill covers 60%+ of the use case, offer to extend instead.
3. Present options as a table:

| Option | Best when | Risk |
|--------|-----------|------|
| Extend existing | Same domain, similar triggers | May bloat the existing skill |
| Create new | Distinct triggers, different output contract | Maintenance overhead |
| Merge two skills | Overlapping triggers, narrow scopes | Wider scope per skill |

Never decide for the user — present options and wait for direction.

**Category:**

| Category | Description |
|----------|-------------|
| engineering | Code generation, architecture, implementation |
| debugging | Failure investigation, root cause, regression |
| devops | CI/CD, infra, deployments |
| code-review | PR review, diff analysis, quality checks |
| testing | Test writing, coverage, test strategy |
| reliability | SLOs, on-call, incident management |
| observability | Logs, metrics, traces, dashboards |
| refactoring | Code transformation, technical debt |
| performance | Profiling, optimization, benchmarking |

**Primary or sub-skill?** Primary = own directory + full SKILL.md. Sub-skill = .md inside an existing skill directory (only for very narrow, truly subordinate scope).

---

## Phase 1 — Requirements Gathering (MANDATORY)

Ask conversationally — max 2 questions per turn. Extract answers from context first; only ask what you cannot infer. Do not proceed to Phase 2 without answers to Q1, Q2, Q3.

| # | Question | Why |
|---|----------|-----|
| 1 | What should this skill enable Claude to do? | Defines scope |
| 2 | What phrases/contexts should trigger it? | Shapes description |
| 3 | What is the expected output format? | Shapes Output Contract |
| 4 | Are there constraints? (tools, env, audience) | Shapes Compatibility |
| 5 | Example input + ideal output? | Becomes a production example |
| 6 | What does failure look like? What must never happen? | Shapes Failure Modes |
| 7 | What context must be gathered before acting? | Shapes Context Acquisition |
| 8 | What are the hallucination risks or dangerous assumptions? | Shapes Failure Modes |

Never assume answers to Q6, Q7, or Q8.

---

## Phase 2 — SKILL.md Writing

Use this exact section order. Adapt depth to domain; do not drop sections.

Required sections (in order):
1. **YAML frontmatter** — `name` + `description` (specific task triggers and exclusions)
2. **One-liner** — what this skill does and why it exists.
3. **Metadata table** — Category, Required Tools, Required Context, Expected Inputs, Expected Outputs.
4. **Skill Philosophy** — Problem, Why it matters, 2-3 Engineering principles.
5. **Context Acquisition** — Named signals with collection methods + explicit "stop and ask" rule for insufficient context.
6. **Execution Workflow** — Numbered steps, each with: What (specific verb), How (tool/command), Output, Failure signal.
7. **Engineering Heuristics** — IF/THEN/BECAUSE rules with thresholds. No descriptions — only decision rules.
8. **Failure Modes** — Table: Failure Mode | Trigger Condition | Mitigation (3+ rows).
9. **Validation** — Checkbox list of pass/fail criteria including a Confidence rating.
10. **Output Contract** — Table of every output field: name, required/optional, description. Fields: findings, evidence, confidence, risks, recommendations, next_actions.
11. **Anti-Patterns** — "Never X → Instead Y" rules (3+ rules).
12. **Examples** — At least 1 production-scale input → output reference.

---

## Phase 3 — Supporting Directory Creation

Create or update all supporting files for every skill. These are not optional.

### checklists/execution-checklist.md
- Pre-flight: what to verify before starting
- Execution: ordered step-by-step checklist
- Output review: what to check before delivering
- Post-delivery: follow-up actions for the user

From aayushostwal/nexus, MIT.

More from aayushostwal/nexus

Signals

Stars
19
Forks
0
Open issues
2
Last commit (this folder)
Sep 30, 2026 (28 days ago)
Last release
Aug 10, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from aayushostwal

Cite this page

skill-writer. Agent Mart. https://agentmart.dev/skills/aayushostwal-skill-writer (last updated 2026-10-24)