dhpk-create-skilllisted
Install: claude install-skill hmj1026/dhpk
# Create Skill
Author or refactor a skill so it triggers reliably, loads lean, and passes the
health check. Backs the `/dhpk:dhpk-create-skill <skill-name> [docs-path]` command.
Use the external `writing-for-agents` 1.2.x reference for universal pointer,
hierarchy, completion, leading-word, and pruning mechanics. The repository pin
and public source are recorded in `docs/agent-guidance/writing-for-agents.md`.
This skill keeps only dhpk packaging, routing, and validator decisions.
## When NOT to Use
- Writing a slash command rather than a skill — use `command-creator`.
- Auditing skill quality only, with no authoring — use `/check-skill` / `dhpk-skill-health-audit`.
- Searching for an existing skill to adopt — use `dhpk-skill-scout` (Step 0 calls it).
## Step 0 — Search first (avoid duplication)
Before writing anything, run the `dhpk-skill-scout` skill to check for an existing
local / marketplace / GitHub / community skill that already covers the workflow.
Adopt or fork a vetted match instead of duplicating it. Only proceed to create
when nothing suitable exists.
## Step 1 — Create vs refactor
- **No `skills/<name>/` dir** → create mode (scaffold from scratch).
- **Dir exists** → refactor mode: read the current `SKILL.md` first, preserve its
trigger phrasing and any cross-skill links, then apply the conventions below.
Do not silently drop existing behavior — surface what you change.
## Step 2 — Anatomy & naming
```
skills/<name>/
SKILL.md # entry poi