skills/codemap/SKILL.md
Generate, update, or drift-check agent-facing CodeMaps as progressive code terrain indexes for projects, features, capabilities, functions, modules, or bug chains. Use when Codex needs to inspect an unfamiliar codebase, map a feature/capability from entry to effect, create or update `mydocs/codemap/*`, answer `create_codemap`, `MAP`, `PROJECT MAP`, code terrain, impact-map, "where should the agent look first", check whether existing CodeMaps are stale after a diff, or prepare SDD-RIPER Research without loading the whole repository into context.
npx skillsauth add huisezhiyin/sdd-riper codemapInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create CodeMaps for agents, not CodeWiki for humans.
CodeMap saves context attention, not necessarily raw token count. It does not replace source code, tests, logs, or the current Spec. It routes the agent toward the right source-linked evidence, in the right order, with progressive disclosure.
Use a CodeMap as:
Project CodeMap: breadth-first project terrain, capability index, module boundaries, dependency index, and drill-down pointers.Feature CodeMap: depth-first capability terrain from entry to effect, including branches, dependencies, risks, and validation entry points.feature: capability, business feature, bug chain, API flow, function/class-centered investigation.project: repository, service, package, subsystem, or first-time onboarding map.drift-check: compare current diff or touched files with existing CodeMaps.update-existing: refresh an existing CodeMap after code terrain changes.references/principles.md when the output shape, boundary, or CodeWiki-vs-CodeMap distinction matters.references/drift-check.md.references/update-existing.md.rg, rg --files, language-aware tools if available). Prefer source facts over inferred naming matches.confirmed, inferred, or unknown.mydocs/codemap/ when the user requests a durable artifact or the work feeds SDD-RIPER Research:
mydocs/codemap/YYYY-MM-DD_hh-mm_<feature>功能.mdmydocs/codemap/YYYY-MM-DD_hh-mm_<project>项目总图.mdreferences/feature-template.md.references/project-template.md.references/drift-check.md.references/update-existing.md.Confirmed, Inferred, and Unknown.Next Drill-Down so the next agent knows what to read only if needed.Validation Entry so the map can feed Spec / Plan / Review.development
Prepare seamless new-chat handoff packs when a user wants to start a fresh chat, continue elsewhere, pause a long task, recover from context decay, recover a lost conversation from local Codex or Claude Code logs, preserve reusable project knowledge in Markdown, or hand work to another agent. Generates a durable handoff document, optional project-level Markdown updates such as AGENTS.md/README.md/PROJECT_SPEC.md/PROJECT_MEMORY.md, and a paste-ready next-chat prompt grounded in current task state, local conversation records, source files, specs, codemaps, validation evidence, open risks, and constraints.
development
将 SDD-RIPER 方法论落地为严格可执行流程的重型 Harness 技能。用于辅助用户澄清最终目标、生成 codemap/context、拆分最小混沌单元、维护完整 spec、执行 RIPER 阶段门禁、阻塞高风险动作和沉淀可 new chat 恢复的本地任务轨迹。
testing
面向 GPT-5.4 等强模型和熟练用户的轻量 AI Agent Harness / checkpoint-driven coding skill。默认用户已经把任务切到基本可执行的最小混沌单元;模型自行分解、探索与推进,人类通过最终目标、最小 spec、复述、checkpoint、证据验证与回写来低干扰控盘。
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.