agentleFS
amoraledaamoraleda/skills/learning/SKILL.md

learning

Skill2 starsChanged 9 months agoApache-2.0View on GitHub

Create developer-friendly learning documentation for technical topics (Kubernetes, Terraform, internal tools, etc.). Use when the user wants to document technical concepts, create learning materials, explain complex topics to developers, or asks about creating documentation with examples, diagrams, Q&A testing, and FAQs.

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. xiaobei930/cc-best★ 48same name
    2. alxyrgin/secondbrain_ai★ 17same name
    3. HsuanYuLee/polaris★ 5same name
    4. zinan92/skills-repo★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

26 rules. About 0 are common, 23 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈23

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If automatic discovery doesn't work, reference the skill directly:

    line 23
  2. Distinctive:

    When returning to continue documenting:

    line 37
  3. Very specific:

    All documentation is saved to: ~/cursor-learning/

    line 51
  4. Distinctive:

    Wait for the user to respond before proceeding.

    line 89
  5. Distinctive:

    After the user chooses:

    line 139
  6. Very specific:

    Create the folder if it doesn't exist: ~/cursor-learning/<chosen-folder>/

    line 140
  7. Distinctive:

    Create documentation following the template in template.md.

    line 147
  8. Distinctive:

    Every document MUST start with this notice box:

    line 151
  9. Distinctive:

    Analogies: Use real-world comparisons (e.g., "A Pod is like a shipping container")

    line 184
  10. Distinctive:

    Examples: Always include working code/config snippets

    line 185
  11. Distinctive:

    Diagrams: Use Mermaid syntax for all diagrams

    line 186
  12. Distinctive:

    Glossary: Add any technical term that might be unfamiliar

    line 187
  13. Distinctive:

    After writing the documentation, always prompt the user:

    line 209
  14. Distinctive:

    Wait for the user to confirm they've read the document before proceeding to Q&A.

    line 225
  15. Distinctive:

    After the user confirms they've read the documentation:

    line 231
  16. Distinctive:

    Ask questions ONE AT A TIME

    line 238
  17. Distinctive:

    Wait for user response before showing the next question

    line 239
  18. Distinctive:

    After the user answers, provide feedback:

    line 267
  19. Distinctive:

    After the Q&A session, update the documentation:

    line 325
  20. Distinctive:

    If the user asks a question about the documented topic:

    line 329
  21. Distinctive:

    Update the document to explain it better

    line 332
  22. Distinctive:

    Add the Q&A to the FAQ section

    line 333
  23. Distinctive:

    Add the explanation to the appropriate section

    line 336
  24. Very specific:

    After creating a new document, always update ~/cursor-learning/index.md:

    line 372
  25. Distinctive:

    Add a link to the new document under the appropriate section

    line 374
  26. Distinctive:

    If the index doesn't exist, create it with the structure shown in the "Index Template" section below.

    line 387

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Learning Documentation Generator

This skill helps create clear, digestible learning documentation for developers who need to learn technical concepts (Kubernetes, Terraform, internal tools, processes, etc.).

How to Use This Skill

Triggering the Skill

This skill works only within Cursor's chat interface (not from terminal). It is automatically discovered when you mention relevant keywords:

  • "I want to create learning documentation"
  • "Help me document this technical concept"
  • "Create learning materials for [topic]"
  • "Process this content into developer-friendly docs"

Explicit Invocation

If automatic discovery doesn't work, reference the skill directly:

@.cursor/skills/learning/SKILL.md - help me document [topic]

Or mention the skill name:

Use the learning skill to process this content: [content]

Resuming Work in a New Session

When returning to continue documenting:

  • "I want to continue creating learning documentation. Here's the next topic: [content]"
  • "Process the content in the source file I provide"

Important Limitations

  • Chat only: Skills are a Cursor IDE feature and cannot be triggered from terminal/CLI
  • Interactive: The Q&A testing step requires conversation, making this inherently chat-based

Output Location

All documentation is saved to: ~/cursor-learning/

The base directory structure:

~/cursor-learning/
├── index.md              # Master index of all learning documents
├── kubernetes/           # Example category folder
│   ├── pods.md
│   └── services.md
├── terraform/            # Another category folder
│   └── modules.md
└── [custom-folder]/      # User-chosen folders

Folder Selection (REQUIRED)

Before creating any documentation, you MUST ask the user which folder to use:

---

