Maintain this library's workflow - change the rules (CLAUDE.md, AGENTS.md), skills, templates, README and so on. Runs only when the user explicitly types /bb-workflow; user mode only; follows fixed steps - impact check, core principles check, confirmation, update everything affected, check, record.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Bb Workflow?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/oluul-bb-workflow)
---
name: bb-workflow
description: Maintain this library's workflow - change the rules (CLAUDE.md, AGENTS.md), skills, templates, README and so on. Runs only when the user explicitly types /bb-workflow; user mode only; follows fixed steps - impact check, core principles check, confirmation, update everything affected, check, record.
disable-model-invocation: true
---
# bb-workflow: maintain the workflow
Rules: `CLAUDE.md` at the repository root (§14, §15).
**Run only when the user explicitly types `/bb-workflow`** (§14 item 7). **User mode only** (§0). A mentor's suggestions about the process itself are recorded as mentor comments through `bb-mentor`, and the user decides whether to adopt them through this flow.
Fixed strings are shown in English; write them into files in the library's language and reply in the language the person is speaking (CLAUDE.md §9, §13; `.workory/vocabulary.md`).
## Steps
1. **Finish the current record**: if you are in the middle of recording (`bb-record`), first confirm and write that record, or mark it ⏸️ Not saved yet, before entering this flow. The two lines of work never share a commit.
2. **Sync and restate**: get the latest `main` as in CLAUDE.md §12. In your own words, restate what to change, why, and the intended effect. Ask about anything ambiguous.
3. **Impact check**: search every place that might be affected and list each one:
- every section of `CLAUDE.md` (especially section numbers and cross-references), `AGENTS.md`, `README.md` (including diagrams, the roles table and the commands table);
- `.claude/skills/*/SKILL.md` (including descriptions and references in the steps) and each skill's Chinese translation `SKILL.zh-CN.md`; upstream's `CHANGELOG.md` and the full guide `workory.md` (upstream only; related changes are updated during `bb-contribute`);
- `.workory/vocabulary.md` when a fixed string is added or changed (in both languages);
- **no personal information** may be written into workflow files (§16); examples always use generic wording;
- `.workory/templates/` (both language versions), `.workory/scripts/check.py` (whether its checks need to follow);
- whether existing data (`data/`, `inbox/`, `mentor/`) needs migrating;
- preferences in `memory/preferences.md` (e.g. wording about mentors should be polite).
4. **Core principles check** (§14): if the change would weaken or remove any core principle, say which one and what the risk is, and ask the user to **explicitly confirm again** (e.g. by replying "confirm core principle change") before going on.
5. **📝 To confirm**: list the changes (what changes in each file, whether data migrates, whether it is breaking) and ask the user to confirm.
6. **Update everything affected**: change every affected place in one go, leaving nothing contradictory. If section numbers change, fix every reference.
7. **Migrate data** (if needed): in a separate commit `refactor(data): ...`, migrating format only, never facts.
8. **Check**: run `python3 .workory/scripts/check.py`; it must pass. Then confirm by reading that the changed rules do not contradict themselves. If the checks themselves need to change, update `.workory/scripts/check.py` as well, and first confirm with a deliberately broken copy that it reports the error.
9. **Commit**: commit per §10 (the commit message says clearly what changed and why) (`feat/fix/refactor(rules|skills|templates)`, with `!` for an incompatible format change), and use the guarded push in CLAUDE.md §12.
10. **Suggest contributing upstream** (§15, §16): by default, suggest contributing this change to upstream Workory. Do not suggest it only for clearly personal changes (say why); when unsure, treat it as mixed and offer to split out the general part. If the user agrees, ask them to type `/bb-contribute` to enter that flow (the assistant cannot invoke it for them).
11. **Wrap up**: close with a ✅ block (§13), listing the changed files, the commits, and any affected places left unchanged, with reasons.