Maintain project readme
Skill gaelic-ghost/socket/plugins/productivity-skills/skills/maintain-project-readme
The Source for macOS Agent Workflows
npx -y skills add gaelic-ghost/socket --skill maintain-project-readmeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 6 stars6 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
Maintain README.md files against a hard-enforced canonical base schema with deterministic check-only and bounded apply modes. Use when a repository README needs a durable baseline structure that downstream plugins or repo-specific customization can extend without weakening the shared README contract.
SKILL.md
7.1 KB, as published. Nobody here has run it
Maintain Project README
Maintain README.md files through one deterministic base-template workflow.
This skill is the primary layer for README maintenance. It defines the canonical shared README contract that downstream language-, framework-, stack-, or repository-specific customization can adapt through explicit extension, instead of ad hoc structure drift.
Inputs
- Required:
--project-root <path> - Required:
--run-mode <check-only|apply> - Optional:
--readme-path <path> - Optional:
--config <path>
Workflow
- Validate the project root and resolve the target
README.md. - Load the canonical README schema from the built-in template config, then merge any explicit customization override.
- In
check-only, audit title and summary requirements, top-level section names and order, required subsection names, the required table of contents, and placeholder-style content. - In
apply, keep edits bounded to the targetREADME.mdwhile normalizing the README into the configured canonical structure. - Preserve preamble material such as badges, callouts, screenshots, and extra intro prose before the first H2 while normalizing the structural contract around it.
- When bootstrapping a missing
README.md, ask the user for text forOverview > Status,Overview > What This Project Is, andOverview > Motivationbefore writing those subsections. - Use the bundled README template when bootstrapping a missing
README.mdor when a downstream workflow needs a canonical starter document; if the user has not provided text for any Overview subsection, leave that subsection body exactlyTBD. - Re-run the same audit to confirm post-fix status.
- For skills, plugin, or hybrid repositories, keep the same hard-enforced schema while grounding install, discovery, packaging, and maintainer wording in the real repo surface instead of inventing ordinary-app sections that are not actually shipped.
Writing Expectations
README.mdis product-focused: write it for end users, evaluators, integrators, and their agents who need to understand what the project is, whether it fits, how to try it, and where the shipped surface lives.- Contributor, maintainer, release, validation, branch, review, and local development procedures belong in
CONTRIBUTING.mdor a linked maintainer document. InREADME.md, keep only the shortest useful pointer to that contributor path. - Keep the whole README near 250 lines or less by default. Treat 300 lines as a soft ceiling that should trigger consolidation unless the user explicitly wants a long-form README.
- Keep most generated or agent-edited top-level sections near 40 lines or less. Split or hoist content only when it clarifies ownership; otherwise trim repetition and link to the canonical owner.
- The user-authored
Overviewsubsections may be longer when the user supplies that text. Do not shortenOverview > Status,Overview > What This Project Is, orOverview > Motivationunless the user explicitly asks. Overview > Status,Overview > What This Project Is, andOverview > Motivationmust be written by the user in the user's own words, never by the agent.- If one of those Overview subsections already contains text, leave that text intact and untouched unless the user explicitly provides replacement text for that exact subsection.
- If one of those Overview subsections is empty or missing, set the subsection body to exactly
TBD; for new README files, ask the user for text to place there before falling back toTBD. Quick Startshould stay human-focused, short, concise, and end-user friendly, or explicitly say the project is still too early for a real quick start and direct curious readers toDevelopment.Usageshould stay human-focused, concise, and informative. Prefer fenced code blocks with info strings when examples help.Developmentshould stay short and reader-oriented. Prefer a direct link toCONTRIBUTING.mdfor setup, workflow, validation, review, and maintainer commands instead of duplicating those procedures in the README.Repo Structureshould be a small directory tree or outline diagram, not a prose section.- Keep README, CONTRIBUTING, ROADMAP, and AGENTS responsibilities distinct. Product summary and end-user fit belong here; contribution workflow belongs in
CONTRIBUTING.md; backlog and small-ticket planning belong inROADMAP.mdby default; agent-facing maintainer rules belong inAGENTS.md.
Codex Subagent Fit
Use the shared trigger and sandbox policy in docs/maintainers/codex-subagent-guidance.md. This skill is a good fit for read-heavy README discovery before the main workflow edits or reports: checking source docs, inventorying commands, inspecting sibling package metadata, or comparing README claims against one upstream source per worker.
Keep apply edits in the main thread because this skill has one target file and a hard-enforced schema. Ask subagents to return concise evidence and file references, not replacement README prose.
Canonical Base Contract
The authoritative default shared README structure lives in:
config/readme-customization.template.yamlassets/README.template.md
Treat those two files as the source of truth for the canonical base schema and the canonical bootstrap document. Downstream plugins may extend that structure through preamble and appendices, but this base skill treats the required table of contents plus the configured section block as hard-enforced.
Output Contract
- Return Markdown plus JSON with:
run_contextcustomization_stateschema_contractschema_violationscontent_quality_issuesfixes_appliedpost_fix_statuserrors
- If there are no issues and no errors, output exactly
No findings.
Guardrails
- Never auto-commit, auto-push, or open a PR.
- Never invent commands, setup steps, or product claims that are not grounded in the repo.
- Never edit files other than the target
README.md. - Never move contributor or maintainer procedures into
README.mdwhenCONTRIBUTING.mdor a maintainer doc is the correct owner. - Keep the README schema hard-enforced against the configured contract instead of inferring structure from repo profile heuristics.
- Do not relax the configured schema just because the repository is a plugin, skills, or hybrid repo. Use explicit extension via preamble or appendices when the repo genuinely needs an additional structure or section.
References
agents/openai.yamlconfig/readme-customization.template.yamlassets/README.template.mdreferences/section-schema.mdreferences/readme-customization.mdreferences/readme-config-schema.mdreferences/output-contract.mdreferences/fix-policies.mdreferences/style-rules.mdreferences/verification-checklist.mdreferences/project-readme-maintenance-automation-prompts.md