## 📁 Where should I save this documentation?

The learning documentation will be saved to `~/cursor-learning/`.

**Please choose or specify a subfolder:**

1. `kubernetes/` - Kubernetes-related topics
2. `terraform/` - Terraform and IaC topics
3. `tools/` - Internal tools and utilities
4. `processes/` - Team processes and workflows
5. **Custom** - Specify your own folder name

*Reply with a number (1-5) or type a custom folder name*

---

Wait for the user to respond before proceeding.


Recommended Cursor Modes

For the best experience, switch between Cursor modes during the workflow:

Workflow StepRecommended ModeWhy
1. Input & PlanningAsk ModeDiscuss the content, clarify scope, ask questions
2. Folder SelectionAsk ModeChoose where to save the documentation
3. Writing DocumentationAgent ModeCreate and edit files
4. Q&A TestingAsk ModeInteractive questioning without file changes
5. Updating FAQ/DocsAgent ModeModify documentation based on Q&A
6. Reviewing & RefiningAsk ModeDiscuss improvements without accidental edits

💡 Tip: If you ask a question about the documentation and it reveals something unclear, switch to Agent Mode to update the document.


Workflow Overview

┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│  1. INPUT       │ ──▶ │  2. FOLDER      │ ──▶ │  3. PROCESS     │ ──▶ │  4. READ        │ ──▶ │  5. TEST        │
│  Raw content    │     │  Choose folder  │     │  Write docs     │     │  User reads doc │     │  Q&A session    │
└─────────────────┘     └─────────────────┘     └─────────────────┘     └─────────────────┘     └─────────────────┘
                                                                                                        │
                                                                                                        ▼
                                                                                               ┌─────────────────┐
                                                                                               │  6. FINALIZE    │
                                                                                               │  Update FAQ     │
                                                                                               └─────────────────┘

Step 1: Receive Content

Accept content from the user in one of two ways:

  • File: User provides a path to source content
  • Chat: User pastes content directly in conversation

Step 2: Folder Selection

ALWAYS prompt the user to choose a folder before writing documentation. See the "Folder Selection (REQUIRED)" section above.

After the user chooses:

  1. Create the folder if it doesn't exist: ~/cursor-learning/<chosen-folder>/
  2. Proceed to write documentation

Step 3: Process and Write Documentation

Create documentation following the template in template.md.

Document Header (REQUIRED)

Every document MUST start with this notice box:

> **📚 Interactive Documentation**
> 
> This document was created using the **learning** skill. For the best learning experience:
> 1. Read through the document first
> 2. Return to Cursor chat and answer the Q&A questions
> 3. Ask questions if something is unclear — the document will be updated!
> 
> To modify or improve this document, use: `@.cursor/skills/learning/SKILL.md`

Documentation Structure

Each topic document MUST include these sections in order:

  1. Interactive Documentation Notice (header box above)
  2. Title & TL;DR - What is this? One sentence summary.
  3. Overview - 2-3 paragraphs, no jargon.
  4. Why It Matters - Why should a developer care?
  5. Key Concepts - Break down the main ideas with simple analogies.
  6. How It Works - Visual diagram (Mermaid) showing relationships/flow.
  7. Practical Examples - Real code/config examples with comments.
  8. Common Pitfalls - What mistakes to avoid.
  9. FAQ - Questions and answers (populated after Q&A session).
  10. Glossary - Define technical terms used in the document.
  11. External Resources - Links to official docs and tutorials.

Writing Guidelines

  • Target audience: Developers unfamiliar with the topic
  • Tone: Friendly, clear, no unnecessary jargon
  • Analogies: Use real-world comparisons (e.g., "A Pod is like a shipping container")
  • Examples: Always include working code/config snippets
  • Diagrams: Use Mermaid syntax for all diagrams
  • Glossary: Add any technical term that might be unfamiliar

Diagram Types to Use

%% Architecture diagrams
graph TB
    A[Component] --> B[Component]

%% Sequence diagrams for flows
sequenceDiagram
    User->>Service: Request

%% State diagrams for lifecycles
stateDiagram-v2
    [*] --> Running

Step 4: Prompt User to Read

After writing the documentation, always prompt the user:

---

## 📖 Next Step: Read the Documentation

I've created the documentation at `~/cursor-learning/<folder>/<topic>.md`.

**Please take a few minutes to read through it**, then come back here and let me know you're ready for the Q&A session.

