Skill creator
Skill Bruno-Cunha-Souza/ValarMindSkills/skills/skill-creator
A library of reusable skills for AI agents. Each skill/plugin is a Markdown file with YAML frontmatter that can be invoked as a slash command within Claude Code CLI or Antigravity IDE.
npx -y skills add Bruno-Cunha-Souza/ValarMindSkills --skill skill-creatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Scaffold new ValarMindSkills per project conventions. Builds SKILL.md, references/, EXAMPLE files. Triggers: 'criar skill', 'nova skill', 'scaffold skill', 'create skill'.
SKILL.md
12.1 KB, as published. Nobody here has run it
Skill Creator
Meta-skill that scaffolds new skills for the ValarMindSkills repository following project conventions.
When to Use
- User asks to create, scaffold, or add a new skill to this repository
- User wants to convert an existing prompt, workflow, or playbook into a reusable skill
- User wants to refactor a long
SKILL.mdinto a skill plusreferences/files
Do not use when
- User wants to edit an existing skill — open the file directly
- User wants to install skills — use
scripts/install-plugin-claude.shorscripts/install-antigravity.sh - User wants to rebuild the plugin itself (
.claude-plugin/,hooks/) — that is a separate concern; this skill scaffolds skill content only
Goal
Produce a complete, idiomatic skill under skills/<slug>/ that:
- Follows one of the five project archetypes (Procedural, Lifecycle, Expert Profile, Best Practices, Reference)
- Uses only the project's frontmatter convention (
name,description,source) - Passes every item of
references/CHECKLIST.mdbefore the turn ends - Has its prompt content audited by
@prompt-engineeringfor clarity, anti-hallucination, and token economy before being reported to the user
This skill scaffolds the structure; @prompt-engineering hardens the content. The two are paired: scaffold first (Steps 1–8), audit the prompt (Step 9), then validate structure (Step 10) and report (Step 11).
Inputs you must collect before starting
| Input | Required | How to obtain |
|---|---|---|
| Purpose | Yes | Ask: "What problem will this skill solve?" |
| Trigger phrases | Yes | Ask: "What will the user say or type to invoke it?" Collect PT and EN variants when applicable |
| Archetype fit | Yes | Derive from purpose using the decision matrix in references/ARCHETYPES.md |
| Canonical output | Only if Procedural / Best Practices | Ask for an example of the ideal output; it will seed EXAMPLE.md |
| External source | No | URL or credit if the skill is based on public material |
If any required input is missing, stop and ask before scaffolding.
Procedure
Step 1 — Discovery
Run, in order:
ls skills/ # existing slugs — avoid collisions
cat README.md # project format and contribution rules
cat CLAUDE.md 2>/dev/null # agent-facing instructions
Pick one or two existing skills closest in purpose to the new one and read their SKILL.md. Cite their paths back to the user as reference models.
Step 2 — Archetype decision
Apply the decision matrix from references/ARCHETYPES.md:
| Purpose | Archetype | Canonical example |
|---|---|---|
| Deterministic artifact from a trigger | Procedural | skills/github-commit/ |
| Multi-phase audit or hardening with branches | Lifecycle | skills/clean-code/ |
| Persona with capabilities and traits | Expert Profile | skills/code-review/ |
| Principles, heuristics, and worked examples | Best Practices | skills/api-security-best-practices/ |
| Catalog, schema, or spec reference | Reference | skills/obsidian-bases/ |
Pick exactly one archetype and state it explicitly before moving on. Full signals and counter-signals live in references/ARCHETYPES.md.
Step 3 — Naming and slug
- Use kebab-case, lowercase,
≤ 64characters - Must NOT contain
anthropicorclaude(Anthropic spec) - Prefer a noun or noun-phrase (
code-review, notreview-the-code) - Verify no collision with
ls skills/
If the requested name violates any rule, stop and propose an alternative before scaffolding.
Step 4 — Scaffold files
Create:
skills/<slug>/
└── SKILL.md
Add the rest conditionally:
references/FILE.md— one or more — when the body would exceed ~400 lines, when there is multi-framework or multi-language branching, or when there is a dense catalog to document. File names areUPPERCASE.md.EXAMPLE.md— when the output format is variable, when a canonical example is pedagogical, or when the archetype is Procedural with nontrivial output.- Never create a
scripts/folder inside the skill — it is not a project convention. Seereferences/STRUCTURE.md.
Step 5 — Write the frontmatter
Use the minimal project frontmatter:
---
name: <slug>
description: "<third-person sentence with trigger phrases, ≤ 1024 characters>"
source: ValarMindSkills
---
Rules enforced by references/FRONTMATTER.md:
descriptionwritten in the third person ("Use when the user asks...")- Include explicit trigger phrases (PT and EN when the user writes in both)
- Do not invent fields. Anthropic-official fields like
when_to_use,allowed-tools,disable-model-invocationare listed for reference only and are not used in this repository
Step 6 — Write the body
Follow the archetype skeleton from references/ARCHETYPES.md. Target sections, in order:
- Procedural: Goal → Inputs → Procedure (numbered steps) → Constraints → Output format → Example request
- Lifecycle: When to Use → Prerequisites → Phase 0…N → Constraints
- Expert Profile: Use when / Do not use → Expert Purpose → Capabilities → Behavioral Traits → Knowledge Base → Response Approach → Example Interactions
- Best Practices: When to Use → Core Concepts → Detailed Topics → Practical Guidance → Examples → Guidelines
- Reference: Purpose → Schema → Themed subsections → Tables → Code/YAML literals → Pointers to
references/
For every axis the caller might want to override via extra prompt text (/my-skill in Spanish, /my-skill verbose), add an explicit row in Inputs with Required: No and a default. Rules that must survive adversarial extras go in Constraints using absolute verbs (Never, Must not). See references/EXTRA_INSTRUCTIONS.md for the full pattern catalog.
Hard budget: keep the SKILL.md body under 500 lines. If you exceed it, move detail into references/.
Step 7 — Write references/ (if applicable)
One topic per file. Open each reference with a one-line companion banner:
> Reference companion for the [<slug>](../SKILL.md) skill.
Link from SKILL.md using relative paths: [label](references/FILE.md). Do not link across skills with relative paths — use @<slug> text references instead.
Step 8 — Write EXAMPLE.md (if applicable)
Keep it minimal and self-contained: one canonical input and one canonical output, no more. See skills/github-commit/EXAMPLE.md and skills/github-pr-review/EXAMPLE.md for the two dominant shapes (code blocks vs. worked document).
Step 9 — Audit prompt content with @prompt-engineering
Mandatory step before validation. The previous steps produce a structurally correct skill — @prompt-engineering hardens the content of the prompt against the failure modes that scaffolding alone does not catch (vague success criteria, hallucination floors missing, silent omissions, redundant pleasantries, safety rules weakened during edits).
Run the audit in this order:
- Treat the just-written
SKILL.mdas input. - Classify the prompt:
role: skill,use case: skill. The@prompt-engineeringskill loads its USE_CASES.md §1 skeleton and findings catalog automatically when this classification is set. - Walk Phase 0–6 of
@prompt-engineeringagainst the draft. Every Critical and Major finding is a blocker; Minor findings are reported but do not block. - Apply the proposed rewrite (Block 3 of the audit output) only with user approval.
@prompt-engineeringis read-only; this skill mediates the apply step. - Record the post-audit metrics in the Step 11 report: clarity score, anti-hallucination coverage, token delta, overall risk tag.
If @prompt-engineering is unavailable (skill not installed in the current session), skip this step and surface the gap explicitly in Step 11 (prompt audit: skipped — @prompt-engineering not available). Do not silently omit the audit.
Step 10 — Validation
Walk through references/CHECKLIST.md item by item. Do not skip. If any item fails, fix it before reporting to the user. The "Prompt audit" section of the checklist verifies Step 9 ran and its findings were addressed.
Quick YAML sanity check:
python3 -c "import yaml; d=open('skills/<slug>/SKILL.md').read().split('---'); yaml.safe_load(d[1])"
Step 11 — Report to user
Deliver the report in the format below, then suggest updating README.md to add the new skill to the "Available skills" table.
Constraints
- Markdown and YAML only — no executable scripts inside
skills/<slug>/ - All prose in English (per README §Contributing). Only trigger phrases in the
descriptionmay be bilingual description≤ 1024 characters,name≤ 64 characters, body < 500 lines- Never include
anthropicorclaudein thenameordescription - Never invent frontmatter fields beyond what
references/FRONTMATTER.mddocuments - Always cite at least one canonical example path from the repository when guiding archetype choice
- Always run Step 9 (
@prompt-engineeringaudit) before Step 10. Skipping the audit is a regression even when scaffolding looks complete. - Never apply the
@prompt-engineeringrewrite without explicit user approval. The audit is read-only; this skill mediates the apply step on the user's behalf. - Never report a skill as ready when
@prompt-engineeringreturned blocking findings (Critical or Major). Resolve them or surface them withprompt audit: blocked — <count> Critical/Major findings unresolved. - Never commit without the user's explicit approval
Output format
After creation, report exactly:
Created skills/<slug>/
SKILL.md (<N> lines, archetype: <X>)
references/<FILE>.md (<N> lines) [if any]
EXAMPLE.md (<N> lines) [if any]
Frontmatter:
name: <slug>
source: ValarMindSkills
description: <first 120 chars…>
Prompt audit (@prompt-engineering):
clarity: <N>/8 axes pass
anti-hallucination: <N>/12 strategies covered
token delta: <signed Δ tokens>
risk tag (overall): SAFE | REVIEW | BREAKING
blocking findings: <count> (resolved before report)
Install:
bash scripts/install-plugin-claude.sh # Claude Code CLI (plugin valarmindskills@valarmindskills)
bash scripts/install-all.sh # Claude Code + Antigravity
Invoke:
/valarmindskills:<slug>
Then offer to update README.md and, if the user agrees, add the new row to the "Available skills" table.
Example request
See EXAMPLE.md for a worked end-to-end creation of hello-skill.
Typical activating phrases:
- "Crie uma skill nova para auditar docker-compose"
- "Scaffold a skill that generates OpenAPI specs from Go handlers"
- "Adicionar uma skill para revisar migrations"
- "Help me design a SKILL.md for a changelog summarizer"
Related Skills
@prompt-engineering— paired sibling. Audits the prompt content of the just-scaffoldedSKILL.md(Step 9) before validation. Scaffold first, audit second.
References
- ARCHETYPES — the five archetypes, decision matrix, and canonical examples
- FRONTMATTER — YAML field reference (project + official Anthropic comparison)
- STRUCTURE — directory layout, naming rules, progressive disclosure, anti-patterns
- EXTRA_INSTRUCTIONS — how skills consume free-form overrides after invocation, precedence rules, Inputs/Constraints patterns
- CHECKLIST — final validation before handing the skill back to the user (includes the prompt-audit checklist section)