tech-doc-codelab
Skill1 starsChanged 2 months agoUnlicenseView on GitHub
Write technical documentation and hands-on codelabs for software concepts, frameworks, and architectures. Use when asked to "document this", "explain how X works", "write a codelab for", "walk me through", or "teach me about" a technical topic. Produces markdown docs and step-by-step exercises.
In this repository71 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ad-copy-writerSkill
- ae-inspect-describeSkill
- algorithmic-artSkill
- animation-directorSkill
- brainstorming-and-ideatingSkill
- brainstorming-research-ideasSkill
- brainstormingSkill
- brief-to-tasksSkill
- canvas-designSkill
- cli-designSkill
- cli-output-hierarchySkill
- commit-messageSkill
- craft-uiSkill
- creative-directorSkill
- design-briefSkill
- design-flowSkill
- design-mock-auditSkill
- design-reviewSkill
- design-system-patternsSkill
- design-tokensSkill
- deslopifySkill
- diagnoseSkill
- doc-restructureSkill
- eval-criticSkill
- formatting-open-markdownsSkill
- frontend-designSkill
- frontend-slidesSkill
- gdocs-tab-writerSkill
- gemini-apiSkill
- gif-creationSkill
- github_repo_researchSkill
- grill-meSkill
- grill-with-docsSkill
- hallmarkSkill
- handoffSkill
- html-presentationSkill
- humanizerSkill
- improve-codebase-architectureSkill
- information-architectureSkill
- install-skill-from-githubSkill
- markdown-output-hierarchySkill
- marketing-psychologySkill
- merge-latestSkill
- modern-web-performanceSkill
- motion-designSkill
- pdf-readerSkill
- pm-brainstormingSkill
- pm-discovery-brainstormSkill
- product-marketingSkill
- prototypeSkill
- pull-requestSkill
- ralph_loopSkill
- react-best-practicesSkill
- skill-creatorSkill
- skill-optSkill
- steve-voiceSkill
- systematic-debuggingSkill
- tastemaker-styleSkill
- threejsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Confirm the topic: If the user didn't provide one, ask.
- Distinctive: line 18
Gather context: If the user supplied reference docs, code, or links, read them first.
- Distinctive: line 20
Pick the mode: If the request says "explain" or "document", use Doc mode.
- Distinctive: line 26
Write a standalone markdown document that covers the topic.
- Distinctive: line 74
Skip the pedagogy: Don't write "Let's explore" or "Think of it as".
- Distinctive: line 76
One idea per section: If you're covering two ideas, make two sections.
- Distinctive: line 77
Code over prose: If a 10-line snippet explains it better than three paragraphs, use the snippet.
- Distinctive: line 82
Write a hands-on exercise that builds something real.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Technical Documentation & Codelabs
Two modes, one skill. Use Doc mode to explain a concept. Use Codelab mode to teach it through a guided exercise. The user may ask for one or both.
Before You Write
- Confirm the topic. If the user didn't provide one, ask. Don't guess.
- Gather context. If the user supplied reference docs, code, or links, read them first. Search the codebase or internal docs if you need more.
- Pick the mode. If the request says "explain" or "document", use Doc mode. If it says "walk me through" or "codelab", use Codelab mode. If both, write the doc first, then the codelab.
Doc Mode
Write a standalone markdown document that covers the topic. Follow this structure, dropping any section that doesn't apply:
Structure
# [Topic Title]
One paragraph: what it is, why it exists, what problem it solves.
## Key Concepts
Short definitions. No fluff. Use a term list or bullets. Define jargon here
so later sections can use it without re-explaining.
## How It Works
Walk through the mechanics. Describe the components, what each one does, and
how they connect. Use a mermaid diagram if the relationships are non-trivial.
### [Component Name]
- What it does
- What it owns
- How it relates to other components
## When to Use It
Concrete scenarios where this concept applies. Real examples from the
codebase or domain, not hypotheticals.
## Trade-offs
What you gain. What you give up. No "despite its challenges" hedging -- just
state the costs plainly.
## Code Example
A short, focused snippet that shows the concept in action. One concept per
snippet. Annotate with inline comments where the code alone isn't clear.Doc Mode Rules
- Lead with the point. First sentence of every section should be the actual information, not a setup for it.
- Be specific. Name real files, classes, and functions. Don't say "the
relevant module" when you can say
//foo/bar:baz. - Skip the pedagogy. Don't write "Let's explore" or "Think of it as". Just state the thing.
- One idea per section. If you're covering two ideas, make two sections.
- Code over prose. If a 10-line snippet explains it better than three paragraphs, use the snippet.
Codelab Mode
Write a hands-on exercise that builds something real. The reader should have working code at the end.
Structure
# [Codelab Title]
## What You'll Build
One sentence. What the reader will have at the end of this exercise.
## Prerequisites
- Tools, access, packages needed
- Assumed knowledge (be honest about what you expect them to know)
## Steps
### Step 1: [Verb phrase] (e.g., "Set up the workspace")
What to do, why, and the exact commands or code.
**Do this:**
```language
actual code or commandWhat happened: Brief explanation of what that code did and why it matters for the next step.
Step 2: [Next verb phrase]
...
Verify It Works
How to confirm the exercise succeeded. Exact command, expected output.
What You Learned
Three to five bullet points. No summaries of summaries.
Going Further (optional)
Pointers to next steps, related concepts, or extensions they could try. ```
Codelab Mode Rules
- Assume nothing silently. If a step requires knowledge you haven't covered, say so in Prerequisites. Don't let readers hit a wall mid-step.
- Every step must do something. No steps that are just explanation. Each step should produce a change the reader can see or verify.
- Show the actual output. After commands, show what the reader should expect to see. This is how they know they're on track.
- Explain forward, not backward. When explaining why a step matters, say what it enables in future steps, not what led up to it.
- Keep steps small. If a step takes more than 5 minutes or changes more than ~20 lines, split it.
- Name the file. Every code block that the reader should write into a file needs to say which file, with a full path.
Style Guide (Both Modes)
Read references/style_rules.md before writing. Key points:
- No throat-clearing. Cut introductory filler. Start with the content.
- No false drama. Don't inflate stakes. A latency metric is a latency metric, not a "fundamental shift in how we think about performance".
- Straight language. Use "is" instead of "serves as". Use "shows" instead of "highlights". Use "because" instead of "not because X, but because Y".
- Minimal em-dashes. Two per document max.
- No bold-first bullets. Don't start every list item with
**Keyword**:. - Concrete > abstract. Numbers, file paths, class names, and output snippets beat vague descriptions every time.
Adapting to a Style Example
If the user provides an existing document as a style reference:
- Match its heading depth, section ordering, and level of detail.
- Match its tone (formal vs. conversational, dense vs. spacious).
- Don't match its anti-patterns. If the style example has AI tropes, drop them. Write it the way a careful human editor would.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

