# Write and verify shared skills

Creates, edits, and verifies skills before deployment. Best practices, examples, graph conventions, subagent-based testing.

Curated by The Design Project. Adapted from the original skills repo.

## How TDP uses it

Most thorough of the three forger variants. I use it when the skill I'm building will be shared with others (vs. personal one-off) — includes testing and verification steps the others skip.

Activation and available tools depend on the host and installed version.

## Your first task

Bring: An existing skill, its intended audience, and cases where its instructions were ambiguous.

Task: Turn ambiguity into explicit decisions and exercise the revised workflow on representative cases.

Check: Have a fresh session follow the instructions; record missing context and regressions before sharing.

## When to use this workflow

Use this resource when a skill exists but its instructions leave room for inconsistent interpretation. Collect the actual failures: missing context, ambiguous decisions, wrong activation, or unreviewable output. Editing the prose without identifying the failure can make the document clearer while leaving the workflow unchanged.

## A worked example

For a component-documentation skill, compare the requested contract with a generated result. Did it omit invalid combinations, infer unsupported states, or fail to identify sources? Add explicit decision rules for those gaps and a compact example that demonstrates the expected distinction between facts and recommendations.

## Decisions and common mistakes

Avoid adding every past exception to the main procedure. Keep the core sequence readable and link specialist cases where the host can retrieve them. Remove duplicated project rules that already have a maintained source, and make missing-input behavior explicit.

## What to hand off

Run the revised skill in a fresh session on both familiar and unfamiliar inputs. Record regressions as well as improvements. Share the change with a concrete explanation of the failure it addresses so teammates know when the updated procedure matters.

## Step-by-step setup

1. Choose one task, provide the relevant files or brief, and define the expected output.
2. Review the source and prerequisites; install the skill or open the original resource.
3. Apply it with current project context.
4. Review the result against the actual requirements.
5. Save approved outputs and record limitations.

```bash
npx skills add thedesignproject/agent-skills -s writing-skills
```

[Full skill source](https://github.com/thedesignproject/agent-skills/tree/main/skills/writing-skills)

## Starter request

Review this shared skill for ambiguous instructions. Add representative success and failure cases, test the workflow, and document unresolved limitations.

## Building a custom Claude Code Skill from scratch

See a custom Claude Code skill built from scratch. Adapt the procedure to your own repeated task and verify the result in your chosen host.

[Watch the TDP walkthrough](https://www.youtube.com/watch?v=GJef5BuQ8qQ)

## Use it in a workflow

### Find, create, and improve skills

Any time, in parallel with the main flows.

1. [Use concise agent responses](https://designproject.io/resources/skills/caveman/) — Use concise responses for iteration while keeping necessary technical detail
2. [Find an agent skill](https://designproject.io/resources/skills/find-skills/) — Before building anything custom, check if a skill already exists
3. [Create a Cursor skill](https://designproject.io/resources/skills/create-skill/) — Package a repeated workflow as a SKILL.md (Cursor authoring)
4. [Write and verify shared skills](https://designproject.io/resources/skills/writing-skills/) — When the skill will be shared: most thorough variant — includes testing and verification

[Browse all agent skills](https://designproject.io/resources/skills/)

[Original TDP skills repo](https://designproject.io/skills-repo/)

Canonical: https://designproject.io/resources/skills/writing-skills/

## Keep learning

- [Use the Figma MCP](https://designproject.io/resources/skills/figma-use/)
- [Context OS principles](https://designproject.io/resources/skills/context-principles/)
- [How to write a design.md file: a step-by-step guide](https://designproject.io/resources/guides/write-design-md/)
