Skip to content
Back to skills

Projectstore Initiative

ASecurity

Create a new initiative (an outcome above several epics). Arguments: <title>.

  • 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-initiative --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Projectstore Initiative?

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

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

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-initiative
description: "Create a new initiative (an outcome above several epics). Arguments: <title>."
---

## 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 creating an initiative.

Steps:

1. Check config; stop if missing.
1a. **Read the guide** for this kind before writing anything:

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

   Write the draft to its `## Must`, `## Common mistakes`, `## Do not write`
   and `## Length`: the critic checks the same `## Must` items. Exit 1 means
   this kind has no guide; say so and go on.
2. Run `node "${PROJECTSTORE_CORE_ROOT}/scripts/draft.mjs" initiative "<user-arguments>"`.
3. Preview path + first ~15 lines. When `index` is non-null, print `index.line` too — the exact row that will appear in the folder index, unless the index step reports a failure and no row lands at all.
4. the harness's user-input mechanism: Yes / Edit / No. This is the only gate: **Yes** covers the artifact and its index row. Disclose in the question that the folder's whole managed index table is regenerated from vault state at write time, so the update may also repair a stale row for another artifact. It may also drop, for a while, a row another session added a moment before; the next regeneration of that folder's index restores it.
5. Pre-write race check (Layer 1): `test -e "<path>"`. If exists, ask: **Overwrite**, **Use new slug** (`-2`), or **Cancel**.
6. On Yes (path free or overwrite confirmed): Write file.
7. Index row, if `index` is non-null — apply through the core, never Write/Edit, no second gate (step 4 covers it): `node "${PROJECTSTORE_CORE_ROOT}/bin/projectstore.mjs" reconcile --write --only indexes=<index.folder>`. The row is derived state: canonical order, atomic write, manual prose preserved. The file is already on disk, so a nonzero exit is a warning naming the folder (stderr with no JSON = rejected before any write, fix the header or restore the README; `error` in JSON = I/O failure, suggest `$projectstore-reconcile`), never a failed creation.
8. Suggest: "Fill `Problem` and `Success criterion` first. The initiative is `proposed`; an epic joins it with `initiative: \"<slug>\"` in the epic's frontmatter. To record a decision, set `status:` to `accepted`, `rejected` or `deferred` and add an Outcome line `- YYYY-MM-DD <status>: <reason>` with the reason the person gave; an accepted initiative needs at least one epic that names it."

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.