Readme sync
Met à jour README.md si la surface utilisateur change (CLI, env vars, dépendances).From its SKILL.md
npx -y skills add NASSWIEL/Shapsha --skill readme-syncAssembled 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.
SKILL.md
3.6 KB, as published. Nobody here has run it
/starter:readme-sync
Context
- Pyproject scripts diff: !
python "${CLAUDE_PLUGIN_ROOT}/tools/git_diff_combined.py" --grep '^[+-].*(\[project.scripts\]|=)' --cap 30 'pyproject.toml' 2>/dev/null - all changes: !
python "${CLAUDE_PLUGIN_ROOT}/tools/git_diff_combined.py" --include-untracked --grep '__all__' --cap 10 '*.py' 2>/dev/null - Env var additions: !
python "${CLAUDE_PLUGIN_ROOT}/tools/git_diff_combined.py" --include-untracked --grep 'os\.(environ|getenv)' --cap 10 '*.py' 2>/dev/null - Pyproject diff: !
git diff -- pyproject.toml 2>/dev/null | head -40 - Install files changed: !
python "${CLAUDE_PLUGIN_ROOT}/tools/list_changed.py" Dockerfile Makefile pyproject.toml 2>/dev/null - README.md exists: !
test -f README.md && echo yes || echo no
Your task
Detect signals indicating a user-facing surface change, delegate the README edit to the readme-patcher subagent (which edits in place), and stage the result.
Guards
README.md existsisno→ outputNo README.md. Run /starter:proj-init.Stop.
Signal scan
Compute these flags from the captures above:
scripts_changed= pyproject scripts diff is non-empty AND mentions[project.scripts]or its entriesall_changed=__all__changes diff is non-emptyenv_vars_added= env var additions diff is non-emptydeps_added= the Pyproject diff shows a+(or-) line that introduces or removes a package name independencies,optional-dependencies, or[tool.poetry.dependencies]. A pure version-string change in an existing line (e.g.,"requests>=2.30"→"requests>=2.31") does not fire this signal — only name additions/removals do.install_files_changed= install files list is non-empty
If all flags are false → output No README change needed. Stop with success.
Delegate to readme-patcher
Invoke Task with subagent readme-patcher. Pass JSON:
{
"readme_path": "README.md",
"signals": {"scripts_changed": ..., "all_changed": ..., "env_vars_added": ..., "deps_added": ..., "install_files_changed": ...},
"diff_excerpts": {"scripts": "...", "all": "...", "env_vars": "...", "deps": "...", "install": "..."}
}
The agent edits README.md in place via Edit/MultiEdit and returns:
{"patched": ["README.md"], "sections_touched": ["Utilisation", "Configuration"]}
or:
{"patched": [], "reason": "signals fired but no user-facing change"}
Stage and summarize
patchedempty → outputNo README change needed.(append the agent'sreasonif present). Stop with success.patchednon-empty → stage the file:
Then capture the staged diff so the user sees what was modified:git add -- README.md
Output exactly this block (thegit diff --cached -- README.md 2>/dev/nullModifications:line is literal; the diff body is the captured output verbatim, no truncation):
Stop with success.README patched. Sections: <comma-list of sections_touched>. Modifications: <git diff --cached -- README.md output>
Hard rules
- Do not edit README.md yourself. The agent owns all edits. This skill only stages.
- Do not parse or apply unified diffs. Old contract is gone.
- Do not write helper scripts into the user's repo.
- No AskUserQuestion. Apply or no-op.
- Single message. Delegate + stage in one tool-call turn.