agentsclimarketplace

Diagnose project rebuild

Skill m1nga/skill-builder/skills/diagnose-project-rebuild

Cross-agent SKILL.md workflows for product architecture, UX audits, prompt clarity, work synthesis, and hands-on practice.

Install
npx -y skills add m1nga/skill-builder --skill diagnose-project-rebuild

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

  • 25 days oldThe repository was created 25 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 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

Diagnose a confused, inherited, partially lost, repeatedly rebuilt, or direction-changing project and establish the safest evidence-based foundation for what comes next. Use when the user says a project is chaotic, polluted by old decisions, only an older version survives, the original purpose must be rediscovered, they are unsure whether to recover/repair/rebuild/continue, or they want to restart without importing the prior project's strategy. Adapt the route to the project's actual failure mode rather than forcing a universal sequence.

SKILL.md

7.4 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it

Diagnose Project Rebuild

Diagnose first; intervene second. Rebuild is one possible treatment, not the default.

Restore the real job

Accept rough conversation, old files, surviving versions, code, screenshots, and partial memories as evidence. Restore the user's actual decision question before organizing the project.

Separate:

  • the product's purpose;
  • current user decisions;
  • AI proposals;
  • observed behavior and validation;
  • implementation that may still be useful;
  • process experience that may travel;
  • old strategy that has no current authority;
  • missing or destroyed evidence.

Do not treat document volume, code volume, test count, or effort already spent as proof that the direction is right.

Diagnose by condition, not stage

Inspect only enough live evidence to classify the limiting condition. Read diagnostic-lenses.md when the project has multiple histories, missing sources, contradictory truth files, or unclear authority.

Choose one primary route:

  • Recover — important source evidence is missing or damaged; preserve and reconstruct before redesign.
  • Clarify — artifacts exist, but the product purpose, user, or promised change is not stable enough to govern work.
  • Repair — the direction is still valid, while documents, architecture, workflow, or implementation contradict it.
  • Rebuild — the direction was replaced or active context is too contaminated to repair safely in place.
  • Continue — purpose and authority are coherent; the next need is a real vertical slice or external validation.
  • Hold / retire — neither evidence nor expected value justifies more construction now.

Use secondary routes when necessary, but name one current bottleneck. Do not turn the diagnosis into a checklist in which every project must visit every route.

Build the smallest evidence boundary

Before reading history broadly, establish:

  • which paths, sources, people, and dates are in scope;
  • which source currently has authority and why;
  • which artifacts are primary evidence versus interpretation;
  • what must not be imported automatically;
  • what is missing and cannot honestly be reconstructed;
  • which actions are reversible.

When evidence is fragile, preserve before interpreting. When context is contaminated, let a history-reading session produce a separated evidence bundle; let a fresh session establish the new foundation from that bundle.

Never read another project's private experience ledger, truth files, strategy, or client data as rebuild input. Import only its boundary-tested portable lessons.

Select the smallest intervention

Choose the intervention that changes the limiting condition:

  • recover exact artifacts or build a provenance-marked reconstruction;
  • ask purpose-defining questions and distinguish decision from hypothesis;
  • map contradictions and repair only affected dependents;
  • create a clean source bundle and one new active foundation;
  • run a real value or feasibility probe before more architecture;
  • stop work and preserve evidence for later.

Use foundation-patterns.md for optional output shapes. Create only the artifacts the chosen route requires. A project does not need a mandated file tree to be considered understood.

Run an adaptive evidence loop

Move among these actions as evidence requires:

observe current evidence
→ diagnose the limiting condition
→ propose one intervention and its trade-off
→ obtain authority for consequential choices
→ execute or specify the bounded intervention
→ challenge it with fresh evidence or an independent probe
→ replace active truth cleanly
→ reassess

Skip irrelevant actions. Repeat only when the new evidence changes the diagnosis. Stop when the project has one grounded current foundation and a next action that can produce real evidence.

Do not:

  • interpret user silence as acceptance of a non-trivial design;
  • edit active truth before showing the reasoning when judgment is material;
  • let the author certify its own clean rebuild;
  • confuse a document review with product validation;
  • keep superseded instructions active beside replacements;
  • send a stale handoff prompt after the foundation changes.

Use experience across the lifecycle

If experience-pack is available:

  • On entry: read portable lessons only, bootstrap this project's own EXPERIENCE.md, and record which lessons were adopted or rejected.
  • During work: record costly incidents, effective methods, reviewer catches, and user course corrections as part of done.
  • At a turning point: distill candidates through the experience-vs-decision boundary test before any lesson travels.
  • At closure: let iteration-close own the closure ritual and invoke experience distillation within it.

Experience may improve how the project is investigated, verified, handed off, and learned from. It may not define the receiving project's purpose, customer, strategy, pricing, channels, or product architecture.

Handle external AI as evidence, not authority

For every external analysis or collaborator response:

  1. show what it actually said;
  2. triage consequential items as adopt, correct, reject, defer, or ask;
  3. state the reason and evidence;
  4. let the user see non-trivial judgment before mutating the active foundation;
  5. synchronize the next handoff question with the accepted foundation.

Use a fresh reviewer or zero-context probe for a clean rebuild. A reviewer must not edit the files it certifies.

Protect irreversible boundaries

Before any delete, purge, overwrite, or broad migration:

  • resolve every target literally by exact path or identifier;
  • identify the independent product/purpose and owner of every target;
  • prove what recovery source exists;
  • separate creation and verification of the new foundation from deletion of the old source;
  • obtain target-specific user authority;
  • use an independent scope check.

Similar names, shared history, nearby folders, and inferred relationships never grant scope. Ambiguity stops the destructive action.

Deliver a decision-ready result

Return the smallest useful set:

  1. Current diagnosis — facts, inference, proposals, and unknowns kept distinct.
  2. Primary route — recover, clarify, repair, rebuild, continue, or hold; explain why.
  3. Source boundary — what may inform the next foundation and what may not.
  4. Intervention — one recommendation, trade-offs, and acceptance evidence.
  5. Surviving value — mechanisms/evidence worth testing, not inherited decisions.
  6. Open authority — only decisions the user must make.
  7. Next evidence — the smallest action that can change the diagnosis.

If the user asked to build, implement the accepted bounded intervention and verify it. If the user asked to think, audit, or diagnose, do not mutate files or purge material.

Gives 0 of the 12 instructions most debug triage skills give in ~1.4k tokens

Counted across 839 of the 1,149 authors here whose files we hold, read 2026-08-06

  • investigate root cause before proposing any fixin 102 of 839, across 65 files
  • read error messages completelyin 90 of 839, across 48 files
  • create a failing test case before fixingin 84 of 839, across 44 files
  • reproduce the issue consistentlyin 82 of 839, across 40 files
  • change one variable at a timein 82 of 839, across 42 files
  • check recent changesin 74 of 839, across 35 files
  • write the regression test before fixingin 74 of 839, across 36 files
  • fix the root cause not the symptomin 60 of 839, across 43 files
  • implement a single fix at a timein 59 of 839, across 20 files
  • trace data flow backward to the sourcein 50 of 839, across 20 files
  • remove all debug instrumentationin 49 of 839, across 13 files
  • form a single hypothesisin 48 of 839, across 18 files

Said here and by no other author read

  • accept rough artifacts as evidence
  • separate product purpose from strategy
  • establish the evidence boundary before reading
  • preserve fragile evidence before interpreting
  • choose the smallest limiting intervention
  • create only route-required artifacts

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

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.