Skip to content
Back to skills

Projectstore Groom

ASecurity

The weekly grooming pass — stale ToDo stories back to the backlog, the pass stamped, and one-story epics handed to the librarian for merge proposals. Shows the plan and asks once.

  • 13 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 19, 2026
ai-agentsgoshellbashnode

Security analysis

A100/100

Scanned November 19, 2026

npx -y skills add SmartAndPoint/ProjectStore --skill projectstore-groom --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Projectstore Groom?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Projectstore Groom
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/smartandpoint-projectstore-groom/badge)](https://www.skillsdirectory.com/skills/smartandpoint-projectstore-groom)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: projectstore-groom
description: "The weekly grooming pass — stale ToDo stories back to the backlog, the pass stamped, and one-story epics handed to the librarian for merge proposals. Shows the plan and asks once."
---

## Runtime path

Resolve paths from this skill's own directory, never from the checkout or a
remembered cache path. The plugin root is two directories above this SKILL.md;
the bundled core is `<plugin-root>/node_modules/projectstore`. Before running
any ProjectStore command, export `PROJECTSTORE_CORE_ROOT` to that bundled-core
path in its own shell statement, then use `node "${PROJECTSTORE_CORE_ROOT}/…"`.
Do not prefix the command with the assignment: a shell expands the quoted path
before that inline assignment takes effect. If the bundled core is missing, stop
and report a broken plugin install; do not fetch a different version from npm.

## User arguments

The source command's host-substituted argument token is rendered here as
`<user-arguments>` (or `<user-arguments-without-fix>`). Before executing a
shown command, replace that token with the actual arguments from the user's
request and shell-quote values safely. Never pass the angle-bracket token
literally and never treat it as a shell variable.

You are running the grooming pass through the core's `groom` verb. It moves every ToDo story that has sat there past the vault's threshold back to `planned`, with a logged reason, lists the one-story epics and the active epics against their cap, and stamps the pass. With `--write` it reads the vault again and writes itself, so no clerk runs and you never edit a story or the vault's settings here. The verb never merges or moves an epic: the librarian only proposes, and a merge goes through the normal commands later.

1. **Show the plan.**

   ```bash
   node "${PROJECTSTORE_CORE_ROOT}/bin/projectstore.mjs" groom --json --project "$PWD"
   ```

   Exit 3: the project is not bound; tell the person to run `$projectstore-bind <vault-path>` and stop. Exit 1 with the policy not set, or with the vault config or its `flow` refused: say so in one line, with `result.error` as it is, and stop; ask nothing.

2. **Relay it.** List `result.items` (each `story`, `age_days` and `reason`), then `result.notes` by `id` and `message`, then the epics: each entry of `result.epics.single_story` (its `epic` and `story.ref`), and `result.epics.active` as `<count> active epics`, with the cap or `no cap set`, and whether it is over.

3. **Ask once** whether to apply it (the harness's user-input mechanism: **Apply** / **Cancel**). Say that the stamp `flow.groomed_at` is written also when no story moves, and how many epics go to the librarian afterwards: the number of entries in `result.epics.single_story` (none when it is empty).

4. **On Apply**, run the same command with `--write`:

   ```bash
   node "${PROJECTSTORE_CORE_ROOT}/bin/projectstore.mjs" groom --write --json --project "$PWD"
   ```

   Report the items with `written: true` (each `line`), any item `error` as it is, every note, `result.stamp` (written or not, and `after`), and the exit: 0, or 1 with `result.error`. A command inside an error stays alone on its line. On Cancel, nothing is written and no librarian runs; say so and stop.

5. **The librarian, only when `result.epics.single_story` of the `--write` run is not empty** — also after an exit 1, since the epics are only read. When it is empty, no librarian runs; say so.

   **Model and effort (ADR-008)**: resolve them with `node "${PROJECTSTORE_CORE_ROOT}/bin/projectstore.mjs" agents model librarian --json --project "$PWD"` and pass `result.model` as the spawn's model parameter, verbatim — never substitute the model you are running on (`null` → pass nothing), and `result.effort` as its effort parameter when it is not `null` and the spawn offers one. Missing key, `inherit`, or unreadable config → pass nothing and let the agent's own frontmatter decide; never guess a model.

   Spawn `$projectstore-librarian` once, in the foreground, with a prompt whose first line is `Epic list:` followed by a JSON block of the `--write` run's `result.epics`, and nothing else. Print its verdicts as they come: for each one-story epic, the epic that absorbs it and what moves, or keep it and why. Every proposal is a suggestion: you change nothing on it here, and a merge goes through the normal approval-gated commands.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.