llp-init
Skill16 starsChanged 3 months agoMITView on GitHub
Add LLP to a new repository by scaffolding the initial llp/ tree, drafting LLP 0000, and setting up agent instructions that keep the system maintained as code is written.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llp-createSkill
- llp-grillSkill
- llp-init-retrofitSkill
- llp-listSkill
- llp-reviewSkill
- ref-checkSkill
- ref-storySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 14 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the user wants to set up LLP in a fresh repository or very early-stage codebase.
- Distinctive: line 14
Read LLP 0000 for the core LLP conventions and LLP 0001 for the greenfield workflow before making changes.
- Distinctive: line 17
Keep the initial setup lean.
- Very specific: line 25
Check whether an llp/ directory already exists.
- Distinctive: line 26
Check for agent instruction files such as AGENTS.md, CLAUDE.md, or equivalent.
- Very specific: line 27
Read the top-level README and repository structure to understand what the project is and how mature it is.
- Very specific: line 29
If the repository already has substantial code, substantial documentation, or an existing LLP tree, stop and use llp-init-retrofit instead.
- Distinctive: line 33
If LLP is not already present:
- Distinctive: line 37
Keep the tree flat initially unless the user already knows they need subsystem subdirectories
- Distinctive: line 39
Do not create a large initial corpus.
- Very specific: line 43
Create llp/0000-<project-slug>.explainer.md as the root document.
- Distinctive: line 57
If the user has already described a design direction, incorporate it into the draft rather than leaving a blank scaffold.
- Distinctive: line 61
Add or update AGENTS.md (or the repo's existing agent-instructions file) so agents are told:
- Distinctive: line 64
Read relevant LLPs before making changes in areas they cover
- Very specific: line 65
Add @ref annotations when implementing non-obvious documented decisions
- Distinctive: line 66
Update LLP documents when the design changes
- Distinctive: line 68
If the repository already has agent instructions, integrate LLP guidance into the existing file instead of creating competing instructions.
- Distinctive: line 78
Do not create multiple extra LLPs unless the user asks.
- Very specific: line 90
Do not perform a retrofit-style codebase survey.
- Distinctive: line 91
Do not create a large batch of LLPs proactively.
- Very specific: line 92
Do not add @ref annotations to volatile early code unless the user explicitly asks.
≈ “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
llp-init
Use this skill when the user wants to set up LLP in a fresh repository or very early-stage codebase. This is the greenfield setup flow described in LLP 0001.
Invoke as /llp-init.
Ground rules
- Read LLP 0000 for the core LLP conventions and LLP 0001 for the greenfield workflow before making changes.
- LLP documents live in
llp/and use theNNNN-slug.type.mdnaming convention. - The first document should usually be
LLP 0000, anExplainerwith**Role:** Root. - Keep the initial setup lean. The goal is to establish the core loop, not to pre-document speculative design.
Workflow
1. Inspect the repository
Determine whether this is actually a greenfield setup:
- Check whether an
llp/directory already exists. - Check for agent instruction files such as
AGENTS.md,CLAUDE.md, or equivalent. - Read the top-level
READMEand repository structure to understand what the project is and how mature it is.
If the repository already has substantial code, substantial documentation, or an existing LLP tree, stop and use llp-init-retrofit instead.
2. Create the LLP foundation
If LLP is not already present:
- Create
llp/ - Reserve
LLP 0000for the root document - Keep the tree flat initially unless the user already knows they need subsystem subdirectories
Do not create a large initial corpus. Start with the minimum structure that makes the system usable.
3. Draft LLP 0000
Create llp/0000-<project-slug>.explainer.md as the root document. It should include:
- Title in the form
# LLP 0000: <Project or system name> - Metadata header with:
**Type:** Explainer**Status:** DraftorActive, depending on the user's preference**Systems:**the top-level system name, usually the project name or a small set of initial systems**Role:** Root**Author:****Date:**
- A concise summary of what the project does
- High-level architecture or major components
- Key constraints or invariants that will matter to future code changes
If the user has already described a design direction, incorporate it into the draft rather than leaving a blank scaffold.
4. Set up agent instructions
Add or update AGENTS.md (or the repo's existing agent-instructions file) so agents are told:
- LLP documents live in
llp/ - Read relevant LLPs before making changes in areas they cover
- Add
@refannotations when implementing non-obvious documented decisions - Update LLP documents when the design changes
If the repository already has agent instructions, integrate LLP guidance into the existing file instead of creating competing instructions.
5. Suggest the next documents, but don't overbuild
Recommend the smallest sensible follow-on set, typically:
LLP 0000root explainer- One principle, RFC, or decision that captures the first non-obvious architectural choice
- Additional LLPs only as real decisions arise
Do not create multiple extra LLPs unless the user asks.
6. Close with practical next steps
Tell the user:
- What files were created or updated
- What LLP number was assigned to the root document
- What the next high-value step is, usually either refining
LLP 0000or creating the first substantive subsystem/design LLP
Scope limits
- Do not perform a retrofit-style codebase survey; that belongs to
llp-init-retrofit. - Do not create a large batch of LLPs proactively.
- Do not add
@refannotations to volatile early code unless the user explicitly asks.
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.

