/soong:soong-setupfrom soong
Record what this repo needs for soong's skills to run - whether it uses Notion at all and which roadmap and task databases it maps to, and whether its commits carry a Conventional Commits scope. Use when the user runs /soong-setup, when another skill reports the repo is not configured, or when the user wants to change what a repo is configured for. A repo can record that it does not use Notion, which settles that capability for good. Stops without writing anything if the user says the repo uses Notion but does not supply valid databases.
Ships in soong. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Configure this repo for soong's skills. Other skills ask this one's script whether what they need is present, and send the user here when it is not.
Start by telling the user, in one line, what this does. For example:
soong-setuprecords what this repo needs for soong's skills: the Notion databases/developreads, and whether commits here carry a scope.
/soong-setup [capability]
With no argument, sweep every capability and ask only for what is missing. With a capability, configure that one alone.
${XDG_DATA_HOME:-$HOME/.local/share}/soong/soong.json. This is user
config, so it lives under XDG_DATA_HOME. The PR records that manage-pr writes
are regenerable state and live under XDG_STATE_HOME instead.${CLAUDE_PLUGIN_ROOT}/skills/soong-setup/scripts/soong-setup.sharchitect.json, is copied forward
automatically the first time any command runs. The old file stays on disk as a
backup and is never written to.| Capability | Keys | Used by |
|---|---|---|
notion | useNotion, roadmapDb, taskDb, taskTemplate | develop |
commits | requireScope | the conventional-commit-guard hook |
taskTemplate is optional. Every other key is required by its capability.
useNotion is how a repo says it has no Notion side. Set false, it satisfies
notion on its own and the databases are never asked for again. Set true, the
databases are still required. Passing a database id records true implicitly, so
a repo cannot end up holding ids and a no.
commits is the one capability whose absence is itself enforced: without it the
guard hook denies PR creates and edits outright rather than checking nothing. A
guard that quietly passes everything until someone remembers to switch it on is
not a guard, so an unconfigured repo is stopped at the PR and told to come here.
See what is missing.
bash "${CLAUDE_PLUGIN_ROOT}/skills/soong-setup/scripts/soong-setup.sh" check [capability]
Exit 0 means nothing is missing: show the user the current state, ask whether
to change anything, and stop if not. Exit 3 lists what is missing: continue,
and ask only for those. Exit 1 means the config is corrupt, and set will
refuse to overwrite it: report the message and stop, because answering the
questions below cannot succeed. Exit 2 means this is not a git repository, or
the capability name is wrong: report it and stop.
For notion, ask whether this repo uses Notion at all.
Does this repo track work on Notion?
/developreads roadmap items and task cards there. Answering no records that, and/developstays unavailable here.
This is an explicit answer, not an inference from whether the user has ids to
hand. A repo with no Notion side is a normal repo, and until it can say so,
check reports the databases as missing for good and every skill that checks
keeps sending the user back to a setup they already finished.
On no, write it and skip to the commits question:
bash "${CLAUDE_PLUGIN_ROOT}/skills/soong-setup/scripts/soong-setup.sh" set --use-notion false
On yes, continue to the next step. Supplying a database id records the same answer implicitly, so there is no way to end up with ids and a no.
Ask for the roadmap item database. Ask for a Notion database URL or id.
Ask for the task database. Same. One Notion task in this database is one PR in a stack.
Verify both databases with the Notion MCP before writing anything. Fetch each one and confirm it resolves to a database the user can access. Show the user the resolved database titles so they can catch a wrong paste.
If either database does not resolve, or the user cannot supply one, stop
here. Write nothing. Say which database was invalid and that /develop
stays unavailable for this repo until setup completes.
Offer the task template. List the templates available on the task database and let the user pick one, or skip. The template is optional; the database's own default applies when it is null.
For commits, ask one question: does this repo require a scope on commit
and PR subjects?
Do commits and PR titles in this repo carry a scope, as in
feat(scope): summary? Answering yes denies subjects without a scope. Answering no denies subjects with one.
There is no third answer here, and leaving it unanswered is not a neutral
option: until this is recorded, the guard hook denies every gh pr create and
gh pr edit in the repo and names this skill as the fix. Say what each answer
turns on, because both directions deny something that is legal today, and both
are also what lifts that denial.
Commits are the exception. They keep working in an unconfigured repo, because
this hook runs on every repo on the machine and denying git commit -m "wip"
in each one nobody has set up is how a guard gets switched off for good.
Write what was gathered. Pass only the flags for the capabilities you asked about; the script merges, so it does not disturb the rest.
bash "${CLAUDE_PLUGIN_ROOT}/skills/soong-setup/scripts/soong-setup.sh" set \
[--roadmap-db "<id>"] [--task-db "<id>"] [--task-template "<id>"] \
[--require-scope true|false] [--use-notion true|false]
Confirm the stored record back to the user, and name which skills just became available.
commits question on the user's behalf by reading the repo's
git history. A repo whose commits are inconsistent is exactly the repo where the
user's intent is the only signal that matters.notion question on the user's behalf either, and never infer
it from whether the user happens to have ids to hand. "I do not have them now"
and "this repo has no Notion side" are different answers, and recording the
second when the user meant the first stops the question being asked again.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 skills in this plugin
/developTake a Notion roadmap item and build its whole task stack as stacked pull requests, one pull request per task, asking any questions the task cards leave open before writing code. Use when the user runs /develop, or asks to implement a roadmap item, build out a stack of tasks, or start development from prepared task cards. Requires the repo to be configured via soong-setup first./manage-prUse for any work on a pull request — writing or rewriting its title and description when creating or editing a PR, and responding to reviewers on your own open PR. Enforces the Conventional-Commits-with-scope title format, an optional Notion ticket id suffix, and a simple-prose description style. Walks unresolved review threads one-by-one with the user, then posts all replies in one batch after approval. Forbids generated-by footers and Claude attribution tags on both. Also persists a project/branch -> notion card + last commit record outside the repo for later querying. Triggers on "open a PR", "create a pull request", "write the PR title/description", "address the PR feedback", "reply to the reviewers", "go through the review comments", "respond to the PR comments", or any `gh pr create` / `gh pr edit` / `gh pr comment`./mergeMerge a base branch into the current feature branch and push the result, resolving conflicts file-by-file. Use when the user asks to "merge", "merge back", catch a feature branch up with its base, or pull base-branch changes into the current branch. "Base" most likely means the branch the feature was cut from or the PR's base branch, not necessarily a branch literally named "development".npx claudepluginhub konvoulgaris/soong --plugin soong