/project-closeout:project-closeoutfrom project-closeout
Close out a finished project properly - audit what is actually done, write the documentation set (dev, admin, user, troubleshooting, testing, integration registry), clean the git history, open the PR, cut the release, and update the tracker. Use this skill whenever a project is finishing, finished, shipped, deployed, handed off, or being revived for the first time since it was abandoned, and whenever someone asks to "close out", "wrap up", "finish", "call it done", "ship it", "hand it over", or asks whether a project is complete or what is left before it can be. Also use it when someone asks for a rebuild runbook, a troubleshooting guide, a testing report, an integration or audit record, or asks what documentation a project still needs. Do not wait to be asked for an "audit" by name; the moment a project is described as done, this is the process that decides whether that is true.
Ships in project-closeout. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A project is not done when it ships. It is done when a stranger can rebuild it, operate it, or fix it at 3am from the documentation alone, without finding the person who built it.
That is the only bar that matters here. Every rule below exists to serve it, and when a rule and the bar disagree, the bar wins.
The person this protects is usually the author, eighteen months later, with no memory of the project and a production incident in progress. The second person it protects is whoever inherits it when the author leaves. Documentation written at completion is cheap because the context is still loaded; documentation written six months later is archaeology, and mostly does not happen.
That is also why the audit comes first. A half-finished project that gets a beautiful doc set is still a half-finished project, and now it is one that looks closed on the board.
Phase 1, audit. Read-only. Work out what this project is, what state it is really in, and what is still outstanding. Produce a report.
Phase 2, author. Write the documentation that is missing, to the standard in references/.
Phase 3, closeout. Git hygiene, link check, PR, release if warranted, tracker update.
At HCM, read references/hcm-conventions.md before phase 1, not when a later phase points at
it. Phase 1 already writes a document and already reads the tracker, so the firm's rules on
redaction, voice and which tracker connector to use apply from the first thing this skill does.
Outside HCM, skip that file; nothing else depends on it.
Do them in order. Writing docs for a project with eleven open issues wastes the writing, because the answers change.
Nothing about the project is modified in this phase. No commits, no edits to existing files, no tracker changes. The point is to find out whether this project is actually finishable today, and the audit is worthless if it has already started changing the thing it is measuring.
The one thing you do write is the closeout report itself. That is the output of the audit, not a change to the project, and it belongs on disk rather than only in the conversation so the next person can read it. Create it; do not edit anything else.
Run git fetch --all before reading any branch or remote state.
Remote-tracking refs are a local cache. They are as old as the last fetch, which on a project nobody has touched for a month means they can be wildly wrong. Comparing against them and reporting the result as fact produces confident, specific, completely false findings, and "your production code is not in version control" is exactly the kind of false alarm that costs somebody a bad afternoon.
This has already happened once. An audit reported that a project's live script existed only in an untracked folder and that the remote held a month-old version. The remote actually held the current code with full history; the local clone had simply never been fetched. The report's own "could not verify" section correctly said Forgejo had not been contacted directly, and the verdict was written as though it had been.
If you cannot reach the remote, that is a finding in its own right. Say the comparison could not be made, rather than quietly falling back to the cache.
Read the repo. README, the entry point, the config, the commit history, any existing docs.
Work out what it does, who uses it, what it connects to, and whether it is still alive. Start
there rather than opening with questions: the repo answers most of them, and a summary given from
memory is usually less accurate than the code. Ask about what the repo genuinely cannot tell you,
which is normally intent, history and who relies on it.
Identify two things specifically, because they decide which docs are required at all:
Check, in this order, and report what you find rather than fixing it:
TROUBLESHOOTING.md containing three bullet points is a gap, not a doc.
Judge each against its reference file, not against whether a file is present.Write it using references/audit-report.md. It is the artifact the user reads to decide what
happens next, so it needs to be honest and specific: "no admin doc" is useless, "no admin doc, so
nobody but you knows the job runs on a 6am timer or where its log lands" is the finding.
If nothing is outstanding, keep going. A clean project should not be stopped to be told it is clean. Say so and move into phase 2.
If something is outstanding, stop and report it. Show the user what you found and ask what they want to do: fix it now, close it out anyway, or stop here. Then continue either way.
When the user chooses to proceed past a finding, record that in the report as a knowing decision, with what was skipped and that they accepted it. The purpose is not to shame anyone into compliance; it is that six months later the difference between "we decided to skip the testing report" and "nobody noticed there was no testing report" matters enormously to whoever is reading.
Write what is missing. Read the relevant reference file before writing each doc; they carry the shape, the required content and the failure modes for each type.
| Output file | Template to copy | Reference | Required when |
|---|---|---|---|
README.md | assets/templates/README.md | references/doc-set-index.md | Always |
Dev-Guide.md | assets/templates/Dev-Guide.md | references/dev-docs.md | Always |
Admin-Guide.md | assets/templates/Admin-Guide.md | references/admin-docs.md | Always |
User-Guide.md | assets/templates/User-Guide.md | references/user-and-stakeholder.md | Only if non-technical people use it |
Stakeholder-Brief.md | assets/templates/Stakeholder-Brief.md | references/user-and-stakeholder.md | When there is no User-Guide |
Troubleshooting.md | assets/templates/Troubleshooting.md | references/troubleshooting-docs.md | Always |
Testing-Report.md | assets/templates/Testing-Report.md | references/testing-docs.md | Always |
Integration-Registry.md | assets/templates/Integration-Registry.md | references/integration-registry.md | When it connects two systems, or an auditor or business owner will ask |
Closeout-Report.md | assets/templates/Closeout-Report.md | references/audit-report.md | Always, written in phase 1 and updated in phase 3 |
Projects genuinely differ. A scheduled automation, an MCP server, a deployment script and a web app do not need the same material, and pretending otherwise produces padded docs full of "N/A" that nobody trusts. At the same time, if every project invents its own layout, the doc set stops being a standard and becomes nine unrelated documents.
So the split is: the numbered top-level headings are fixed, everything inside them is yours.
Fixed - never change these:
## 1. What this is, ## 2. Before you start, ...) - exact
wording, exact orderA reader who has used one project's Troubleshooting.md can then open any other project's and go
straight to section 2 for the symptom index. That property is worth more than any local
improvement to the layout, which is why the spine is not yours to optimise.
Variable - expected to differ per project:
When a section genuinely does not apply, keep the heading and write Not applicable - <reason in one line>. Do not delete it. A deleted heading is indistinguishable from an overlooked one,
and the reason something is empty is often the most useful line on the page: "IP restrictions:
none configured" is an answer, a missing IP restrictions heading is an open question an auditor
will ask you about later.
Use judgement about how much "not applicable" is reasonable. If most sections of a document are empty, that usually means the document was not required for this project in the first place, or the project is not as finished as it looks. Say so in the report rather than shipping a hollow doc.
Read the template file and copy it. Do not reconstruct it from memory or from the reference file's prose. The file on disk is the authority.
Work out the project's shape first. Read references/project-profiles.md before writing
anything. It covers the common project types and, for each, which documents are required, which
sections carry the weight, and which are routinely not applicable. This is what stops a scheduled
automation being documented as though it were a web application.
Fill every placeholder. Templates use <angle brackets> for content you supply. If any <...>
survives into a finished document, it is not finished. Search for < before calling it done.
The exception is a deliberate redaction marker, which is a finished value rather than an
unfilled one: a marker that says a real value exists and was withheld on purpose. HCM's is
<public IP withheld> (see references/hcm-conventions.md). Those stay. Anything else in angle
brackets is an unfilled placeholder.
Match the existing doc set if the project already has one. If a project already has docs under different names, keep its names and map the template's sections into them rather than creating a parallel set. Consistency inside one project beats consistency with the template, and two overlapping doc sets is the worst outcome available. Note the mapping in the report.
The reference files explain how to fill each section well, with examples of what good and bad content looks like. Read the relevant one before writing that doc.
Resolve in this order, and stop at the first that applies:
CLAUDE.md
shows an established pattern. Follow what they already do rather than imposing a new layout on
someone's repo.Say in the report where the docs ended up. Someone reading the report later should not have to search for them.
At HCM, read references/hcm-conventions.md before writing. It carries the firm's rules on
naming people, addresses, voice and publishing to the knowledge base, and following them after the
fact is a rewrite rather than an edit. Outside HCM, skip it.
Write for someone who has never seen this. The test is not "is this accurate", it is "could a competent stranger act on this alone". If a reader would have to come find the author to proceed, it is not finished.
State prerequisites and access up front. What accounts, permissions, tools and secrets are needed before step one. Nothing is more useless at 3am than a runbook whose first step silently assumes an admin role the reader does not have.
Explain the why, not only the what. The non-obvious decisions, the gotchas, the bugs that were fixed and must not come back. A reader who knows why can adapt when reality differs from the doc. A reader who only knows what gets stuck at the first divergence. This is the single largest quality difference between docs that work and docs that technically exist.
Cross-reference rather than duplicate. Each fact gets one home; everything else links to it. Duplicated facts rot, because one copy gets updated and the other quietly becomes a lie.
Use real values and real paths, with a clearly marked section for whatever is environment-specific, so a reader knows which parts to change and which to trust.
Never write a secret into a doc. Record where each credential lives, never its value. If you encounter a live secret while reading the project, do not copy it into anything, and mention in the report that it is exposed if it is sitting somewhere it should not be.
Use markdown links inside repos, [text](relative/path.md), with spaces URL-encoded as %20.
Obsidian-style [[wiki-links]] render as dead text in most repo web UIs, so they are fine only in
vault notes that never ship inside a repo.
Assume GitHub unless the repo's remote says otherwise; if it is hosted somewhere else, the same
steps apply through that host's equivalent and its own CLI or web UI. At HCM, the commit and
review rules in references/hcm-conventions.md apply to this section.
Commit everything of value with messages that explain why, not just what.
Remove stray files - scratch output, downloaded duplicates, stale logs - and extend
.gitignore so the category cannot come back.
Confirm no secrets are committed, including in history if anything looks like it was committed and later deleted.
Run the link check. The script ships with this skill, so call it at its own location, not relative to the project you are auditing:
python "${CLAUDE_PLUGIN_ROOT}/skills/project-closeout/scripts/check_links.py" <docs-root> --wiki
If CLAUDE_PLUGIN_ROOT is not set, the skill is installed directly rather than as a plugin; use
the path to this skill's own directory instead. It walks every ](...) target and reports the
ones that do not resolve, and --wiki additionally flags [[wiki-links]], which render as dead
text in most repo web UIs. Dead links are the most common defect in a doc set that was otherwise
written carefully, because paths move after the writing and nobody re-reads their own links.
Open a pull request into the main branch rather than pushing to it directly. The PR body should say what the project is and what this change closes out, so the PR itself is a readable record.
Let the repo's review run, and work through whatever it reports. If an automated reviewer is configured, confirm it actually ran rather than trusting a clean result; review tools can exit successfully while having been rate-limited, unlicensed or skipped, and "no findings" then means "not reviewed".
Do not merge on the author's behalf. A human approves and merges. Say the PR is ready and leave it.
Decide whether a release is warranted, then ask before cutting one.
A release makes sense when the project ships something a person installs, deploys or pulls: a package, a binary, a container image, a script that gets distributed. It does not make sense for a documentation-only change, an internal automation that simply runs, or a project whose delivery mechanism is the main branch itself.
Make the call, explain the reasoning in one line, and ask. If yes, tag it and write notes drawn from the change history rather than from the raw commit log, because a reader wants to know what changed for them, not which files moved.
Update whichever project-management tool is in use. At HCM, references/hcm-conventions.md names
it and carries the specifics: how a comment body has to be formatted to avoid storing broken
markup, which state means launched, and which roll-up boards a card belongs on.
Update the audit report from phase 1 with what was done: which docs were written and where, what the link check found, the PR link, the release if one was cut, and the tracker state. Include anything knowingly skipped at the gate.
That closing report is what makes this repeatable. The next person to touch the project starts by reading it.
This skill gets used on projects the reader did not build, and on other people's machines where the conventions differ. Two habits matter there.
Prefer discovery over assumption: read what the repo and the workspace already do, and match it. An imposed layout that fights the existing one makes the doc set harder to maintain than no doc set at all.
And be straight in the report about what you could not verify. An audit that quietly assumes the tests pass because a test directory exists is worse than one that says "tests present, not run, unverified". The value of this whole process is that its output can be trusted.
assets/templates/Admin-Guide.md (opens in a new tab)assets/templates/Closeout-Report.md (opens in a new tab)assets/templates/Dev-Guide.md (opens in a new tab)assets/templates/Integration-Registry.md (opens in a new tab)assets/templates/README.md (opens in a new tab)assets/templates/Stakeholder-Brief.md (opens in a new tab)assets/templates/Testing-Report.md (opens in a new tab)assets/templates/Troubleshooting.md (opens in a new tab)assets/templates/User-Guide.md (opens in a new tab)references/admin-docs.md (opens in a new tab)references/audit-report.md (opens in a new tab)references/dev-docs.md (opens in a new tab)references/doc-set-index.md (opens in a new tab)references/hcm-conventions.md (opens in a new tab)references/integration-registry.md (opens in a new tab)references/project-profiles.md (opens in a new tab)references/testing-docs.md (opens in a new tab)references/troubleshooting-docs.md (opens in a new tab)references/user-and-stakeholder.md (opens in a new tab)scripts/check_links.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub hcmdesign/hcm-claude-marketplace --plugin project-closeout