project-context
Skill26 starsChanged 9 days agoMITView on GitHub
Generate or refresh the business context maps (the HTML maps inside business-data-context, business-api-context and business-e2e-context) and the master test plan. Use for business-data-map, business-api-map, business-e2e-map, business-feature-map, user journeys map, master-test-plan, refresh project context, refresh all context, entity map, feature inventory, API business map, or risk-ranked test roadmap. Also scaffolds a project-owned <aspect>-context skill for any other aspect (context-skill mode), and builds the coverage inventory (coverage mode: coverage gaps, gap list, weak tests, what is not tested, behaviours vs tests). Routes exactly one mode at a time unless refresh-all is explicit. UPDATE regenerates only stale sections and always shows a diff and waits for approval before writing.
33 other projects use a version of this.
Adopted by
Most recently taken up by
- advait/effect-durable-agenttheir own version, first seen Nov 8, 2026
- shinpr/ai-coding-project-boilerplatetheir own version, first seen Nov 8, 2026
- egorfedorov/claude-context-optimizertheir own version, first seen Nov 1, 2026
- ritamgh/claude-skillstheir own version, first seen Nov 1, 2026
- OpenxIntelligence/Coding-Agent-Skillstheir own version, first seen Nov 1, 2026
- I-Onlabs/claude-code-skillstheir own version, first seen Oct 25, 2026
Used with
Projects with it also use code-review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- shinpr/ai-coding-project-boilerplate★ 236same name
- egorfedorov/claude-context-optimizer★ 127same name
- TenureAI/PhD-Zero★ 52same name
- sergeeey/Claude-cod-top-2026★ 9same name
- perhapsspy/project-context★ 7same name
- advait/effect-durable-agent★ 4same name
- aida-core/aida-marketplace★ 4same name
- I-Onlabs/claude-code-skills★ 4same name
- IgorBabikov/Flowcairn★ 4same name
- OpenxIntelligence/Coding-Agent-Skills★ 4same name
23 more not listed
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 repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- acliSkill
- agentic-qa-coreSkill
- agentic-qa-onboardSkill
- bug-screenshot-annotationSkill
- business-api-contextSkill
- business-data-contextSkill
- business-domain-contextSkill
- business-e2e-contextSkill
- evidence-artifactSkill
- exploratory-testingSkill
- framework-developmentSkill
- git-flow-masterSkill
- infra-contextSkill
- iql-contextSkill
- jira-administrationSkill
- judgment-daySkill
- orca-orchestrationSkill
- project-discoverySkill
- pr-review-leadSkill
- regression-testingSkill
- session-handoffSkill
- shift-left-testingSkill
- sprint-conductorSkill
- sprint-testingSkill
- test-automationSkill
- test-documentationSkill
- test-framework-adaptationSkill
- xray-cliSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 6 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Stop the run on a hard dependency failure or a rejected overwrite.
- Distinctive: line 26
NEVER invent business facts.
- Very specific: line 27
After a successful artifact write, add the pointer to .agents/instructions/agent-project.md ONLY when that pointer is missing.
- Very specific: line 47
If the user does not identify a mode, ask which artifact to refresh.
- Distinctive: line 51
Run sequentially and complete each reference's own validation and approval gate before loading the next:
- Distinctive: line 58
Stop on a hard dependency failure or rejected overwrite.
- Distinctive: line 62
Read every available source required by the selected reference.
- Distinctive: line 63
CREATE mode may write the missing artifact after analysis.
- Very specific: line 64
UPDATE mode must generate a candidate, show the diff summary, and wait for explicit approval before overwriting.
- Very specific: line 66
After a successful artifact write, update the context pointers in .agents/instructions/agent-project.md (the project-owned overlay) only …
“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project Context
Own the regenerative project-context artifacts without duplicating their workflows across harness commands. The business maps live inside their context skills as HTML (agentic-qa-core/references/business-context-maps.md); this skill generates them and updates their stale sections.
Compact Rules
- Exactly ONE mode per run:
data·e2e(synonymfeatures) ·api·test-plan·refresh-all·context-skill·coverage. Load only that mode's reference; never open a second one in the same pass. context-skillscaffolds a project-owned<aspect>-contextfor an aspect the shipped context map skills (CONTEXT_MAP_SKILLS) do not cover (../agentic-qa-core/references/skill-scaffold.md§3): it cites its sources and never copies them.refresh-allnever includes it. Its router row goes in the## Project context skillstable of.agents/instructions/agent-project.md, its trigger phrases in that file'striggers:; NEVER inagent-skills-and-mcps.md, whichbun syncoverwrites.coveragereads the maps, the KATA manifest and the TMS and buckets every behaviour (automated·manual-only·weak·uncovered);refresh-allnever includes it. It writes only<<PRIMARY_ROOT>>/.session/project-context/coverage/(companion files: this skill opts out of the session Phase 0) and never edits a test or a map. Theweakverdict and the risk level are agent judgments with one evidence line per row; the buckets, order and diff arebun run context:coverage classify. Coverage Tech Stories are created only after a person approves the gap list, picked by weight (mkddeck for per-item choices, the question tool for one yes/no).- Mode → reference → output: see the Mode routing table. A map mode writes ONLY its own skill's
references/<map>.html; the legacy markdown files a project may hold (the skill'slegacylist inCONTEXT_MAP_SKILLS,cli/lib/context-maps.ts) are read as input and never deleted. Domain vocabulary and architecture come from the mapsproject-discoverygenerates:bun run context:map business-domain-contextandbun run context:map infra-context, never a.context/file.test-plan→references/test-plan.md→ the## Master Test Plansection of theQA Master Test PlanEpic description in Jira (cached by the sync at.context/PBI/qa-artifacts/master-test-plan.md; never a local file). - User did not name a mode → ASK. NEVER infer
refresh-allfrom a generic "refresh the context" request. refresh-allruns strictlydata→e2e→api→test-plan, one at a time. Each reference's own validation and approval gate must close before the next is loaded. Never skip ahead.- Artifact missing (or a placeholder map) = CREATE mode: may write once the analysis completes. Artifact exists = UPDATE mode: generate a candidate (for a map: only its stale sections), show the diff summary, WAIT for explicit approval. NEVER overwrite an existing artifact without that approval, and NEVER regenerate a whole generated map.
- Stop the run on a hard dependency failure or a rejected overwrite. A missing SOFT dependency is not a stop: record it as a Discovery Gap and continue, exactly as the selected reference defines.
- NEVER invent business facts. Read every source the selected reference requires; anything unverified belongs under the output's mandatory discovery-gaps section, not asserted in the body.
- After a successful artifact write, add the pointer to
.agents/instructions/agent-project.mdONLY when that pointer is missing. NEVER write it intoAGENTS.md(boilerplate-owned, size-budgeted) or add operational prose toCLAUDE.md. Placement perframework-development/references/instructions-doctrine.md§4, thenbun run instructions:check; any other instruction change is/framework-developmentmodeinstructions. - Mode from
$ARGUMENTS: when its first token matches a mode in the Mode routing table, that token IS the mode and the rest is forwarded to it unchanged (/project-context dataon Claude Code, "project-context mode data" in prose on OpenCode and Codex,/skill:project-context dataon Pi). No matching first token → ASK which mode. - Before any step that uses a declared capability (
metadata.requires_capabilities:db,api-schema,diagramsfor the maps' figures), run the point-of-use check inagentic-qa-core/references/preflight-gate.md§8: resolve by tool-name suffix, and when no available tool provides it STOP and name the capability + how to enable it, never a silent fallback.
Read full SKILL.md when: the requested mode is ambiguous, a refresh-all chain fails mid-sequence, or you need the selected reference's own analysis steps and validation gate.
Mode routing
Resolve one mode from the invocation: the first token of $ARGUMENTS when it names a mode below (or features, the synonym of e2e), otherwise ask. Load only the reference named in that row. The former business-*-map and master-test-plan command names survive as trigger phrases only.
| Mode | Trigger phrases | Reference | Output |
data | business-data-map, entity/data map | references/data.md | .agents/skills/business-data-context/references/business-data-map.html |
e2e | business-e2e-map, business-feature-map, features, user journeys, feature inventory | references/e2e.md | .agents/skills/business-e2e-context/references/business-e2e-map.html |
api | business-api-map, API business map | references/api.md | .agents/skills/business-api-context/references/business-api-map.html |
test-plan | master-test-plan, risk-ranked test roadmap | references/test-plan.md | MTP Epic description in Jira (cache: .context/PBI/qa-artifacts/master-test-plan.md) |
refresh-all | refresh all project context | all four references, one at a time | all four outputs |
context-skill | context skill, scaffold <aspect>-context for another aspect | references/context-skill.md | .agents/skills/<aspect>-context/ (project-owned, never shipped upstream) |
coverage | coverage inventory, coverage gaps, gap list, weak tests, what is not tested, behaviours vs tests | references/coverage.md | <<PRIMARY_ROOT>>/.session/project-context/coverage/gap-list.{json,md}; coverage Tech Stories in Jira only after approval |
If the user does not identify a mode, ask which artifact to refresh. Do not infer refresh-all from a generic request.
refresh-all dependency order
Run sequentially and complete each reference's own validation and approval gate before loading the next:
datae2eapitest-plan
Stop on a hard dependency failure or rejected overwrite. Do not skip ahead. Missing soft dependencies remain Discovery Gaps exactly as each reference defines.
Shared contract
- Read every available source required by the selected reference. Never invent business facts.
- CREATE mode may write the missing artifact after analysis.
- UPDATE mode must generate a candidate, show the diff summary, and wait for explicit approval before overwriting. In
coveragethe gap list is a recomputed session file, not an artifact: the approval gate applies to the tracker write it proposes. - Each output includes
## Discovery Gapsfor unverified facts. - After a successful artifact write, update the context pointers in
.agents/instructions/agent-project.md(the project-owned overlay) only when a pointer is missing.AGENTS.mdis boilerplate-owned and size-budgeted, so it never receives them. Never add operational prose toCLAUDE.md. - A map mode writes into a business context skill that already exists (delivered by
bun sync, never scaffolded here). After it writes, the mode reviews that skill's## Rulesand gotchas against the new map and PROPOSES any change; it never rewrites a rule. $ARGUMENTSminus the mode token are forwarded unchanged to the selected mode.
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.

