agentsclimarketplace

Codebase analysis

Skill tony-adamson/groundwork/skills/codebase-analysis

Evidence-first process skills for coding agents: codebase analysis, solution design, minimal implementation plans

Install
npx -y skills add tony-adamson/groundwork --skill codebase-analysis

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Creates CURRENT_STATE.md: an evidence-backed description of the current state of the repository. Use only when the user explicitly asks to run codebase-analysis. Does not design a solution, write code, or produce an implementation plan.

SKILL.md

4.6 KB, 946 tokens by cl100k_base, as published. Nobody here has run it

Codebase Analysis → CURRENT_STATE.md

The skill creates or fully rewrites CURRENT_STATE.md in the directory returned by pwd.

The skill's job is to describe how the system works right now. Do not propose a future solution, refactoring, migration, new architecture, or an implementation plan.

The resulting file always consists of two blocks:

  1. Block 1. For the human — a short, readable summary without overload.
  2. Block 2. For the agent — a detailed evidence-backed snapshot for solution-design, planf3, and review.

Hard boundaries

You may modify only CURRENT_STATE.md and the permitted artifacts of the auxiliary graph, if they are produced by the standard tool.

Forbidden:

  • modifying source code, tests, configs, schemas, dependencies, or project documentation;
  • creating SOLUTION.md;
  • designing a future change;
  • automatically launching solution-design or planf3;
  • commits, pushes, deploys, migrations, cloud write commands;
  • turning the analysis into a full-repository audit when the user gave a narrow focus.

Launch contract

  1. Run pwd and treat it as the analysis root.
  2. Determine the Git root, branch, revision, and the initial working tree state. If pwd is not the Git root — record that honestly.
  3. Read local instructions: AGENTS.md, CLAUDE.md, README, CONTRIBUTING, architecture documents, build/test/release docs.
  4. Find the relevant manifests, schemas, package roots, and code roots.
  5. If the user gave a focus — analyze deeply only the related area. If there is no focus — produce a bounded overview, not a file-by-file encyclopedia.
  6. Find an existing graphify graph. Use it only as a navigation index. Verify every material conclusion against live code, tests, configs, and schemas.
  7. At the end, compare the final working tree with the initial baseline and explicitly separate pre-existing changes from the newly created CURRENT_STATE.md.

Context management

Use read-only subagents adaptively:

  • small local area: 0–1;
  • several subsystems: 2–3;
  • large monorepo: up to 4.

No nested spawning. Each subagent returns only facts, inference, unknowns, evidence, and analysis limitations. Only the coordinator writes the final document.

If the harness does not provide an isolated-subagent tool (for example, Pi) — perform these roles inline as separate passes: a pass outputs only findings in the role's format, then the coordinator continues. Do not simulate spawning subagents and do not claim they were launched.

Minimality and overengineering protection

Even an analysis of the current state must help future agents avoid building unnecessary architecture.

Always record:

  • existing simple extension points;
  • local patterns worth reusing;
  • dependencies and abstractions the project currently does not have;
  • places where the project deliberately lives without a global state/service/framework layer;
  • complexity constraints that future changes must respect.

Do not call the absence of a framework or layer a problem. Describe it as a fact or a deliberate current style, if the code confirms it.

What to read

Language

Write CURRENT_STATE.md and all reports in the user's language — the language of the user's request and conversation, not the language of these instructions. If the request is in Russian, the artifact is in Russian. Do not translate file names, symbols, commands, statuses, or APIs.

Completion criteria

CURRENT_STATE.md is done only if:

  • there is a short human block;
  • the agent block contains the evidence-backed current state;
  • FACT, INFERENCE, UNKNOWN are explicitly separated;
  • contracts, invariants, verification, and unknowns are recorded;
  • the simplicity baseline is recorded;
  • no future solution is proposed;
  • the final working tree has been checked;
  • the status is exactly one of: CURRENT_STATE_COMPLETE or CURRENT_STATE_PARTIAL.

What ships with it: 5 files

13.6 KB alongside SKILL.md

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.