[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B3GYQMGEVJHGXTY63NA051":3,"skill-same:01M7B3GYQMGEVJHGXTY63NA051":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7B3GYQMGEVJHGXTY63NA051","exploring-a-codebase",null,"Use when starting work in an unfamiliar repository, when locating code across many files, or when a project's code map or architecture notes look stale.","vadimvitvickiy\u002Fvv-agent-kit","vadimvitvickiy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F5019512?v=4","01M7B3ABRYF7KHBCDW6GB2XH0C","Vadim Vitvitskii","01M7B3ABSZYG9MXP1CC7BQYM25",0,"MIT","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fexploring-a-codebase\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: exploring-a-codebase\ndescription: Use when starting work in an unfamiliar repository, when locating code across many files, or when a project's code map or architecture notes look stale.\n---\n\n# Exploring a codebase\n\n**Live search is the primary tool.** Grep and glob read the code as it is now; every map is a\nsnapshot decaying since it was written. The evidence for repo maps is thin; the well-attested failure\nis a stale map pointing confidently at code that moved. A map is a hint, never the truth.\n\n## Two artifacts, one hard line\n\nPaths are what `\u002Fvvkit:onboard` scaffolds; elsewhere look for an `ARCHITECTURE.md`, `docs\u002F`, or a\ngenerated map.\n\n| Artifact | Written by | Trust it for |\n|-|-|-|\n| A code map — `.agents\u002Fstate\u002Fmap.xml` after onboarding | a generator, never a human | Which types matter and roughly where they are |\n| Architecture notes — `.claude\u002Fcontext\u002Farchitecture.md` after onboarding | a human | Constraints and gotchas no amount of reading reveals |\n\nA hand-written description of the directory tree is a liability: derivable, so duplicated, so it\ndrifts.\n\n## Order\n\n1. **The generated map**, if any — cheap, ranked by what is referenced.\n2. **The architecture constraints**, if any — layering rules, frozen names, generated files. They are\n   invisible in the file you edit.\n3. **Then search** — the map says what matters; grep says where it is used today.\n\n## Match the tool to the question\n\n| Situation | Approach |\n|-|-|\n| One to three lookups, target known | Search directly. A subagent's startup exceeds the task |\n| Open-ended sweep across many files or naming conventions | A read-only subagent — see `vvkit:delegating-work` |\n| \"Where is X?\" and unsure what X is called | A subagent. A missed file costs more than the tokens saved |\n| You already know the file | Read it. Do not search first |\n| How the codebase already solves this kind of problem | `vvkit:architecture-surveyor` |\n\nOn anything large, locate the section before reading it whole.\n\n## History answers \"why is this here\"\n\n| Question | Command |\n|-|-|\n| When did this string, flag or symbol appear or disappear? | `git log -S'\u003Ctext>' --oneline` |\n| How did this function change over time? | `git log -L :\u003Cfunction>:\u003Cfile>` |\n| Who last touched this line, in what change? | `git blame -w -C \u003Cfile>` |\n| Which change first broke this? | `git bisect run \u003Cpredicate>` |\n\n- **Blame names the last toucher, not the author of the logic.** A reformat resets it; `-w` ignores\n  whitespace, `-C` follows code moved between files.\n- **Bisect names the commit that exposed a defect, not always the one that introduced it** —\n  `vvkit:debugging-systematically`.\n- A commit message explaining a constraint beats the note that paraphrased it: it is dated and\n  attached to the change that made it true.\n\n## When a map or doc contradicts the code\n\n**The code wins.** Fix the artifact in the same change:\n\n- A wrong generated map: regenerate it, never edit it.\n- A wrong architecture note: correct it, and say so in the summary.\n\nWorking around a wrong doc silently leaves it wrong for the next reader.\n\n## Verify before you assert\n\nBefore writing a convention into a document others will trust:\n\n| Claim | Check |\n|-|-|\n| A library is banned or required | Grep for its import |\n| A component has shape X | Compare against the project's scaffold, or the newest examples |\n| A marker or prefix convention holds | Grep for it; count occurrences |\n| A command builds or tests the project | Run it |\n| A target contains a directory | Ask the build system. **Never infer target membership from folder layout** |\n\nA claim that fails its check gets reported, not written.\n","# Exploring a codebase\n\n**Live search is the primary tool.** Grep and glob read the code as it is now; every map is a\nsnapshot decaying since it was written. The evidence for repo maps is thin; the well-attested failure\nis a stale map pointing confidently at code that moved. A map is a hint, never the truth.\n\n## Two artifacts, one hard line\n\nPaths are what `\u002Fvvkit:onboard` scaffolds; elsewhere look for an `ARCHITECTURE.md`, `docs\u002F`, or a\ngenerated map.\n\n| Artifact | Written by | Trust it for |\n|-|-|-|\n| A code map — `.agents\u002Fstate\u002Fmap.xml` after onboarding | a generator, never a human | Which types matter and roughly where they are |\n| Architecture notes — `.claude\u002Fcontext\u002Farchitecture.md` after onboarding | a human | Constraints and gotchas no amount of reading reveals |\n\nA hand-written description of the directory tree is a liability: derivable, so duplicated, so it\ndrifts.\n\n## Order\n\n1. **The generated map**, if any — cheap, ranked by what is referenced.\n2. **The architecture constraints**, if any — layering rules, frozen names, generated files. They are\n   invisible in the file you edit.\n3. **Then search** — the map says what matters; grep says where it is used today.\n\n## Match the tool to the question\n\n| Situation | Approach |\n|-|-|\n| One to three lookups, target known | Search directly. A subagent's startup exceeds the task |\n| Open-ended sweep across many files or naming conventions | A read-only subagent — see `vvkit:delegating-work` |\n| \"Where is X?\" and unsure what X is called | A subagent. A missed file costs more than the tokens saved |\n| You already know the file | Read it. Do not search first |\n| How the codebase already solves this kind of problem | `vvkit:architecture-surveyor` |\n\nOn anything large, locate the section before reading it whole.\n\n## History answers \"why is this here\"\n\n| Question | Command |\n|-|-|\n| When did this string, flag or symbol appear or disappear? | `git log -S'\u003Ctext>' --oneline` |\n| How did this function change over time? | `git log -L :\u003Cfunction>:\u003Cfile>` |\n| Who last touched this line, in what change? | `git blame -w -C \u003Cfile>` |\n| Which change first broke this? | `git bisect run \u003Cpredicate>` |\n\n- **Blame names the last toucher, not the author of the logic.** A reformat resets it; `-w` ignores\n  whitespace, `-C` follows code moved between files.\n- **Bisect names the commit that exposed a defect, not always the one that introduced it** —\n  `vvkit:debugging-systematically`.\n- A commit message explaining a constraint beats the note that paraphrased it: it is dated and\n  attached to the change that made it true.\n\n## When a map or doc contradicts the code\n\n**The code wins.** Fix the artifact in the same change:\n\n- A wrong generated map: regenerate it, never edit it.\n- A wrong architecture note: correct it, and say so in the summary.\n\nWorking around a wrong doc silently leaves it wrong for the next reader.\n\n## Verify before you assert\n\nBefore writing a convention into a document others will trust:\n\n| Claim | Check |\n|-|-|\n| A library is banned or required | Grep for its import |\n| A component has shape X | Compare against the project's scaffold, or the newest examples |\n| A marker or prefix convention holds | Grep for it; count occurrences |\n| A command builds or tests the project | Run it |\n| A target contains a directory | Ask the build system. **Never infer target membership from folder layout** |\n\nA claim that fails its check gets reported, not written.\n",{"name":5,"description":7},"main","cc22a222a76add5759a2df5fadf231a758691db5","skills\u002Fexploring-a-codebase","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy","Senior iOS engineer. Architecture, SDKs and apps for iOS, tvOS and watchOS.","2026-11-13 19:10:29",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add vadimvitvickiy\u002Fvv-agent-kit --skill exploring-a-codebase",{"tool":37,"command":38},"bunx","bunx skills add vadimvitvickiy\u002Fvv-agent-kit --skill exploring-a-codebase",{"tool":40,"command":41},"pnpm","pnpm dlx skills add vadimvitvickiy\u002Fvv-agent-kit --skill exploring-a-codebase","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fexploring-a-codebase\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7B3JN7VG0YJ4JB8RP6HYZSJ","no-heading","Use when proving that the validator rejects a body with no H1 and a force-loading @-link.","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fno-heading\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7B3JJMEW4E710ZG6HYJ7BWV","wrong-name-does-not-match-dir","Dispatches a subagent per task and reviews between each one.","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskills\u002Fbroken-skill\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7B3JGE9MFT1HRP41YRVKN97","writing-tests","Use when adding or changing behavior, fixing a bug, or judging whether an existing or generated test earns its place.","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-tests\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7B3JD5X32VEBDBN7HB8E17Z","writing-skills","Use when authoring or editing a skill, agent, command or hook for this kit, or when deciding whether a piece of guidance belongs in a skill at all.","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7B3J992MZH2QVZRED0DRPD9","writing-project-instructions","Use when creating or editing a CLAUDE.md or AGENTS.md, when it has grown long, or when a rule in it also exists in an installed skill.","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-project-instructions\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7B3J55C5WPWN20QXP9ET848","writing-logs","Use when adding or reviewing log statements, or when deciding what level a message belongs at.","https:\u002F\u002Fgithub.com\u002Fvadimvitvickiy\u002Fvv-agent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-logs\u002FSKILL.md",[],[]]