project-dev-context
Skill240 starsChanged 11 days agoApache-2.0View on GitHub
Route EmbodiChain project-context and codebase-navigation requests through agent_context/MAP.yaml. Use to locate files, configs, defaults, entry points, registration paths or change sites; explain resolution chains; read, refresh or add project context. Chinese triggers include 文件在哪里、配置或默认值在哪里、 入口或注册逻辑在哪里、应该修改哪个文件、参考项目上下文、刷新项目上下文。
In this repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-atomic-actionSkill
- add-embodiment-componentSkill
- add-functorSkill
- add-robotSkill
- add-semantic-callSkill
- add-solverSkill
- add-task-envSkill
- add-task-programSkill
- add-testSkill
- benchmarkSkill
- implement-performanceSkill
- pre-commit-checkSkill
- prSkill
- releaseSkill
- review-prSkill
- update-api-docsSkill
- add-atomic-actionSkill
- add-embodiment-componentSkill
- add-functorSkill
- add-robotSkill
- add-semantic-callSkill
- add-solverSkill
- add-task-envSkill
- add-task-programSkill
- add-testSkill
- benchmarkSkill
- implement-performanceSkill
- pre-commit-checkSkill
- project-dev-contextSkill
- prSkill
- releaseSkill
- review-prSkill
- update-api-docsSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 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.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Read agent_context/MAP.yaml first.
- Distinctive: line 20
Use the deterministic helper when matching is unclear or needs verification:
- Very specific: line 42
Follow only the overview's detail links relevant to the question.
- Very specific: line 47
If nothing matches, use rg --files and rg -n for symbols, flags, config keys, registries and imports.
- Very specific: line 50
Do not read docs/source/ unless the user asks for Sphinx documentation.
- Distinctive: line 52
Do not load writing conventions, this skill's reference schema or agent UI metadata for ordinary reads/navigation.
- Distinctive: line 60
Keep one owner for each contract and link from other topics.
≈ “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
Project context and navigation
Select and route
Read agent_context/MAP.yaml first. Select navigate (current code facts),
read (context), refresh (update a topic), or add (register a topic).
Specialized skills such as /add-robot own implementation; use this skill for
orientation and context maintenance.
Use the deterministic helper when matching is unclear or needs verification:
python .agents/skills/project-dev-context/scripts/context.py route 'QUERY'Match a complete topic id first, including an explicitly named id within a
request; otherwise match aliases, then keywords. ASCII tokens have boundaries,
so sim does not match simready; Chinese phrases support substring matching.
Within the first matching alias/keyword tier, prefer the longest matching
phrase, then additional distinct matches. Equal best matches remain candidates;
never silently choose the first topic in MAP.
For ambiguity, use the request's subsystem/owning path to narrow candidates,
or inspect the specific symbol in their source files. If that still leaves
different answers, ask one concise clarifying question. For example,
SceneManifest belongs to both visualization and Task Program semantics;
visualization SceneManifest identifies the visualization topic.
Read progressively
- Load only the selected topic's
paths(the overview). - Follow only the overview's detail links relevant to the question.
related_topicsis navigation metadata, not an automatic load list. - For navigation, inspect the relevant symbols in
source_of_truth, expanding to callees/tests as needed. A listed directory is a search scope, not a request to read every file. Current code takes precedence over context prose. - If nothing matches, use
rg --filesandrg -nfor symbols, flags, config keys, registries and imports. CLI ownership starts inembodichain/cli/andpyproject.toml;embodichain/__main__.pyis an entry wrapper. - Do not read
docs/source/unless the user asks for Sphinx documentation.
Do not load writing conventions, this skill's reference schema or agent UI metadata for ordinary reads/navigation. Answer with the owning entry point, resolution path, recommended change site and focused validation when relevant.
Maintain context
For refresh/add, read references/context-system.md and the conventions in
defaults.write_contexts. Use current implementation as evidence, not old notes.
Keep one owner for each contract and link from other topics. Preserve stable
topic ids and overview paths; linked detail pages carry optional depth.
Find topics potentially affected by a code change:
python .agents/skills/project-dev-context/scripts/context.py affected --base origin/main --explain
python .agents/skills/project-dev-context/scripts/context.py affected embodichain/lab/gym/envs/base_env.pyReview affected topics in the same change; this is an impact hint, not proof
that prose is stale or that unchanged paths are fresh. Choose no update,
revise, or add using conventions/topic-lifecycle.md, and briefly state
the outcome in the PR or task result. Edit only guidance or metadata made
inaccurate or materially incomplete. Replace/consolidate the owning passage;
do not append a PR summary. Add a topic for a requested or recurring missing
domain, not automatically for every unmatched lookup.
After editing:
python .agents/skills/project-dev-context/scripts/context.py check
python .agents/skills/project-dev-context/scripts/context.py stats --base origin/main
python -m pytest -q -c /dev/null --noconftest tests/test_agent_context_map.py tests/test_agent_context_tools.pyValidate representative natural-language routes before and after routing changes, including ambiguous and unmatched requests. For content restructuring, follow representative questions from overview to owner and check how much unrelated content must be read. Size/growth statistics are advisory, not a length gate. Thin adapters only point here; they need changes only when their local entry hints change.
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.

