agent-threat-rule/agent-threat-rules/hyf0
Claude Code and agent skill by agent-threat-rule/agent-threat-rules
- community
Checking that the SKILL.md file is still in the repository.
Creates a new agent skill following best practices for structure, description writing, and progressive disclosure. Use when the user wants to author a new SKILL.md, scaffold a skill directory, or build a reusable skill. Do NOT use for improving an existing skill — use optimize-skill instead.
Install
npx vskill@latest install agent-threat-rule/agent-threat-rules/hyf0SKILL.md
Workflow
Follow these 9 steps in order. Copy this checklist into your response and check off each step as you complete it:
Step 1: Understand the Skill with Concrete Examples
Work through 2-3 concrete examples of how the skill will be used. Ask the user:
- What does the skill do? Can you show me an example of how you'd use it?
- What would a user say that should trigger this skill?
- Does it need
allowed-tools(does it run shell commands, use MCP tools)? - Should this be a background skill? (always-loaded context, not user-invocable — see frontmatter-spec for
user-invocable: false)
For each example, walk through how it would be executed from scratch. This reveals what knowledge, scripts, or assets are needed.
Classify the skill category:
- Document/asset creation — generates files, reports, configs
- Workflow automation — multi-step processes, scaffolding, setup
- MCP enhancement — extends or coordinates MCP server capabilities
Step 2: Choose Skill Name
Rules:
- Gerund form for processes (
creating-components), noun form for tools (code) - Kebab-case, max 64 characters, must match folder name
Step 3: Write the Description
This is the highest-impact field — a poor description causes the skill to never be invoked.
Follow the "What + When" formula and all rules in: -> See description-writing
Step 4: Write the Frontmatter
Use the exact YAML schema and constraints in: -> See frontmatter-spec
Step 5: Write the SKILL.md Body
Rules:
- Under 500 lines (~5,000 words max)
- Only include knowledge the agent does not already have — do not teach general programming, standard libraries, or well-known tools
- No time-sensitive information (versions that expire, URLs that rot)
- Consistent terminology throughout — pick one term for each concept and stick with it
- Imperative voice
- For any workflow with 3+ steps, include a copyable task list checklist (
- [ ]items) that the agent copies and checks off as it progresses — this prevents step-skipping and makes progress observable - Match instruction specificity to task fragility — see "Degrees of Freedom" in skill-patterns
Choose the best skill pattern for the use case: -> See skill-patterns
Step 6: Decide on Progressive Disclosure
Determine whether content belongs in SKILL.md or in bundled resources: -> See progressive-disclosure
Step 7: Create Bundled Resources (If Needed)
A skill can include three types of bundled resources:
- `reference/` — Documentation loaded into context as needed (schemas, guides, examples). One level deep, one topic per file, kebab-case filenames.
- `scripts/` — Executable code (Python, Bash, etc.) for tasks needing deterministic reliability or repeatedly rewritten code. Test scripts by running them.
- `assets/` — Files used in output but not loaded into context (templates, fonts, icons, boilerplate).
Do NOT create extraneous files like README.md, CHANGELOG.md, or INSTALLATION_GUIDE.md inside the skill folder. The skill should only contain what the agent needs to do the job.
Step 8: Validate
Triggering test: Ask the agent "When would you use the [skill-name] skill?" — it should quote the description back accurately. If it cannot, revise the description.
Anti-patterns check: Review the skill against the anti-patterns list: -> See anti-patterns
Final checks:
- SKILL.md is under 500 lines
- All links to bundled resources resolve to existing files
- Frontmatter YAML is valid (check with a YAML parser if available)
- No agent-specific language — the skill should work with any agent supporting the open skill standard
- No XML angle brackets in frontmatter fields
Step 9: Iterate
Skills are living documents. After the initial version:
- Use the skill on real tasks
- Observe where the agent struggles or takes unexpected paths
- Watch for triggering issues:
- Under-triggering (skill doesn't load when it should) — add more trigger phrases and keywords to the description
- Over-triggering (skill loads for unrelated queries) — add negative triggers ("Do NOT use for X"), narrow scope
- Instructions not followed — put critical instructions at the top, use stronger language, consider scripts for deterministic operations
- Update SKILL.md and bundled resources based on observations
- Re-test and repeat
Output
Deliver the complete skill directory to the user:
skills/{skill-name}/SKILL.mdskills/{skill-name}/reference/*.md(if applicable)skills/{skill-name}/scripts/*.py(if applicable)skills/{skill-name}/assets/*(if applicable)
Summarize what was created and suggest testing the skill by invoking it with one of the identified use cases.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdata/skills-sh/skills/hyf0/create-skill.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/agent-threat-rule/agent-threat-rules/hyf0)