Skip to content
Agentmart
Submit a tool

write-skill

Use when creating, updating, or reviewing agent skills

Skill by primer

IndexedMIT★ 2
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/primer-write-skill

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 when creating, updating, or reviewing agent skills

Use cases: writing, agent-building

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. 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/write-skill

What's inside

Skill name
write-skill
Description
Use when creating, updating, or reviewing agent skills
License
MIT
Instructions
60 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Write Skill

- Use this skill when creating, updating, or reviewing skill files
- When authoring a skill, include in its description when it should and should not be used
- Keep agent skills short and concise
- Keep skill prose under 200 lines, excluding reference tables; move additional guidance into references
- Use a `references` sub-folder in a skill when it becomes too long or needs to link out to different topics
- Links to references must be kept up-to-date as files are created, updated, or removed
- References must include a table of contents as the first section
- Each entry in the table of contents should include the section heading's line number in the reference file so agents can make targeted reads
- After creating or editing a reference, update its table of contents and verify every entry's line number against the section heading in the final formatted file
- If using a references folder, `SKILL.md` must include:
  - A references section
  - A table in this section that provides a name/link to the reference and a description for when to use it
- Use the references table to select files relevant to the current task; do not load all references by default
- Read each selected reference's table of contents first, then use its line numbers to read only the relevant sections
- Read additional sections or linked references only when needed to complete the task
- If line numbers are stale, locate the section by its heading
- Avoid duplicating information across references, instead consolidate or extract out information
- Always report contradictions in references and recommend a resolution. Obtain permission before modifying files to resolve them
- Write descriptions that identify the specific tasks that should trigger the skill. Avoid broad wording that causes it to load for unrelated work

## Examples

### SKILL.md

```md
---
name: skill-name
description: Information about the skill, when to use it, and how to use it
---

# Skill name

<!-- An overview of the skill -->

## References

| Name | Description |
| :--- | :---------- |
| [Reference](./references/reference.md) | A brief description of the reference and when to use it |
```

### .agents/skills/<skill>/references/<reference>.md

```md
# Reference

Brief overview of the reference

## Table of Contents

- [Example](#example), L:11

<!-- ... -->

## Example
```

From primer/agent-eval, MIT.

Signals

Stars
2
Forks
0
Open issues
16
Last commit (this folder)
Oct 21, 2026 (8 days ago)
Last release
Oct 21, 2026 (8 days ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from primer

Cite this page

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