When you're ready, just say: "I've read it, let's do the Q&A"

---

Wait for the user to confirm they've read the document before proceeding to Q&A.


Step 5: Test Understanding (Q&A Session)

After the user confirms they've read the documentation:

  1. Prepare 5 questions about the content
  2. Questions should cover:
    • Basic concept understanding
    • Practical application
    • Common pitfalls
  3. Ask questions ONE AT A TIME
  4. Wait for user response before showing the next question
  5. Provide immediate feedback after each answer

Question Flow

Present questions one by one with a progress indicator. Use this format:

---

## 🧠 Q&A Session

---

### Question 1 of 5

> **[Question text]**

a) Option A  
b) Option B  
c) Option C  
d) Option D

---

*Reply with your answer (a, b, c, or d)*

After the user answers, provide feedback:

---

### ✅ Correct! (or ❌ Incorrect)

[Brief explanation of why the answer is correct/incorrect]

---

### Question 2 of 5

> **[Next question]**

...

For open-ended questions:

---

### Question 5 of 5 (Open-ended)

> **[Question text]**

*Reply in your own words*

After All Questions

Show a summary:

---

## 📊 Results

| # | Question | Your Answer | Result |
|---|----------|-------------|--------|
| 1 | [Short question summary] | [answer] | ✅ |
| 2 | [Short question summary] | [answer] | ❌ |
| ... | ... | ... | ... |

**Score: X/5 (XX%)**

### Key Takeaways
- [Main learning point from incorrect answers]
- [Any clarifications needed]

---

Step 6: Finalize and Update Documentation

After the Q&A session, update the documentation:

When User Asks a Question

If the user asks a question about the documented topic:

  1. If the answer IS in the document but unclear:
    • Update the document to explain it better
    • Add the Q&A to the FAQ section
  2. If the answer is NOT in the document:
    • Add the explanation to the appropriate section
    • Add the Q&A to the FAQ section
  3. If the answer IS clear in the document:
    • Just add the Q&A to the FAQ section

💡 Important: Every question from the user is valuable feedback. If they asked, others will too!

FAQ Format

## FAQ

### Q: [Question from Q&A or user]
**A**: [Clear, concise answer]

### Q: [Another question]
**A**: [Answer with example if helpful]

Glossary Format

## Glossary

| Term | Definition |
|------|------------|
| **CRD** | Custom Resource Definition - extends Kubernetes with new resource types |
| **Controller** | A program that watches resources and takes action to match desired state |
| **Reconciliation** | The process of comparing desired state vs actual state and making corrections |

Update the Index (REQUIRED)

After creating a new document, always update ~/cursor-learning/index.md:

  1. Add a link to the new document under the appropriate section
  2. Use format: - [Topic Title](<folder>/filename.md) - Brief description

Example:

## Kubernetes
- [ConsuelaService](kubernetes/consuela-service.md) - Deploy microservices with a simple YAML file
- [Pods](kubernetes/pods.md) - Understanding the smallest deployable unit

## Terraform
- [Modules](terraform/modules.md) - Reusable infrastructure components

If the index doesn't exist, create it with the structure shown in the "Index Template" section below.

Index Template

# Learning Documentation Index

> This index is automatically maintained by the **learning** skill.
> 
> To add new documentation, use: `@.cursor/skills/learning/SKILL.md`

## Categories

<!-- Add new categories as needed -->

### Kubernetes
<!-- Kubernetes-related documentation -->

### Terraform
<!-- Terraform and IaC documentation -->

### Tools
<!-- Internal tools and utilities -->

### Processes
<!-- Team processes and workflows -->

---

*Last updated: [Date]*

Session Continuity

This workflow supports multi-session work:

  • To pause: User can stop at any step
  • To resume: User says "continue with learning docs" and provides context
  • Progress tracking: Note which step was last completed

Example Topics

See examples.md for a complete example of a documented topic.


Quick Reference

ElementFormat
Code blocksUse language-specific syntax highlighting
DiagramsMermaid in ```mermaid blocks
Commandsinline code for short, code block for multi-line
File pathspath/to/file.yaml
Technical termsBold for key terms, add to Glossary
Warnings> ⚠️ Warning: Important caution
Tips> 💡 Tip: Helpful suggestion
Document headerAlways include the Interactive Documentation notice
Output location~/cursor-learning/<user-chosen-folder>/

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.