name: project-dev-context description: Use when a request asks to reference, refresh, write, or register project development context so the agent resolves the topic through agent_context/MAP.yaml and reads or updates the mapped Markdown context files.
Project Dev Context
Use this skill when:
- the request says
reference project development docs - the request says
reference project context - the request says
refresh project context - the request says
update project context - the request says
write project context - the request says
参考项目开发文档 - the request says
参考项目上下文 - the request says
刷新项目上下文 - the request says
更新项目上下文 - the request says
写项目上下文 - the request names a known project topic such as
env-framework,manager-functor, orik-solvers
Start here
- Read
agent_context/MAP.yamlfirst - Read
references/context-system.mdfor routing rules - Read
agents/openai.yamlfor the canonical agent metadata - Read
agent_context/conventions/*.mdwhen creating or updating context files
Workflow
- Resolve the topic through
agent_context/MAP.yaml - Match in this order: exact
id, thenaliases, thenkeywords - Choose the operation mode:
- read: load only the matched Markdown files under
agent_context/ - refresh existing topic: re-read
source_of_truthand rewrite the mapped topic Markdown so it matches current implementation - add new topic: write a new topic Markdown file and register it in
agent_context/MAP.yaml
- read: load only the matched Markdown files under
- Load
agent_context/conventions/*.mdif you add or update context files - Do not re-read
docs/source/unless the user explicitly asks for Sphinx documentation
This skill routes context. It does not replace the underlying source-of-truth files listed in each topic entry.
Explicit refresh mode
Use explicit refresh mode when the request is phrased like:
refresh <topic> contextupdate <topic> context根据当前实现刷新 <topic> 上下文重写 <topic> 项目上下文
In refresh mode:
- Resolve the topic in
agent_context/MAP.yaml - Re-read the files listed in
source_of_truth - Rewrite the mapped topic Markdown from current implementation, not stale notes
- Update
aliases,keywords,paths,related_topicsif needed
Update contract
If code behavior changes a routed topic, update all relevant pieces in the same change:
- the matching file under
agent_context/topics/... agent_context/MAP.yamlif topic metadata changedAGENTS.mdif routing guidance changed.agents/skills/project-dev-context/references/context-system.mdif routing behavior changed.claude/skills/project-dev-context/SKILL.mdif Claude adapter wording changed.github/copilot/project-dev-context.mdif Copilot adapter wording changed
Source-of-truth
This skill does not store the project knowledge itself. The canonical project context lives in:
agent_context/MAP.yamlagent_context/topics/**/*.mdagent_context/conventions/*.md
Map schema
agent_context/MAP.yaml topic entry fields:
id— stable kebab-case identifiertitle— human-readable titlealiases— alternate names for matchingkeywords— search terms for fuzzy matchingpaths— Markdown files underagent_context/to loadsource_of_truth— source code files that define the behaviorrelated_topics— other topic ids for cross-referencestatus—activeordeprecated