ground-check
Skill36 starsChanged 2 months agoApache-2.0View on GitHub
Check if codebase supports a planned task — what's ready, what's close, what's missing
In this repository52 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- agent-browserSkill
- arch-specSkill
- code-qualitySkill
- code-reviewSkill
- commitSkill
- coord-delegateSkill
- coord-handoffSkill
- coord-orchestrateSkill
- coord-requestSkill
- coord-reviewSkill
- coord-runSkill
- coord-syncSkill
- dispatchSkill
- edda-releaseSkill
- fleet-epic-splitSkill
- fleet-managerSkill
- fleet-orchestrateSkill
- fleet-pr-loopSkill
- fleet-reviewSkill
- fleet-triadSkill
- fleet-workerSkill
- health-checkSkill
- intel-scanSkill
- issue-actionSkill
- issue-compactSkill
- issue-createSkill
- issue-intakeSkill
- issue-pipelineSkill
- issue-planSkill
- issue-scanSkill
- parallel-waveSkill
- path-forwardSkill
- plan-decomposeSkill
- plan-validateSkill
- pr-checkSkill
- project-planSkill
- Project PrinciplesSkill
- pr-review-loopSkill
- pr-reviewSkill
- pull-requestSkill
- regression-guardSkill
- skill-aliasSkill
- skill-craftSkill
- skill-testSkill
- spec-review-modesSkill
- tech-debtSkill
- testingSkill
- tracking-issueSkill
- verifiable-goal-loopSkill
- fleet-orchestrateSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 9 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Before starting any task, verify what the codebase actually supports today.
- Distinctive: line 59
Read the task definition. Extract:
- Very specific: line 67
If the task references a track subtask (e.g., B2), read the corresponding doc: docs/plan/TRACK_<letter>_<name>/<subtask>.md
- Very specific: line 80
If the task is a description, infer requirements from the description and cross-reference with docs/plan/00_OVERVIEW.md and crate structure.
- Very specific: line 157
Check the dependency graph from docs/plan/TRACKS.md:
- Distinctive: line 225
New feature: Check if the types, file layouts, and crate APIs needed already exist
- Distinctive: line 226
Refactoring: Check what depends on the code being refactored (blast radius)
- Distinctive: line 227
Bug fix: Check if tests exist for the affected code path
- Distinctive: line 228
Integration: Check if both sides of the integration are implemented
- Very specific: line 234
Does NOT suggest what to build (that's /path-forward)
- Distinctive: line 235
Does NOT create issues or PRs
- Distinctive: line 236
Does NOT modify code
- Distinctive: line 237
Does NOT evaluate design quality — only infrastructure readiness
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ground Check
Before starting any task, verify what the codebase actually supports today. This skill bridges the gap between plans and executable reality.
Usage
ground-check <task>Where <task> is any of:
- A track subtask:
A2orTrack A, Ledger Store - A task description:
"implement hook entrypoint dispatch" - A design doc path:
docs/plan/TRACK_H_AGENT_BRIDGE/H1_STORE_AND_HOOKS.md - An issue number:
#15 - A feature idea:
"add transcript cursor-based delta ingest"
What This Skill Does
- Reads the task — understands what needs to be built
- Scans actual code — checks what exists today in the codebase
- Reports readiness — concrete findings, not theoretical analysis
- Identifies the gap — when something isn't ready, names the specific missing piece
Output Categories
Ready (can start now)
Infrastructure exists. You can start coding this today.
- Required types/structs are defined
- Required crate APIs are implemented (not stubs)
- Required file store layout exists
- Dependencies compile
- Prerequisite work is done
Almost (one piece away)
80%+ foundation exists, but one specific thing is missing.
- Report EXACTLY what's missing (file, function, type, crate)
- Estimate effort to fill the gap (trivial / small / medium)
- Suggest: fill the gap first, or work around it?
Not Ready (foundation missing)
Prerequisite work hasn't been done yet.
- Identify which prerequisite needs to be done first
- Trace the dependency chain back to something that IS ready
- Report the shortest path from "ready" to "this task"
Scan Procedure
Step 1: Parse the Task
Read the task definition. Extract:
- Required types: What structs, enums, traits does this need?
- Required crates: Which crates does this depend on?
- Required crate APIs: What functions/methods must be callable?
- Required file layouts: What
.edda/or~/.edda/structures must exist? - Required CONTRACT rules: What architecture constraints apply?
- Required prior work: What must be built first?
If the task references a track subtask (e.g., B2), read the corresponding doc:
docs/plan/TRACK_<letter>_<name>/<subtask>.md
Track directory mapping:
docs/plan/TRACK_A_LEDGER/— A1, A2, A3docs/plan/TRACK_B_COMMIT_VIEWS/— B1, B2, B3docs/plan/TRACK_C_BRANCH_MERGE/— C1, C2docs/plan/TRACK_D_AUTO_EVIDENCE/— D1docs/plan/TRACK_E_DRAFT_SYSTEM/— E1, E2docs/plan/TRACK_F_POLICY_GATE/— F1docs/plan/TRACK_G_APPROVAL_ROUTING/— G1, G2docs/plan/TRACK_H_AGENT_BRIDGE/— H1, H2, H3, H4
If the task is a description, infer requirements from the description and cross-reference with docs/plan/00_OVERVIEW.md and crate structure.
Step 2: Check Each Requirement Against Code
For each requirement, verify in the actual codebase:
Types & Traits
# Does the type exist?
grep -rn "pub struct <TypeName>" crates/
grep -rn "pub enum <TypeName>" crates/
grep -rn "pub trait <TraitName>" crates/
# Is it a stub or real implementation?
# Look for todo!(), unimplemented!(), or empty bodiesCrate Existence
# Does the crate exist in workspace?
ls crates/<crate-name>/src/lib.rs
# Is it listed in workspace Cargo.toml?
grep "<crate-name>" Cargo.tomlCrate APIs
# Does the crate export what we need?
grep -rn "pub fn\|pub async fn" crates/<crate>/src/
# Is it implemented or stubbed?
grep -rn "todo!\|unimplemented!" crates/<crate>/src/
# Does it compile?
cargo check -p <crate> 2>&1File Store Layout
# Per-repo store (.edda/) — does init create the expected structure?
grep -rn "create_dir_all\|ensure_dirs" crates/edda-ledger/src/
grep -rn "create_dir_all\|ensure_dirs" crates/edda-store/src/
# Per-user store (~/.edda/) — does the store layout exist?
grep -rn "store_root\|project_dir" crates/edda-store/src/Event Builders
# Does the event builder exist?
grep -rn "pub fn new_<type>_event" crates/edda-core/src/event.rs
# Does the event type appear in the registry?
grep -rn "\"<event_type>\"" crates/edda-core/src/CONTRACT Rule Compliance
# Check specific CONTRACT rules relevant to this task
# See docs/plan/CONTRACT.md for full rule table
# HASH-01: hash chain
grep -rn "parent_hash\|compute_event_hash" crates/edda-core/src/
# LEDGER-02: append-only
grep -rn "append(true)\|OpenOptions" crates/edda-ledger/src/
# LOCK-01: exclusive lock
grep -rn "LOCK\|lock_file\|WorkspaceLock" crates/edda-ledger/src/
# VIEW-01: deterministic rebuild
grep -rn "rebuild_branch\|rebuild_all" crates/edda-derive/src/Step 3: Cross-Reference Dependencies
Check the dependency graph from docs/plan/TRACKS.md:
A → B → C → D → E → F → (G, H parallel)For each prerequisite:
- Source files exist AND have non-stub implementations
- Tests exist AND pass (or at minimum, code compiles)
- No
todo!()orunimplemented!()in the paths this task will call
Step 4: Compile & Test
# Does the project compile?
cargo check 2>&1
# Do tests pass for relevant crates?
cargo test -p <relevant-crate> 2>&1
# Clippy clean? (RUST-01)
cargo clippy -p <relevant-crate> -- -D warnings 2>&1Step 5: Report
Generate the report:
## Ground Check: <task name>
### Prerequisites
| Requirement | Status | Detail |
|------------|--------|--------|
| edda-core Event struct | Ready | Event, Refs, EventId defined in types.rs |
| edda-ledger append | Ready | Ledger::append() in ledger.rs |
| edda-derive rebuild | Almost | rebuild_branch() exists, render_context() missing |
| edda-store project_id | Not Ready | edda-store crate doesn't exist yet |
### CONTRACT Rules
| Rule | Applies | Status |
|------|---------|--------|
| HASH-01 (hash chain) | Yes | Ready — compute_event_hash() implemented |
| LOCK-01 (workspace lock) | Yes | Ready — WorkspaceLock in lock.rs |
| DRAFT-01 (draft not in ledger) | No | N/A for this task |
### Verdict
**Almost ready** — 1 blocker: render_context() not implemented.
### Recommended Action
1. Implement render_context() in edda-derive first → then this task is fully ready
2. OR: start with parts that don't need context output
### Buildable Sub-Pieces
Even without the blocker, these parts are buildable now:
- Event builder for new event type
- CLI subcommand skeleton
- File store layout changesOngoing Development Mode
For tasks beyond initial track work (new features, refactoring, bug fixes):
- New feature: Check if the types, file layouts, and crate APIs needed already exist
- Refactoring: Check what depends on the code being refactored (blast radius)
- Bug fix: Check if tests exist for the affected code path
- Integration: Check if both sides of the integration are implemented
The scan procedure is the same — always check actual code, not just docs.
What This Skill Does NOT Do
- Does NOT suggest what to build (that's
/path-forward) - Does NOT create issues or PRs
- Does NOT modify code
- Does NOT evaluate design quality — only infrastructure readiness
References
- Track definitions:
docs/plan/TRACK_*/ - Overview + dependency graph:
docs/plan/00_OVERVIEW.md - Track breakdown + DAG:
docs/plan/TRACKS.md - Architecture constraints:
docs/plan/CONTRACT.md - Validation plan:
docs/plan/VALIDATION.md - Detailed specs (archive):
docs/plan/archive/plan*.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

