backfill
FluencyLoop safety net. Reconstruct store records for work that shipped without going through the loop — reads a merged diff, records the feature, session,…
FluencyLoop — stay fluent in code as AI writes it. Router/overview for the per-feature loop (design → build+teach → review), the optional up-front planning stage for large chunks, the woven-in constitution that grows from decisions, plus post-merge backfill. Use when the user
$ npx -y skills add baokhang83/fluencyloop --skill fluencyloop --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/fluencyloopContext preview
The summary Claude sees to decide when to auto-load this skill.
FluencyLoop — stay fluent in code as AI writes it. Router/overview for the per-feature loop (design → build+teach → review), the optional up-front planning stage for large chunks, the woven-in constitution that grows from decisions, plus post-merge backfill. Use when the user
name: fluencyloop description: 'FluencyLoop — stay fluent in code as AI writes it. Router/overview for the per-feature loop (design → build+teach → review), the optional up-front planning stage for large chunks, the woven-in constitution that grows from decisions, plus post-merge backfill. Use when the user mentions FluencyLoop, "fluency", the .fluencyloop/ directory, or wants to set up / understand the workflow but hasn''t named a specific stage.'
*The code and your fluency in it are produced together, or not at all.*
This section takes priority over every later workflow instruction. If the developer gives a literal `fluencyloop` CLI command, such as `fluencyloop init`, `fluencyloop -v`, or `fluencyloop check`, they requested **only that command**.
1. For `fluencyloop init`, request sandbox elevation for that exact command before its first execution. It may create Codex-protected `.git` metadata; do not first attempt it in the standard sandbox. 2. Invoke `fluencyloop` immediately. 3. Do not send an interim update, inspect the workspace, read state, search the web, check PATH, or explain what the command will do. 4. Do not route to a stage or run a follow-up command after it succeeds. In particular, `fluencyloop init` must not automatically start a feature or plan. 5. Return the command's result concisely. If Codex requires approval for another write, request it before running the command; do not add setup narration.
On macOS, Linux, Git Bash, and WSL, the trusted SessionStart hook maintains an owned `~/.local/bin/fluencyloop` shim for this installed plugin. Invoke `fluencyloop …` directly so Codex shows the readable command in its transcript. Do not resolve its path, check PATH, or describe the shim to the developer.
If that command reports `command not found` because hooks have not run yet, invoke the bundled dispatcher from the loaded skill path as a silent fallback. On native Windows, invoke the adjacent `fluencyloop.ps1` with `pwsh`.
For a non-literal workflow entry, before the first user-visible response, run `fluencyloop site --ensure --open-once --json`. This ensures the reader for every workflow entry, but opens a browser tab only once while that managed reader is alive. If it reports `running: true` and no earlier assistant message in this session starts with `FluencyLoop site:`, say `FluencyLoop site: <url> (opened in browser).` once, using its returned URL. Do not mention an unavailable site or repeat the announcement. The Literal CLI Fast Path above remains exempt: literal commands receive only their requested command result.
FluencyLoop's stage skills use **`AskUserQuestion` in Claude Code** for genuine prompts. Codex has no equivalent question-form tool, so they ask a concise standalone question in chat and pause for the answer before continuing.
FluencyLoop keeps the people behind a codebase fluent in it as AI writes more of it. At its core is a **per-feature loop** — design → build (teach) → review — driven by whoever is building. Nothing gates a merge; work that skips the loop is caught after merge by backfill.
PER BIG CHUNK (optional) REPEATS, PER FEATURE (contributor-driven) ( plan ) → design → build (teach) → review architecture + roadmap diagrams session journal PR view assembles itself
Planning is **optional** — reach for it only when a chunk of work is too big for one feature/branch and needs an architecture + roadmap first. Small work goes straight to **`$fluencyloop:feature`**.
The **constitution** (the project's checkable principles) is load-bearing — plan and feature both check designs against it — but it is **not a stage you sit down and author**. It's born from your first real intent (a plan, or the first feature as backstop) and grows as features harvest repeatable stances from real decisions. Same law as the journal and the calibration profile: it **accretes from building**, never authored cold unless you explicitly choose to.
| The user wants to… | Skill | |------------------------------------------------------|------------------------| | Plan a large chunk — architecture, task breakdown, roadmap | **`$fluencyloop:plan`** | | Start building something, stay fluent as they go | **`$fluencyloop:feature`** | | Prepare a PR / summarise a feature for a reviewer | **`$fluencyloop:review`** | | Document work that shipped without the loop | **`$fluencyloop:backfill`** |
For a conversational request to "set up FluencyLoop" (not a literal CLI command), initialise an absent `.fluencyloop/` scaffold, then continue with **`$fluencyloop:feature`** (or **`$fluencyloop:plan`** for a big chunk). The constitution fills itself in from there.
fluencyloop init # initialises Git if needed, then scaffolds .fluencyloop/
This creates `.fluencyloop/` (scripts, templates, constitution stub). Agent skills are activated through the agent's installation mechanism and are never copied into the project. A feature is a branch (`feature/<slug>`); sessions are committed journals; the per-developer calibration profile lives globally in `~/.fluencyloop/` and is never committed.
FluencyLoop is cheap to run because the deterministic scripts do everything mechanical and the model spends tokens only on the irreducible rationale. The split, per stage:
| Stage | The scripts assemble (deterministic) | The model writes (irreducible) | |-------|--------------------------------------|--------------------------------| | **Declare / design** | feature branch, feature record, `state.json` (slug / branch / stage / base) | the taught design rationale, the constitution check | | **Build
:star: AI-assisted development workflow that produces understanding alongside code. Teach, capture decisions, document, assemble reviews.
Repo: baokhang83/fluencyloop
FluencyLoop safety net. Reconstruct store records for work that shipped without going through the loop — reads a merged diff, records the feature, session,…
Create technical and product diagrams as standalone HTML files with inline SVG. Use for architecture, flow, sequence, state, data, process, and other diagrams;…
FluencyLoop Stage 2–3. Declare a feature and build it while staying fluent: creates the feature branch, frames its concepts and relationships, then builds in…
FluencyLoop planning stage. Plan a large chunk of work before building it: design and document the overall architecture, break it into task items, sequence…
FluencyLoop Stage 4. Assemble the reviewer-facing PR view from a feature''s sessions — a feature is a branch, so it assembles itself from git. Use when…