Create concise checklist cheatsheets from official tool docs. Use for docs URLs, setup guides, or updating existing cheatsheets. Don't use for long tutorials or API references.
日本語の概要は準備中です。原文の説明を表示しています。
Author standardized AI cheatsheets in the awesome-cheatsheets format
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Scaffold and author standardized AI cheatsheets that conform to the template contract defined in tools/template-contract.ts.
Trigger this skill when a user wants to create a new cheatsheet for:
Ask the user for:
If the user provides just a topic with no draft, proceed to Step 2 with an empty canvas.
SAFETY: No Fabrication
The skill MUST NOT fabricate references, commands, or facts not present in:
Concrete examples of fabrication (NEVER do these):
--force that doesn't existWhen in doubt, ASK the contributor rather than guess. If the user cannot provide the information, mark the section as incomplete rather than inventing content.
Before proceeding to drafting, derive the slug from the topic (kebab-case). Check if src/content/cheatsheets/<slug>/ already exists in the repository.
If the cheatsheet already exists:
If the cheatsheet does not exist: Proceed to Step 2.
Every cheatsheet must follow template-contract.md:
Frontmatter (required):
slug: kebab-case identifier (e.g., hermes-agent)title: Human-readable titlecategory: One of tool, mcp, concept, comparisonsubcategory: Optional free-formsummary: 20-400 character sentencelast_updated: ISO-8601 date (YYYY-MM-DD)stale_after_days: 1-730tags: 1-12 kebab-case tagsstatus: poc, published, or deprecatedauthors: Optional author arraylinks: Object with required homepage, optional repo and othersSection structure (locked order):
**One-line:** <summary> (bold, before first H2)## Installation — copy-paste one-line installer(s) + first-run flow## Step-by-Step Setup & Optimization — numbered steps## Best Practices — bullets## Quick Command Reference — code blocks## Expected Outcomes — what the user gets## Reference — collapsed <details> block with sourcesAn optional ## Prerequisites H2 may appear before ## Installation — a
task list (- [ ] …) of environment requirements the reader checks off.
Step format (extended template):
Steps render as a checklist timeline on the detail page. Aim for 3–7 steps
under ## Step-by-Step Setup & Optimization, numbered 1..N contiguously
(### Step N — Title, em dash). Every step carries a meta line and a
Verify line:
### Step 1 — Install and verify
**Goal:** A working `tool` binary on PATH · **Time:** ~5 min · **Level:** beginner
1. Install:
```bash
curl -fsSL https://example.dev/install.sh | sh
tool --version
Verify: tool --version prints a version number.
[!TIP] One-line tip that saves time.
Rules:
- Meta line is one paragraph directly after the heading, segments joined
by ` · `. `**Time:**` matches `~?\d+ (min|mins|minutes|h|hr|hours)`;
`**Level:**` is `beginner` | `intermediate` | `advanced`.
- `**Verify:**` names the command/output that proves the step worked
(≥10 chars) — reuse a command already in the step, never invent one.
- One action per numbered item; every command in its own fenced code
block with a language tag (`bash`, `toml`, …). Commands are
copy-paste ready: no `$ ` prompts, placeholders as `<UPPER_SNAKE>`.
- Use GitHub alerts (`> [!TIP]`, `> [!WARNING]`, `> [!NOTE]`,
`> [!IMPORTANT]`, `> [!CAUTION]`) for tips and warnings instead of bold
prose — they render as callouts on the site and natively on GitHub.
### Step 3: Draft the cheatsheet
Use the canonical Hermes Agent example (`examples/hermes-draft.md` → `examples/hermes-expected.md`) as a reference for:
- Tone: actionable, concise, expert-level
- Structure: locked 7-section format
- Installation: copy-paste one-line installer block at the top
- Frontmatter: all required fields populated
Generate a first draft incorporating:
- User's draft content if provided
- Research from the tool's official docs
- Best practices from the community
**Pi retro heuristics (from the first non-Hermes run):**
- If the issue or draft names a concrete slug/path, prefer that over an inferred slug and record the decision in Review Questions when it conflicts with fixture metadata.
- If a draft offers two filenames or concepts (`AGENTS.md` vs `SYSTEM.md`, core feature vs extension), pick only the version verified by provided docs; otherwise flag it as a Review Question instead of blending both.
- Extract every verified executable command from the draft, dedupe it, then group commands by goal in the Quick Command Reference table.
- Keep the local loop fast with `pnpm cheatsheet:lint <file> --no-links`; run the full link check before PR creation when network conditions are reliable.
### Step 4: Validate against contract
After drafting, call the validator to check conformance:
```typescript
import { validate } from "tools/validator";
// After writing the draft to a temp file
const result = await validate("/path/to/draft.md");
if (!result.ok) {
// Surface every failure with its rule name
console.log("Validation failed:");
for (const e of result.errors) {
console.log(` - ${e.rule}: ${e.message}${e.line ? ` (line ${e.line})` : ""}`);
}
// Ask contributor to fix before proceeding
}
Rules invoked by validator (single source of truth):
frontmatter-missing, frontmatter-yaml-invalid, frontmatter-schemasection-missing, section-out-of-orderone-liner-missing, one-liner-too-shortreference-details-missingstep-sequence, step-meta-invalid, prerequisites-out-of-order, verify-emptymermaid-missing-in-required-section, mermaid-fence-broken, mermaid-emptylink-broken (optional, skip via links: "skip")Do NOT duplicate validation logic in this skill — the validator decides, the skill orchestrates.
Return the complete .md file content with:
After validation passes, emit 2–4 specific review questions tied to ambiguous or opinion-driven parts of the draft.
Requirements:
Analyze the draft for these ambiguity types:
Example valid questions (NOT "looks good?"):
❌ "Does this look good?" ❌ "Is the cheatsheet ready?"
✅ "The slug ollama-run vs ollama-cli — which is more widely recognized in the community?"
✅ "The Installation block shows the curl one-liner — is there a Homebrew formula or apt repo I should add as an alternative?"
✅ "The run commands reference v0.1.2 — should I note that v0.1.3 is the latest stable?"
✅ "This cheatsheet assumes Linux. Should I add a note for macOS/Windows users?"
Output format:
## Review Questions
1. [specific question about naming/slug/tags]
2. [specific question about technical accuracy]
3. [specific question about scope/completeness]
4. [specific question about audience/assumptions]
Please confirm each item or suggest alternatives before I finalize.
Wait for contributor response before proceeding. If they request changes, iterate on the draft and re-validate before re-presenting questions.
On contributor approval of all review questions, suggest:
Conventional commit message (lower-case, imperative):
docs(cheatsheet): add <slug> cheatsheet for <tool/concept>
Examples:
docs(cheatsheet): add ollama-cli cheatsheet for local LLM inferencedocs(cheatsheet): add hermes-agent cheatsheet for autonomous AI agentsdocs(cheatsheet): add mcp-sequencer cheatsheet for MCP protocol workflowsPR title (same as commit message, can be more descriptive):
docs(cheatsheet): add <slug> cheatsheet — <one-line summary>
Example:
docs(cheatsheet): add ollama-cli cheatsheet — local LLM inference from CLI
PR description (recommended, optional for contributor):
## Summary
<summary from frontmatter>
## Sections
- Installation: <one-line installer summary, platforms covered>
- Step-by-Step: <n> steps
- Best Practices: <n> items
- Commands: <n> code examples
## Validation
- [x] Passes template-contract.md validation
- [x] Review questions addressed
DO NOT stage, commit, or push — those steps stay with the human contributor.
Output the commit message and PR title as a clearly formatted block the contributor can copy.
See examples/ for input/output pairs:
hermes-draft.md → hermes-expected.md (canonical reference)tools/validator — the single source of truth for all validation rulestools/validator before mergetemplate-contract.md/cheatsheet-scribe → answer review questions → open PRまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Create concise checklist cheatsheets from official tool docs. Use for docs URLs, setup guides, or updating existing cheatsheets. Don't use for long tutorials or API references.
日本語の概要は準備中です。原文の説明を表示しています。