agentsclimarketplace

Readme sync

Skill NASSWIEL/Shapsha/skills/readme-sync

Met à jour README.md si la surface utilisateur change (CLI, env vars, dépendances).From its SKILL.md

Install
npx -y skills add NASSWIEL/Shapsha --skill readme-sync

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

  • 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

  1. README.md exists is no → output No 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 entries
  • all_changed = __all__ changes diff is non-empty
  • env_vars_added = env var additions diff is non-empty
  • deps_added = the Pyproject diff shows a + (or -) line that introduces or removes a package name in dependencies, 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

  • patched empty → output No README change needed. (append the agent's reason if present). Stop with success.
  • patched non-empty → stage the file:
    git add -- README.md
    
    Then capture the staged diff so the user sees what was modified:
    git diff --cached -- README.md 2>/dev/null
    
    Output exactly this block (the Modifications: line is literal; the diff body is the captured output verbatim, no truncation):
    README patched. Sections: <comma-list of sections_touched>.
    
    Modifications:
    <git diff --cached -- README.md output>
    
    Stop with success.

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.

Keep looking

Skills are one crate of 607,533. 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.