/COMMAND
Surface and validate Claude's hidden assumptions about the project for user confirmation
$ npx -y skills add Jeffallan/claude-skills --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/COMMAND
Context preview
What this command does when you run it.
Surface and validate Claude's hidden assumptions about the project for user confirmation
Command definition
COMMAND.mdname: common-ground
description: Surface and validate Claude's hidden assumptions about the project for user confirmation
argument-hint: "[--list] [--check] [--graph]"
Common Ground
**Arguments:** $ARGUMENTS
---
Purpose
Claude often operates on assumptions about project context, technology choices, coding standards, and user preferences. This command surfaces those assumptions for explicit user validation, preventing misaligned work based on incorrect premises.
---
Argument Parsing
Parse arguments to determine mode:
| Flag | Mode | Description | |------|------|-------------| | (none) | Default | Surface & Adjust two-phase interactive flow | | `--list` | List | Read-only view of all tracked assumptions | | `--check` | Check | Quick validation of current assumptions | | `--graph` | Graph | Generate mermaid diagram of reasoning structure |
---
Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When | |-------|-----------|-----------| | Assumption Types & Tiers | `references/assumption-classification.md` | Classifying assumptions, determining type or tier | | File Management | `references/file-management.md` | Storage operations, project ID, ground file format | | Reasoning Graph | `references/reasoning-graph.md` | Using --graph flag, generating mermaid diagrams |
---
Project Identification
Before any operation, determine the project identity:
1. **Try git remote:**
git remote get-url origin 2>/dev/null
If found, use the URL as project identifier (e.g., `github.com/user/repo`)
2. **Fallback to path:** Use the current working directory absolute path
Store this as `{project_id}` for file operations.
---
Default Mode: Surface & Adjust
When no flags provided, execute the two-phase interactive flow.
Phase 1: Surface & Select
1. **Analyze current context** to identify assumptions:
- Scan configuration files (tsconfig.json, package.json, .eslintrc, etc.)
- Review recent conversation context
- Check existing ground file for tracked assumptions
2. **Classify each assumption** by type and proposed tier:
- See `references/assumption-classification.md` for classification rules
3. **Present to user via AskUserQuestion:**
Present assumptions grouped by category. Use multiSelect to let user choose which to track.
**Question format:**
I've identified assumptions about this project. Which should I track?
**Options** (up to 4 categories, user selects via multiSelect):
- Architecture & Tech Stack assumptions
- Coding Standards assumptions
- Testing & Quality assumptions
- Other/Uncertain items
User can select multiple categories or use "Other" to specify individual items.
4. **Handle uncertain items:** For any `[uncertain]` assumptions, ask direct clarifying questions.
Phase 2: Adjust Tiers
1. **Show selected assumptions** with proposed tiers
2. **Present tier adjustment options via AskUserQuestion:**
**Question format:**
Review the confidence tiers. Any adjustments needed?
**Options:**
- Accept all proposed tiers
- Promote some to higher confidence
- Demote some to lower confidence
- Add new assumptions
3. **Process adjustments:**
- Promotions: OPEN -> WORKING -> ESTABLISHED
- Demotions: ESTABLISHED -> WORKING -> OPEN
- New additions: User specifies via "Other" with format: `assumption text [tier] [type]`
4. **Write ground file:**
- Save to `~/.claude/common-ground/{project_id}/COMMON-GROUND.md`
- Update `ground.index.json` for machine-readable access
- See `references/file-management.md` for file formats
Output
## Common Ground Complete
**Project:** {project_name}
**Tracked Assumptions:** {count}
### Summary
- ESTABLISHED: {count} (high confidence)
- WORKING: {count} (medium confidence)
- OPEN: {count} (needs validation)
**Ground file saved to:** ~/.claude/common-ground/{project_id}/COMMON-GROUND.md
Run `/common-ground --list` to view all assumptions.
Run `/common-ground --check` for quick validation.---
--list Mode
Read-only display of all tracked assumptions.
1. **Load ground file** from `~/.claude/common-ground/{project_id}/COMMON-GROUND.md`
2. **Display assumptions** grouped by tier:
## Common Ground: All Assumptions
**Project:** {project_name}
**Last Updated:** {timestamp}
### ESTABLISHED ({count})
1. {title} - {assumption} [{type}]
2. ...
### WORKING ({count})
1. {title} - {assumption} [{type}]
2. ...
### OPEN ({count})
1. {title} - {assumption} [{type}]
2. ...
---
(Read-only view. Run `/common-ground` to modify.)3. **Handle missing file:** If no ground file exists:
No ground file found for this project.
Run `/common-ground` to surface and track assumptions.
---
--check Mode
Quick validation of existing assumptions.
1. **Load ground file** from `~/.claude/common-ground/{project_id}/COMMON-GROUND.md`
2. **Present summary via AskUserQuestion:**
**Question format:**
Quick check: Are these assumptions still valid?
**Options:**
- All still valid
- Some need updates
- Need full review
3. **Handle responses:**
- **All valid:** Update `last_validated` timestamp, confirm
- **Some need updates:** Ask which ones, then enter Phase 2 of default flow
- **Need full review:** Run full default flow
4. **Handle missing file:** If no ground file exists, redirect to default flow:
No existing assumptions to check. Starting fresh...
Then execute default mode.
---
--graph Mode
Generate a mermaid diagram showing Claude's reasoning structure—not just assumptions, but the decision tree that led to the current approach.
Purpose
Make the shape of Claude's reasoning visible:
- Decision points and branches considered
- Paths taken vs alternatives
- Where uncertainty lives in the reasoning chain
Flow
1. **Run standard common-ground flow** (
Read more
name: common-ground description: Surface and validate Claude's hidden assumptions about the project for user confirmation argument-hint: "[--list] [--check] [--graph]"
Common Ground
**Arguments:** $ARGUMENTS
---
Purpose
Claude often operates on assumptions about project context, technology choices, coding standards, and user preferences. This command surfaces those assumptions for explicit user validation, preventing misaligned work based on incorrect premises.
---
Argument Parsing
Parse arguments to determine mode:
| Flag | Mode | Description | |------|------|-------------| | (none) | Default | Surface & Adjust two-phase interactive flow | | `--list` | List | Read-only view of all tracked assumptions | | `--check` | Check | Quick validation of current assumptions | | `--graph` | Graph | Generate mermaid diagram of reasoning structure |
---
Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When | |-------|-----------|-----------| | Assumption Types & Tiers | `references/assumption-classification.md` | Classifying assumptions, determining type or tier | | File Management | `references/file-management.md` | Storage operations, project ID, ground file format | | Reasoning Graph | `references/reasoning-graph.md` | Using --graph flag, generating mermaid diagrams |
---
Project Identification
Before any operation, determine the project identity:
1. **Try git remote:**
git remote get-url origin 2>/dev/null
If found, use the URL as project identifier (e.g., `github.com/user/repo`)
2. **Fallback to path:** Use the current working directory absolute path
Store this as `{project_id}` for file operations.
---
Default Mode: Surface & Adjust
When no flags provided, execute the two-phase interactive flow.
Phase 1: Surface & Select
1. **Analyze current context** to identify assumptions:
- Scan configuration files (tsconfig.json, package.json, .eslintrc, etc.)
- Review recent conversation context
- Check existing ground file for tracked assumptions
2. **Classify each assumption** by type and proposed tier:
- See `references/assumption-classification.md` for classification rules
3. **Present to user via AskUserQuestion:**
Present assumptions grouped by category. Use multiSelect to let user choose which to track.
**Question format:**
I've identified assumptions about this project. Which should I track?
**Options** (up to 4 categories, user selects via multiSelect):
- Architecture & Tech Stack assumptions
- Coding Standards assumptions
- Testing & Quality assumptions
- Other/Uncertain items
User can select multiple categories or use "Other" to specify individual items.
4. **Handle uncertain items:** For any `[uncertain]` assumptions, ask direct clarifying questions.
Phase 2: Adjust Tiers
1. **Show selected assumptions** with proposed tiers
2. **Present tier adjustment options via AskUserQuestion:**
**Question format:**
Review the confidence tiers. Any adjustments needed?
**Options:**
- Accept all proposed tiers
- Promote some to higher confidence
- Demote some to lower confidence
- Add new assumptions
3. **Process adjustments:**
- Promotions: OPEN -> WORKING -> ESTABLISHED
- Demotions: ESTABLISHED -> WORKING -> OPEN
- New additions: User specifies via "Other" with format: `assumption text [tier] [type]`
4. **Write ground file:**
- Save to `~/.claude/common-ground/{project_id}/COMMON-GROUND.md`
- Update `ground.index.json` for machine-readable access
- See `references/file-management.md` for file formats
Output
## Common Ground Complete
**Project:** {project_name}
**Tracked Assumptions:** {count}
### Summary
- ESTABLISHED: {count} (high confidence)
- WORKING: {count} (medium confidence)
- OPEN: {count} (needs validation)
**Ground file saved to:** ~/.claude/common-ground/{project_id}/COMMON-GROUND.md
Run `/common-ground --list` to view all assumptions.
Run `/common-ground --check` for quick validation.---
--list Mode
Read-only display of all tracked assumptions.
1. **Load ground file** from `~/.claude/common-ground/{project_id}/COMMON-GROUND.md`
2. **Display assumptions** grouped by tier:
## Common Ground: All Assumptions
**Project:** {project_name}
**Last Updated:** {timestamp}
### ESTABLISHED ({count})
1. {title} - {assumption} [{type}]
2. ...
### WORKING ({count})
1. {title} - {assumption} [{type}]
2. ...
### OPEN ({count})
1. {title} - {assumption} [{type}]
2. ...
---
(Read-only view. Run `/common-ground` to modify.)3. **Handle missing file:** If no ground file exists:
No ground file found for this project. Run `/common-ground` to surface and track assumptions.
---
--check Mode
Quick validation of existing assumptions.
1. **Load ground file** from `~/.claude/common-ground/{project_id}/COMMON-GROUND.md`
2. **Present summary via AskUserQuestion:**
**Question format:**
Quick check: Are these assumptions still valid?
**Options:**
- All still valid
- Some need updates
- Need full review
3. **Handle responses:**
- **All valid:** Update `last_validated` timestamp, confirm
- **Some need updates:** Ask which ones, then enter Phase 2 of default flow
- **Need full review:** Run full default flow
4. **Handle missing file:** If no ground file exists, redirect to default flow:
No existing assumptions to check. Starting fresh...
Then execute default mode.
---
--graph Mode
Generate a mermaid diagram showing Claude's reasoning structure—not just assumptions, but the decision tree that led to the current approach.
Purpose
Make the shape of Claude's reasoning visible:
- Decision points and branches considered
- Paths taken vs alternatives
- Where uncertainty lives in the reasoning chain
Flow
1. **Run standard common-ground flow** (
66 Specialized Skills for Full-Stack Developers. Transform Claude Code into your expert pair programmer.
Repo: Jeffallan/claude-skills
Other commands on fullstack-dev-skills.
- /assumption-classification
Reference for: Common Ground Load when: Classifying assumptions, determining type or tier
Open command - /file-management
Reference for: Common Ground Load when: Storage operations, project identification, file format
Open command - /reasoning-graph
Reference for: Common Ground Load when: Using --graph flag, generating mermaid diagrams
Open command - /approve-synthesis
Approve synthesis findings and create implementation tickets from discovery
Open command - /create-epic-discovery
Create a discovery document for research/customer discovery epics
Open command - /synthesize-discovery
Synthesize discovery findings into a consolidated analysis document with proposed tickets
Open command

