loerei/myskills/write-a-skill

Claude Code and agent skill by loerei/myskills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when asked to create, write, or build a new skill.

Install

npx vskill@latest install loerei/myskills/write-a-skill

SKILL.md

The same SKILL.md was published earlier as loerei/myskills/write-a-skill.

Write a Skill

Create and distribute agent skills across workspaces.

Directives

  1. Prerequisite: MUST read write-for-ai/SKILL.md before drafting or editing any skill (rules on Occam compression, non-lossy invariants, Drop Test, and portable wording live there).
  2. Description / Trigger Gate: Frontmatter description MUST use format Use when [specific triggers]. in 10-15 words. NEVER summarize internal features (What), explain benefits (Why), or include slash commands.
  3. Mindset Over Micro-Format: Directives MUST define thinking principles and decision criteria rather than rigid output layouts that get replayed verbatim.
  4. Match Structure to Job: Pick the lightest structure that fits the skill instead of forcing a uniform multi-section template. NEVER invent section headers for 1-2 sentences or inject unrelated meta-commands (such as agents distribute) into domain skills.
  5. Progressive Disclosure: Keep SKILL.md under 100 lines. Extract heavy tables, branch-bound checklists, and reference guides to subdocs (REFERENCE.md, <DOMAIN>.md) per HEURISTICS.md and REFERENCE.md.
  6. Context-Independent Portability: Instructions MUST stand on first principles. NEVER leak local repository paths, dataset names, or project jargon into shared skills.

Skill Shapes (Frontmatter + Shape by Role)

All skills require valid YAML frontmatter (name, description, optional disable-model-invocation: true per REFERENCE.md). Choose the body format by execution complexity:

Skill RoleRecommended Body Shape
Micro-habit / constraintFrontmatter + 2-6 direct lines (+ optional minimal snippet/template). No ## Directives / ## Workflow boilerplate.
Workflow / orchestratorFrontmatter + core invariants (MUST/NEVER), sequential steps or Mermaid state machine, and explicit completion/recovery gates.
Audit / reviewer / tool guideScope isolation, conditional subdoc routing (When to Load), concrete defect contrasts (BAD/GOOD) or 4-part tool doc, and exact verdict/output schema.

Workflow

  1. Identify domain scope, target category, skill shape, and tool integrations; read write-for-ai/SKILL.md.
  2. Draft SKILL.md using the lightest matching shape and evaluate subdoc extraction per HEURISTICS.md.
  3. Review draft with user and incorporate feedback.
  4. Write files under <category>/<skill-name>/, run agents audit to validate frontmatter/duplicates/policies, then run agents distribute to sync workspaces and IDEs.

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

Popularity

7-day trend score
5

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/loerei/myskills/write-a-skill/badge)](https://verified-skill.com/skills/loerei/myskills/write-a-skill)

Something wrong with this skill or its page? Tell us.