context-load
Skill2 starsChanged 3 months agoMITView on GitHub
Phase 1 of ACF. Reads all project MDs and builds a compressed context snapshot (architecture, challenge, templates, tests, CI checks). Use when ACF orchestrator delegates context gathering, or when the user asks to "load context", "read the project docs", or "understand the stack before making an issue".
2 other projects use a version of this.
Adopted by
Most recently taken up by
- s977043/PlanGatetheir own version, first seen Nov 2, 2026
- jaskiel123/operators-braintheir own version, first seen Jun 15, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- s977043/PlanGate★ 3same name
- jaskiel123/operators-brain★ 0same 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 repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- stack-auditSkill
- issue-craftSkill
- pr-contextSkill
- frontend-previewSkill
- label-metadataSkill
- compactionSkill
- cavemanSkill
- graph-scopeSkill
- acfSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Read in order, skip missing files:
- Distinctive: line 34
After the reading order, scan the following files for imperative rules and framework-specific conventions that affect issue/PR crafting:
- Distinctive: line 52
Keep the extracted conventions compact: max 10 bullets, only the rules that affect issue/PR crafting.
- Very specific: line 58
Write to the progress file (.slim/acf/<slug>.md):
- Very specific: line 114
If key project files are missing, the snapshot still builds — record "none" or "not found" for the missing section instead of skipping it:
- Very specific: line 139
GitHub API rate limits: not applicable to context-load (no API calls).
- Very specific: line 140
If gh is used for supplementary data and rate-limited, skip that data and note it in the snapshot.
- Very specific: line 144
Commands fail: if a file read fails (permissions, encoding), skip the file and note it: "[file]: read error — skipped".
≈ “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
Context-Load
Reads project documentation and builds a compressed snapshot that later phases (issue-craft, pr-context) consume. The snapshot is never a copy of file contents — it is a structured index of paths + key facts.
Reading Order
Read in order, skip missing files:
AGENTS.md— workflow, conventions, file reference tableARCHITECTURE.mdordocs/ARCHITECTURE.md— architecture decisionsdocs/DEVELOPMENT.md— dev guide, build/test commandsdocs/ACCEPTANCE_CRITERIA.md(or equivalent) — AC patterns by issue type.github/ISSUE_TEMPLATE/*— issue template fields and auto-labels.github/PULL_REQUEST_TEMPLATE/*— PR template required sections.github/workflows/*— CI check names (extract job names, not full YAML)README.md— project snapshot (test counts, file counts, stack)
Conventions Extraction
After the reading order, scan the following files for imperative rules and framework-specific conventions that affect issue/PR crafting:
AGENTS.md— scan for imperative rules (keywords: "must", "always", "never", "MUST", "CRITICAL"). Extract the rules that constrain code or workflow decisions.CONTRIBUTING.md,DEVELOPMENT.md,ADEV.md— scan for conventions (naming, structure, patterns). Skip files that are absent.- Code review checklists (if present, e.g.
.github/CHECKLIST.md,docs/CODE_REVIEW.md) — extract enforcement rules that reviewers apply. - Framework-specific API rules — e.g. "use
OnClientEvent, not.Event" for RemoteEvents. - Lifecycle rules — e.g. "disconnect all
:Connect()inKnitDestroy". - Testing conventions — e.g. "mock
Players:GetPlayerByUserId→nilfor no-op replication". - Rollout/deployment conventions — e.g. "3-stage rollout (Hidden → Integrated → Cleanup) for new features".
Keep the extracted conventions compact: max 10 bullets, only the rules that affect issue/PR crafting. Drop generic advice ("write clean code") and keep only enforceable, framework-specific rules.
Snapshot Schema
Write to the progress file (.slim/acf/<slug>.md):
## Context Snapshot
### Architecture
- Stack: [languages, frameworks, build tools — one line]
- Key dirs: [src/, scripts/, docs/ — paths only]
- Architecture doc: [path or "none"]
### Challenge
- Current branch: [name]
- Open issues: [count] (from stack-audit)
- Open PRs: [count] (from stack-audit)
### Templates
- Issue templates: [list names + auto-labels]
- PR template: [path, required sections]
### Tests
- Test commands: [exact commands, one per line]
- Test count: [N tests across M suites]
- Coverage tool: [command or "none"]
### CI Checks
- Check names: [list job names from workflows]
- Required checks: [which ones gate merge]
### Conventions
- API: `OnClientEvent`/`OnServerEvent` for RemoteEvents (NOT `.Event`)
- Lifecycle: all `:Connect()` stored + disconnected in `KnitDestroy`
- Constants: no magic numbers — all in `Constants.luau` as UPPER_SNAKE_CASE
- Testing: mock `Players:GetPlayerByUserId` → `nil` for no-op replication
- Rollout: 3-stage (Hidden → Integrated → Cleanup) for new features
- Commit format: [conventional commits or custom]
- Branch naming: [prefix rules]Compression Rules
- Paths, not contents —
src/shared/Constants.luaunot the file's code - Command strings, not configs —
lune run scripts/test_core.luaunot the test file - Check names, not YAML —
test (lune)not the full workflow - Counts, not lists — "26 services" not a list of all 26 service names
- Max 5 bullets per section — if more, summarize
Output
The snapshot is consumed by:
- stack-audit (phase 2) — uses test commands and CI check names
- issue-craft (phase 3) — uses AC patterns, templates, conventions
- pr-context (phase 4) — uses test commands, CI check names, PR template
Empty State Handling
If key project files are missing, the snapshot still builds — record "none"
or "not found" for the missing section instead of skipping it:
- No
ARCHITECTURE.md— setArchitecture doc: none. Infer the stack frompackage.json,Cargo.toml,go.mod, or file extensions. Note in the snapshot: "Architecture doc missing — stack inferred from manifest files." - No
.github/workflows/— setCI Checks: none. Note: "No CI workflows detected — AC should reference local test commands only." - No
.github/ISSUE_TEMPLATE/— setIssue templates: none. Use the default issue structure from issue-craft (this skill's body template). - No
.github/PULL_REQUEST_TEMPLATE/— setPR template: none. Use the default PR body structure from pr-context. - No
README.md— setStack: inferred from file extensions. Note: "No README — stack inferred from source files." - No
AGENTS.md— skip conventions extraction, setConventions: none.
The snapshot is always produced, even for a bare repo with only source files.
Error Handling
ghCLI not installed: context-load does not requiregh— it reads files from the local filesystem. Ifghis needed for issue/PR counts, note "gh not available — counts deferred to stack-audit" and proceed.ghnot authenticated: same as above — context-load works withoutgh. Stack-audit will handle auth errors.- GitHub API rate limits: not applicable to context-load (no API calls).
If
ghis used for supplementary data and rate-limited, skip that data and note it in the snapshot. - Required files/directories don't exist: see Empty State Handling above.
Missing files are expected — record
"none"and continue. - Commands fail: if a file read fails (permissions, encoding), skip the
file and note it:
"[file]: read error — skipped". Do not abort the snapshot.
Example
Filled-in snapshot for a sample Luau game project:
## Context Snapshot
### Architecture
- Stack: Luau, Knit, Lune build tool
- Key dirs: src/server/, src/client/, src/shared/, scripts/, docs/
- Architecture doc: docs/ARCHITECTURE.md
### Challenge
- Current branch: fix/flashlight-fireserver
- Open issues: 7 (from stack-audit)
- Open PRs: 2 (from stack-audit)
### Templates
- Issue templates: bug-report.yml (auto-labels: bug, area:backend), feature-request.yml (auto-labels: enhancement)
- PR template: .github/PULL_REQUEST_TEMPLATE.md (required: Summary, Closes, AC)
### Tests
- Test commands: lune run scripts/test_core.luau
- Test count: 26 tests across 3 suites
- Coverage tool: none
### CI Checks
- Check names: test (lune), lint (selene), type-check (luau-analyze)
- Required checks: test (lune), type-check (luau-analyze)
### Conventions
- API: OnClientEvent/OnServerEvent for RemoteEvents (NOT .Event)
- Lifecycle: all :Connect() stored + disconnected in KnitDestroy
- Constants: no magic numbers — all in Constants.luau as UPPER_SNAKE_CASE
- Testing: mock Players:GetPlayerByUserId → nil for no-op replication
- Rollout: 3-stage (Hidden → Integrated → Cleanup) for new features
- Commit format: conventional commits
- Branch naming: fix/, feature/, docs/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.

