workflow-learn-framework
Skill1 starsChanged 6 months agoMITView on GitHub
Learn a novel/domain-specific framework from its real docs BEFORE coding, to prevent hallucinated APIs.
In this repository33 other files it gives its agents.
- skill-process-gotchasSkill
- workflow-cache-disciplineSkill
- workflow-codegraphSkill
- workflow-conductorSkill
- workflow-context-condenserSkill
- workflow-context-hygieneSkill
- workflow-criticSkill
- workflow-deadline-disciplineSkill
- workflow-deep-researchSkill
- workflow-done-definitionSkill
- workflow-edit-formatSkill
- workflow-effort-routingSkill
- workflow-escalateSkill
- workflow-execute-from-planSkill
- workflow-filesystem-offloadSkill
- workflow-long-running-processesSkill
- workflow-lspSkill
- workflow-memory-curationSkill
- workflow-plan-contractSkill
- workflow-plan-firstSkill
- workflow-planSkill
- workflow-quality-barSkill
- workflow-repomapSkill
- workflow-retrieve-before-actSkill
- workflow-spec-drivenSkill
- workflow-stuck-detect-resetSkill
- workflow-stuckSkill
- workflow-subagent-isolationSkill
- workflow-subtask-loopSkill
- workflow-task-finishSkill
- workflow-task-startSkill
- workflow-tool-selectionSkill
- workflow-verify-enhancedSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
When the work involves a framework/library/API you cannot reason about reliably from pretraining, ground yourself in its real documentation …
- Distinctive: line 35
Do NOT invoke for the standard library or frameworks you already know well — that just burns time.
- Distinctive: line 53
Every backend degrades gracefully: Crawl4AI down → trafilatura.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
<!-- TRIGGERS WHEN: "Learn a novel/domain-specific framework from its real docs BEFORE coding, to prevent hallucinated APIs." version: 1.0.0 author: Hermes Max license: MIT platfor -->Learn a framework before coding against it
When the work involves a framework/library/API you cannot reason about reliably from pretraining, ground yourself in its real documentation first — don't guess signatures. This closes the hallucinated-API trap at the knowledge layer (prevention), complementing mcp-verify's detection of bad APIs after the fact.
Trigger — when to invoke
Invoke research_topic BEFORE writing code when ANY of these hold:
- mcp-verify (or a test/import) reports a hallucinated / nonexistent API more than once for the same library — a clear signal you don't know its surface.
- You're about to use an unfamiliar or domain-specific import and you're low-confidence on its exact API (names, parameters, version differences).
- The task is flagged novel/hard by the shared
classify_difficulty/ novelty signal and hinges on a specific framework.
Do NOT invoke for the standard library or frameworks you already know well — that just burns time.
How (fully local — no external API)
research_topic("<framework> <the specific thing you need>", n=3)— searches the self-hosted SearXNG, extracts the top pages via Crawl4AI, distils them with the local model, and stores the notes under adocs/<topic>RAG namespace plusframework→apiedges in the knowledge graph.- Then
search_code("<framework> <api you need>")— it now returns the real signatures from the distilled docs, co-retrieved alongside your own code. - Implement against the retrieved signatures. If a needed page wasn't ingested,
ingest_doc("<url>", "<topic>")a specific one.
Notes
- It's on-demand: you don't need a pre-built corpus. (To pre-seed an
operator's stack up front,
scripts/seed-docs.sh <urls>exists — optional.) - Every backend degrades gracefully: Crawl4AI down → trafilatura; SearXNG down → reported; model down → raw note stored. You always continue, with a warning.
- Bound it: a few targeted topics, not a crawl of the whole docs site.
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.

