polish-docs-meta
Skill240 starsChanged 14 months agoApache-2.0View on GitHub
Finalize documentation and project metadata for a ship-ready release. Use after implementation is complete, tests pass, and devcheck is clean. Safe to run at any stage — each step checks current state and only acts on what still needs work.
- Reads credentials
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- ficaviolaodorata520/met-museum-mcp-serveredited, first seen Jun 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- ficaviolaodorata520/met-museum-mcp-server★ 015% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- field-testSkill
- maintenanceSkill
- release-and-publishSkill
- report-issueSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Prefer running after implementation is complete, but safe to re-run at any point — steps are idempotent.
- Distinctive: line 27
If these aren't met, address them first.
- Distinctive: line 33
Read the registered definitions.
- Distinctive: line 70
If new subsystems were added (e.g., a new provider, new storage backend), the structure diagram in section V is updated
- Distinctive: line 74
Keep the diff minimal — change what's stale, leave what's accurate.
- Distinctive: line 90
Check for empty or placeholder fields.
- Very specific: line 106
descriptionis the canonical source: Every other surface (README header, server.json, GitHub repo description) derives from it. - Very specific: line 147
Every release gets a top-level ## v<version> - <YYYY-MM-DD> header with a concrete version and date — never [Unreleased]
- Distinctive: line 154
Before shipping a release, verify the top entry is current, dated, and complete.
- Very specific: line 158
Verify bunfig.toml exists at the project root.
- Distinctive: line 185
Run the full check suite one last time:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
When to Use
- Implementation is functionally complete (tools, resources, prompts, providers all working)
bun run devcheckpasses,bun testpasses- Preparing for a release, or making surface-area changes that affect README/metadata
- User says "polish", "polish docs", "finalize", "make it ship-ready", "clean up docs", or similar
- Re-running after adding/removing tools, resources, or other surface area changes
Prefer running after implementation is complete, but safe to re-run at any point — steps are idempotent.
Prerequisites
- Tools/resources/prompts implemented and registered
bun run devcheckpassesbun testpasses
If these aren't met, address them first.
Steps
1. Audit the Surface Area
Read the registered definitions. Build a mental model of what the server actually exposes — names, descriptions, input/output shapes, auth scopes. This inventory drives every document below.
Read:
src/mcp-server/tools/definitions/index.ts(theallToolDefinitionsbarrel)- Every
src/mcp-server/tools/definitions/git-*.tool.ts src/mcp-server/resources/definitions/index.tssrc/mcp-server/resources/definitions/git-working-directory.resource.tssrc/mcp-server/prompts/definitions/index.tssrc/mcp-server/prompts/definitions/git-wrapup.prompt.tssrc/config/index.ts(Zod config schema)src/services/git/core/IGitProvider.ts(provider contract)
Capture: tool count (expected ~29), resource count, prompt count, git provider capabilities, required env vars.
2. README.md
Compare README content against the audit. Update tool/resource/prompt tables, env var lists, badges, and descriptions to match actual surface area. Don't rewrite sections that are already accurate.
Specific sync points:
- Version badge reflects
package.jsonversion - Tool count in any feature-summary block matches actual count
- The tools table lists every registered tool with a one-line description pulled from
TOOL_DESCRIPTION - Config section lists every env var defined in
src/config/index.tswith current defaults - Links to external deps (
[Hono](https://hono.dev/),[MCP SDK](https://github.com/modelcontextprotocol/typescript-sdk), etc.) are on first mention - Transport examples (stdio + http) are current
3. Agent Protocol (CLAUDE.md / AGENTS.md)
AGENTS.md is a symlink to CLAUDE.md — edit only CLAUDE.md.
Review against reality:
- Tool/resource count and file structure claims match the actual codebase
- Directory table in section II reflects what's actually in
src/ - Code examples use real current APIs (
createToolHandler,ToolLogicDependencies,IGitProvider) — not outdated signatures - If new subsystems were added (e.g., a new provider, new storage backend), the structure diagram in section V is updated
- Checklist in section XIV still covers everything a contributor needs to verify
- Version at the top matches
package.jsonversion
Keep the diff minimal — change what's stale, leave what's accurate.
4. .env.example
Compare .env.example against the src/config/index.ts Zod schema. Add any missing vars with a comment and default. Remove vars for features that no longer exist. Group by category (Transport, Auth, Storage, Git, Telemetry) matching the schema's layout.
Categories to cover:
- Transport:
MCP_TRANSPORT_TYPE,MCP_HTTP_PORT,MCP_HTTP_HOST,MCP_HTTP_PATH - Auth:
MCP_AUTH_MODE,MCP_AUTH_SECRET_KEY,OAUTH_ISSUER_URL,OAUTH_AUDIENCE,OAUTH_JWKS_URI - Storage:
STORAGE_PROVIDER_TYPE,STORAGE_FILESYSTEM_PATH - Git:
GIT_PROVIDER,GIT_SIGN_COMMITS,GIT_AUTHOR_NAME,GIT_AUTHOR_EMAIL,GIT_COMMITTER_NAME,GIT_COMMITTER_EMAIL,GIT_BASE_DIR,GIT_MAX_COMMAND_TIMEOUT_MS,GIT_MAX_BUFFER_SIZE_MB,GIT_WRAPUP_INSTRUCTIONS_PATH - Telemetry:
OTEL_ENABLED,OTEL_SERVICE_NAME,OTEL_SERVICE_VERSION,OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
5. package.json Metadata
Check for empty or placeholder fields. Key fields:
| Field | Source of truth |
description | Canonical — every other surface derives from it |
version | Semver, matches server.json and CHANGELOG.md headline |
mcpName | Reverse-domain: io.github.cyanheads/git-mcp-server |
repository.url | git+https://github.com/cyanheads/git-mcp-server.git |
bugs.url | https://github.com/cyanheads/git-mcp-server/issues |
homepage | https://github.com/cyanheads/git-mcp-server#readme |
keywords | Union with GitHub topics (see step 7) |
engines | bun >=1.2.0, node >=20.0.0 |
packageManager | Pinned bun version |
author | cyanheads <casey@caseyjhand.com> |
license | Apache-2.0 |
description is the canonical source. Every other surface (README header, server.json, GitHub repo description) derives from it. Write it here first, then propagate.
6. server.json
Diff against current state and update stale fields. Key sync points:
$schemaset to the current MCP server manifest schema URLnamematchesmcpNamefrompackage.jsonversionmatchespackage.jsonversion (in all places: top-level + eachpackages[].version)descriptionmatchespackage.jsondescriptionenvironmentVariablesreflectsrc/config/index.ts— server-specific required vars in both entries, transport vars only in HTTP entry- Package entries cover supported distribution channels (npm stdio, npm http)
7. GitHub Repository Metadata
Sync the GitHub repo with package.json using gh. Skip if gh isn't available.
Description:
gh repo edit cyanheads/git-mcp-server --description "$(jq -r .description package.json)"Topics ↔ Keywords:
Compare GitHub topics against package.json keywords. They should be the union — add any that exist in one but not the other.
gh repo view --json repositoryTopics -q '.repositoryTopics[].name'
jq -r '.keywords[]' package.json- Missing from GitHub →
gh repo edit --add-topic <topic> - Missing from
package.json→ add tokeywordsarray
Common keywords across MCP servers (mcp, mcp-server, model-context-protocol, typescript) should appear in both. Domain-specific keywords (git, version-control, branch, etc.) should also be present in both.
8. CHANGELOG.md
This repo uses a monolithic changelog in Keep a Changelog format. Conventions:
- Every release gets a top-level
## v<version> - <YYYY-MM-DD>header with a concrete version and date — never[Unreleased] - Optional one-paragraph narrative intro right under the header
- Grouped sections:
### Added,### Changed,### Fixed,### Removed,### Security - Breaking changes called out in bold at the top of the relevant section or with a dedicated
### Breakingheader - Entries reference tool names in code (
`git_merge`), PR/issue numbers ((#42)), and user-visible commands - Oldest releases at the bottom; newest at the top
Before shipping a release, verify the top entry is current, dated, and complete. Hand-editing is expected — no build step.
9. bunfig.toml
Verify bunfig.toml exists at the project root. Expected contents:
[install]
auto = "fallback"
frozenLockfile = false
[run]
bun = true10. LICENSE
Confirm the LICENSE file exists and matches package.json license field (Apache-2.0).
11. docs/tree.md
Regenerate the directory structure:
bun run treeReview the output for anything unexpected (leftover scaffolding files, missing directories, stray dist artifacts).
12. Final Verification
Run the full check suite one last time:
bun run devcheck
bun testBoth must pass clean.
Checklist
- Surface area audited — tool/resource/prompt/provider inventory built
README.mdaccurate — tool tables, config, descriptions match actual codeCLAUDE.mdaccurate — no stale content, real examples, structure matches reality;AGENTS.mdsymlink intact.env.examplein sync withsrc/config/index.tspackage.jsonmetadata complete and versionedserver.jsonschema + versions + env vars current; matchespackage.json- GitHub repo description matches
package.json; topics ↔ keywords in sync bunfig.tomlpresentCHANGELOG.mdhas a concrete-dated entry for the release (Keep a Changelog format)LICENSEfile presentdocs/tree.mdregeneratedbun run devcheckpassesbun testpasses
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

