/zulfiqar:common-groundfrom zulfiqar
Surface hidden project assumptions and persist them into docs/common-ground.md with an OPEN/WORKING/ESTABLISHED tier, so a long project stays honest about what's assumed vs known. Modes: default (surface + file), --list, --check, --graph.
Ships in zulfiqar. 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.
None: SKILL.md is the whole skill.
A long project accumulates assumptions nobody wrote down: "the API is idempotent," "users are
always authenticated by this point," "that table is small enough to scan." They start as
guesses, get acted on, and quietly calcify into load-bearing facts that were never actually
checked. This skill keeps a per-project ledger of exactly that gap, in docs/common-ground.md
of the current repo, so every assumption has a visible confidence tier and a paper trail.
Target file: docs/common-ground.md relative to repo root (find root via git rev-parse --show-toplevel; if not a git repo, use cwd). Create the file and its docs/ dir if missing,
using the template below. If the file already exists, read it first and append/update in place;
never overwrite existing entries silently.
Modes: when invoking this skill, say which mode you want (or just describe the assumption, which implies log mode):
Tier moves only go forward on evidence and backward on contradiction. An assumption that turns out wrong does not get deleted, it gets marked BROKEN with the date and what disproved it, so the ledger keeps its own history instead of erasing mistakes.
OPEN section using the entry template below. Assign the
next sequential ID.### [CG-<id>] <short assumption statement>
- Tier: OPEN
- Logged: <YYYY-MM-DD>
- Context: <where this came from: file:line, decision, or conversation topic>
- Risk if wrong: <one line, concrete consequence>
- Evidence: <none yet | what would confirm/deny it>
Read docs/common-ground.md and print every entry grouped under three headers, ## OPEN,
## WORKING, ## ESTABLISHED, each entry as [CG-<id>] <statement> plus its Logged date. Add a
trailing ## BROKEN group only if any exist. Keep it scannable, no editorializing, this is a
readout not a rewrite. If the file doesn't exist yet, say so and stop, don't create it just to
list an empty file.
For every entry currently tiered WORKING or ESTABLISHED:
## BROKEN section: keep the original text, set
- Tier: BROKEN (was WORKING|ESTABLISHED), add - Broke: <date>, <what disproved it>. Do not
silently delete a broken assumption, the point of this file is the paper trail.- Flagged: <date>, needs re-check because <reason> so it surfaces next time.End with a short summary: counts confirmed / broken / flagged. If nothing is stale, say that plainly instead of padding the output.
Render a mermaid flowchart showing how assumptions fed into decisions, most useful once the
ledger has real entries. Read every CG-id and any decisions/commits that reference one (grep the
repo for the CG-<id> tag in commit messages, code comments, or docs/decisions/). Build:
flowchart TD
CG1["CG-1: <short statement>\n(ESTABLISHED)"]
CG2["CG-2: <short statement>\n(OPEN)"]
D1["Decision: <short label>"]
CG1 --> D1
CG2 -.-> D1
D1 --> CG3["CG-3: <downstream assumption>\n(WORKING)"]
Conventions: solid arrow = the assumption directly supported the decision; dotted arrow = the decision merely leaned on an unverified (OPEN) assumption, flagging the exposure. Node label carries the current tier so the graph doubles as a risk map at a glance. Wrap this in a fenced mermaid block, don't try to also describe it in prose, the diagram is the deliverable. If fewer than two entries reference each other, say the graph would be trivial and show the flat list instead of forcing a diagram.
Confidence drifts silently. Something logged as a guess in week one gets treated as bedrock by
week six because everyone built on top of it and nobody re-asked the question. --list gives a
fast honesty check before a big decision ("what are we actually still guessing at here").
--check catches assumptions that quietly went stale, the number one source of "wait, since
when was that not true" bugs in long-running work. --graph shows which decisions are one broken
OPEN assumption away from unraveling, so risk is visible before it becomes a postmortem instead
of after. The ledger's value compounds: cheap the first time, load-bearing by month three.
Provenance: reimplementation of the assumption-tiering pattern from Jeffallan's
claude-skills common-ground command/skill, rebuilt from the concept description only
(tiered OPEN/WORKING/ESTABLISHED assumption ledger persisted per-project), not from reading or
copying that source. Structure, wording, modes, and templates here are original.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (mohamed-alaboudi/zulfiqar) — no native marketplace selected
npx claudepluginhub p/mohamed-alaboudi-zulfqar-of-coding20 skills in this plugin
/bookendApply the "bookend" transform to a prompt — keep its body, then restate the objective + top hard constraints + the explicit task at the very END, task LAST. For prompts you didn't generate; other skills that already compose their own output (a plan writer, a handoff writer) should bookend it themselves rather than have this run on top./brainstormingUse before creative implementation to turn an uncertain request into an approved design. Not for prompt writing, mechanical edits, or requirements already fixed by an accepted specification./delegating-workRoute substantial independent implementation, investigation, audit, or research work into bounded readers, workers, advisors, or verifiers and integrate centrally. Use when two or more independent slices reduce wall-clock time or isolate noisy context, or when consequential work needs a fresh verifier. Not for tiny tasks, tightly coupled serial work, overlapping edits, or when user or project instructions forbid delegation./doubt-driven-developmentSubjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production, security-sensitive logic, irreversible operations), or any time a confident output would be cheaper to verify now than to debug later./exaUse when the user says /exa, asks to set up/integrate/use Exa AI, exa.ai, Exa Search, the Exa API, the Exa MCP, exa-js, or exa-py; asks for an Exa starter project; or when a web-research task should preferentially use Exa search inside an AI coding agent./grill-with-docsA relentless requirements interview that sharpens a plan or design by attacking its weak points, and produces docs (decision records, a glossary) as it goes so the plan is grounded rather than assumed.