asr3601-project-onboard
Skill3 starsChanged 3 months agoMITView on GitHub
Create, refresh, or check ASR360x project context and its canonical variant fingerprint. Use for project onboarding, 生成项目 AGENTS, 记录编译命令, 生成变体指纹, or a task owner that needs missing/stale identity. Ordinary source questions and direct release calls do not require a separate onboarding pass.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- asr3601-cross-branch-portingSkill
- asr3601-lvgl-firmware-triageSkill
- asr3601-protocol-branch-matrixSkill
- asr3602-local-build-flashSkill
- asr360x-bug-delivery-orchestratorSkill
- catstudio-log-extractorSkill
- obsidian-fix-pattern-memorySkill
- skill-usage-trackerSkill
- zentao-bug-resolverSkill
- zentao-bug-triageSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Keep shared procedures in global Skills and project identity in one generated variant.md.
- Distinctive: line 22
Read branch, HEAD, dirty state, and yl.h from the selected repo.
- Distinctive: line 23
Use unique confirmed mappings only.
- Very specific: line 24
Keep branch/commit/dirty, yl identity, chip/OS/protocol/build values, external IDs, device parameters, and memory IDs/aliases only in …
- Very specific: line 26
Add generated context to Git's local exclude unless --no-exclude is requested.
- Distinctive: line 27
Treat protocol classification from identity tokens as a search hint.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
ASR3601 Project Onboard
Keep shared procedures in global Skills and project identity in one generated variant.md. Preserve project-owned extensions.
Load Only What The Task Needs
- Ordinary read-only source question: use live source and the established route.
- Explicit context check or missing exact identity: run --check once. Reuse its snapshot_id within the same logical task.
- Initialization or stale required identity: inspect the relevant live facts and generate with --write.
- Stable template maintenance: review generated changes before --write --force; preserve project-specific additions.
- A direct build/release/Zentao controller owns its required checks. Do not put an extra onboarding call before it.
Invalidate a task snapshot after a switch, unexpected HEAD/worktree drift, or changed yl_device_name/yl_device_ver/yl_hw_ver. An owner's own commit may update its expected HEAD without regenerating all project files. A snapshot is an in-task receipt, not a new persistent cache.
Generation Contract
- Read branch, HEAD, dirty state, and yl.h from the selected repo. Match the private project map's branch and version constraints.
- Use unique confirmed mappings only. A candidate token match, version mismatch, ambiguous product, or explicit unconfirmed status stays needs-confirmation. Legacy entries with a recorded verification and unique identity remain supported.
- Keep branch/commit/dirty, yl identity, chip/OS/protocol/build values, external IDs, device parameters, and memory IDs/aliases only in .codex-project/variant.md.
- Generate AGENTS.md and .codex-project/{index,zentao,build,protocol,variant,device,memory}.md. Stable files contain rules and navigation, not copied dynamic facts.
- Add generated context to Git's local exclude unless --no-exclude is requested. Preserve .codex-project/local.md byte-for-byte; never create or overwrite it.
- Treat protocol classification from identity tokens as a search hint. Confirm the active protocol in code/documents before a protocol-sensitive action. A generated build candidate also needs a project-confirmed command/profile before execution.
- Report changed paths, snapshot status, and unresolved identity. Link mapped source documents when they are relevant to the task.
Repository and variant hashes are privacy-safe identifiers. Target IDs retain branch/version case and match the canonical memory writer and Zentao reconciliation; do not rewrite historical memory targets during onboarding.
Commands
The generator uses Python with PyYAML for structured project-map parsing.
python "$env:USERPROFILE\.codex\skills\asr3601-project-onboard\scripts\project_onboard.py" --repo . --check
python "$env:USERPROFILE\.codex\skills\asr3601-project-onboard\scripts\project_onboard.py" --repo . --dry-run
python "$env:USERPROFILE\.codex\skills\asr3601-project-onboard\scripts\project_onboard.py" --repo . --write--write updates variant.md and creates missing stable files. --force also replaces generated stable files; review their ownership first. A current --check prints snapshot_id; a stale result identifies the differences. Never store private customer mappings or service data in reusable templates.
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.

