shynlee04/hivemind-plugin/hf-l2-use-authoring-skills
Claude Code and agent skill by shynlee04/hivemind-plugin
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "create a skill", "audit this skill", "refactor skills", "doctor agent skills", "check skill quality", "fix frontmatter", "skill pattern selection", "TDD for skills", "cross-platform skill compatibility", or "score skill quality".
Install
npx vskill@latest install shynlee04/hivemind-plugin/hf-l2-use-authoring-skillsSKILL.md
The Iron Law
<files_to_read> .opencode/skills/use-authoring-skills/references/01-skill-anatomy.md .opencode/skills/use-authoring-skills/references/02-frontmatter-standard.md .opencode/skills/use-authoring-skills/references/03-three-patterns.md .opencode/skills/use-authoring-skills/references/05-skill-quality-matrix.md .opencode/skills/use-authoring-skills/scripts/validate-gate.sh .opencode/skills/use-authoring-skills/scripts/validate-skill.sh .opencode/skills/use-authoring-skills/scripts/check-overlaps.sh .opencode/get-shit-done/references/thinking-models-execution.md </files_to_read>
The description is the ONLY thing the agent sees before deciding to load a skill. If it doesn't contain specific phrases a user would say, the skill is invisible. Dead on arrival.
Not "the description should be good." The description IS the skill. Without it, nothing else matters.
What agents actually rationalize
| What agents say | Reality | |
|---|---|---|
| "The description is clear enough" | It says "provides guidance for skill development." Agent will never load it. | |
| "I'll add trigger phrases later" | Later never comes. The skill sits dead until someone audits it. | |
| "The references are too long, I'll summarize" | References ARE the value. SKILL.md points to them. Summarizing = losing knowledge. | |
| "This skill needs another skill to work" | Standalone contract. Push to load, don't require. If it can't work alone, it's not a skill — it's a chapter. | |
| "The script stub exits 0 so validation passes" | A stub that always passes is a lie. Remove it or make it real. | |
| "I'll keep the dead reference, it might be useful later" | Dead references are debt. The agent will try to load them, fail, and move on. |
HIERARCHY ENFORCEMENT — Run This FIRST
This skill is LAYER 4 in the loading chain (domain execution). Before any action:
- Verify hierarchy chain:
``bash bash scripts/verify-hierarchy.sh use-authoring-skills `` This checks that meta-builder exists and routed to this skill.
- Register this skill as loaded:
``bash bash scripts/register-skill.sh use-authoring-skills ``
- Prerequisites:
meta-buildermust exist (routing source)- Background skills should already be loaded by upstream skills
If hierarchy check fails → STOP. This skill should only be loaded after meta-builder routing.
Use Authoring Skills
MANDATORY FIRST STEP — Run This Before Anything Else
Every time this skill loads, run the preflight validator immediately:
<create>— building a new skill from scratch or from a document<edit>— modifying an existing skill<audit>— reviewing/grading an existing skill<user-request>— the user's exact words in quotes<skill-dir>— directory where the skill lives (default:.)
If this exits non-zero, you are BLOCKED. Fix the reported issue and re-run. Do not proceed to any other step until Gate 0 passes.
Step-by-Step Checklist (Follow In Order)
Copy this checklist into task_plan.md and check off each item as you complete it. You may not skip steps.
Decision Tree — Pick Your Path
Rule: Load only ONE reference file from the decision tree. Do not load all references.
agentskills.io Principles (Apply During STEP 6)
These are the core design principles from agentskills.io. Apply them when writing skill content:
- Procedures over declarations — Teach HOW to do something, not WHAT something is. Use imperative verbs: "Run this script", "Check the output", "If X, do Y". Avoid: "This skill handles...", "The agent should...".
- Defaults, not menus — Pick one approach as the primary path. Mention alternatives in one sentence. Do not present 5 options and ask the agent to choose. Example: "Use
bash scripts/validate-skill.shto validate. For Python-only skills,pytestis an acceptable alternative."
- Match specificity to fragility — Be prescriptive for fragile steps (file formats, YAML syntax, tool invocation). Be flexible for creative steps (body content, examples). Frontmatter format = prescriptive. Example scenarios = flexible.
- Checklists for multi-step workflows — Any workflow with 3+ steps must be a checklist with
[ ]items. Agents check items off as they go.
- Validation loops — Every significant action follows: do → validate → fix → repeat. Never declare done without running the validator.
- Bundle scripts in scripts/ — Reusable validation, initialization, and cleanup logic lives in
scripts/. Reference them from SKILL.md, don't inline shell commands.
Validation Loop (STEP 7–9)
After writing skill content, enter this loop:
Maximum iterations: 5. If the loop hasn't passed after 5 iterations, stop and report what's blocking.
Question Enforcement (STEP 4)
When intent is unclear:
- Maximum 3 questions per session. Not 4. Not "just one more."
- Use the question tool only. Do not ask questions in plain text output.
- Wait for answers before proceeding to implementation.
- If still unclear after 3 questions, proceed with the most reasonable default and document the assumption in
task_plan.md.
Gate System
| Gate | When | Criteria | Enforcement | |
|---|---|---|---|---|
| G1: Intent | Before any work | User intent in task_plan.md Goal field | validate-gate.sh checks Goal non-empty | |
| G2: Structure | Before writing body | SKILL.md frontmatter has name + description | validate-skill.sh checks frontmatter | |
| G3: Pattern | Before body content | Pattern (P1/P2/P3) selected in task_plan.md | validate-gate.sh checks pattern field | |
| G4: Quality | Before declaring done | Quality score ≥ 3/5 on all 5 dimensions | gate-enforce.sh G4 runs scoring | |
| G5: Validation | Final step | validate-skill.sh + check-overlaps.sh both pass | validate-gate.sh re-run | |
| G6: Subagent Review | After G5 | Critic subagent review passes | Manual dispatch + loop |
Run enforcement: bash scripts/validate-gate.sh <action> "<request>" <dir> — exits non-zero if blocked.
Worked Example: Document → Skill Conversion
Input: User provides a 200-line markdown command file to convert into a skill.
STEP 1: bash scripts/validate-gate.sh create "Convert this command file into a skill" . → exits 0, creates task_plan.md.
STEP 2: Decision tree → "create a skill like this @file" → load references/03-three-patterns.md.
STEP 3: Pattern decision: focused how-to guide → P2 (balanced depth). Record in task_plan.md.
STEP 4: Questions if needed (max 3 via question tool).
STEP 5: Write frontmatter:
Run bash scripts/validate-skill.sh . → passes.
STEP 6: Write body following agentskills.io principles (procedures, defaults, checklists).
STEP 7–9: Validation loop → validate-skill.sh → check-overlaps.sh → critic subagent → all pass.
STEP 10: bash scripts/validate-gate.sh create "Convert this command file into a skill" . → exits 0.
Output: Complete skill at target directory with references/ and scripts/.
Anti-Patterns — With Detection
| Anti-Pattern | Detection | Correction | |
|---|---|---|---|
| Phantom dependencies — referencing skills that don't exist | grep -r "skill(" SKILL.md references/ → verify each exists | Remove or create the missing skill | |
| Identity crisis — P1 router with P3 depth content | Count lines: >300 in SKILL.md = likely P3 masquerading | Split into thin SKILL.md + reference files | |
| Unenforceable gates — claims "programmatic" with no scripts | ls scripts/ → must have validate-gate.sh + validate-skill.sh | Create enforcement scripts or remove gate claims | |
| Template TDD mismatch — forcing RED phase on template conversion | Check task type: if "convert document" → skip RED | Use template-driven workflow | |
Banned field usage — compatibility in frontmatter | grep "compatibility:" SKILL.md | Remove per agentskills.io spec | |
| Skipping validation loop — declaring done without running validators | Check task_plan.md: STEP 7–9 unchecked | Run the loop before claiming complete |
Platform Adaptation
| Platform | Skill Location | Hook Format | Notes | |
|---|---|---|---|---|
| OpenCode | .opencode/skills/<name>/SKILL.md | opencode.json hooks | Use skill tool to load | |
| Claude Code | .claude/skills/<name>/SKILL.md | .claude/hooks/ | Same frontmatter spec | |
| Codex | .codex/skills/<name>/SKILL.md | .codex/hooks/ | May need allowed-tools field | |
| Cursor | .cursor/skills/<name>/SKILL.md | .cursor/rules/ | Frontmatter may vary |
Always write frontmatter per agentskills.io spec — it is the lowest common denominator.
Scripts
All 8 scripts passed audit — each has real validation logic, exits non-zero on failure, and contains no placeholder/TODO text. Unlike stub scripts (which exit 0 always), these enforce actual constraints.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 91 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingassets/skills/hf-l2-use-authoring-skills/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 17
- Repository npm downloads, 7 days
- 48
- 7-day trend score
- 30
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 17 Jun 2026, 4 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/shynlee04/hivemind-plugin/hf-l2-use-authoring-skills)