ground-first
kaiohenricunha/dotbabel/skills/ground-first/SKILL.md
Produce a code-grounded analysis before any edit is proposed. Triggers on: "analyze", "understand behavior", "how does this work".
Skill0 starsChanged 9 days ago
What's in it
- Steps
- Rules
Tools it asks for
- Read
- Grep
- Glob
- Bash
--- id: ground-first name: ground-first type: skill version: 1.0.0 domain: [devex] platform: [none] task: [debugging, review] maturity: validated owner: "@kaiohenricunha" created: 2025-01-01 updated: 2026-04-17 description: > Produce a code-grounded analysis before any edit is proposed. Triggers on: "analyze", "understand behavior", "how does this work". argument-hint: "[subject]" tools: Read, Grep, Glob, Bash allowed-tools: Read Grep Glob Bash model: opus --- Produce a code-grounded analysis of a subject before any edits are proposed. Trigger: when the user asks for a fix, change, or investigation on non-trivial code and has not yet confirmed you understand current behavior. Also triggered directly via `/ground-first`. Arguments: `$ARGUMENTS` — a description of what to analyze (e.g. "auth token refresh race condition", "why ingest job retries forever", "issue #140"). ## Steps 1. **Parse the subject** from `$ARGUMENTS`. If empty or vague, infer from recent conversation. If still unclear, ask the user what they want analyzed. 2. **Locate the relevant code.** Use these tools, in this order: - `Glob` to find candidate files by name pattern - `Grep` to find candidate files by symbol/string - `Read` every candidate file that survives the first two steps. Read the actual file — do not infer from its name. 3. **Produce the analysis** in this format: ```markdown ## Subject <one-line restatement of the subject> ## Current behavior - <claim>. `path/to/file.go:42` - <claim>. `path/to/other.ts:120–140` ## Relevant entry points - `path/to/handler.go:15` — `HandleIngest()` - `path/to/config.yaml:8` — `retries: 3` ## What I do not yet know - <specific unknown, e.g. "whether the retry limit is overridden at runtime"> - <specific unknown> ## Proposed next steps (not yet actioned) 1. <step> 2. <step> ``` 4. **STOP.** Do not call `Edit`, `Write`, or any other mutation tool. Wait for the user to confirm the analysis matches reality or to correct it. ## Rules - Every claim must cite a `file:line` or `file:line–line` reference from a file you actually read in this session. - If you cannot find a file that supports a claim, list the claim under "What I do not yet know" instead of asserting it. - Do not propose edits. Do not run tests. Do not make changes. This command is read-only by design. - Keep the analysis under ~30 lines. Cite more, narrate less. - If the subject turns out to be trivial (e.g., a typo fix), say so and hand control back — don't pad.
More agent context in kaiohenricunha/dotbabel
48 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Copilot instructions
Skill
- changelog.agents/skills/changelog/SKILL.md
- dependabot-sweep.agents/skills/dependabot-sweep/SKILL.md
- markdown.agents/skills/markdown/SKILL.md
- merge-pr.agents/skills/merge-pr/SKILL.md
- pre-pr.agents/skills/pre-pr/SKILL.md
- pr-tldr.agents/skills/pr-tldr/SKILL.md
- tldr.agents/skills/tldr/SKILL.md
- agents-searchskills/agents-search/SKILL.md
- audit-and-fixskills/audit-and-fix/SKILL.md
- aws-specialistskills/aws-specialist/SKILL.md
- azure-specialistskills/azure-specialist/SKILL.md
- code-simplifierskills/code-simplifier/SKILL.md
- create-assessmentskills/create-assessment/SKILL.md
- create-auditskills/create-audit/SKILL.md
- create-experimentskills/create-experiment/SKILL.md
- create-inspectionskills/create-inspection/SKILL.md
- crossplane-specialistskills/crossplane-specialist/SKILL.md
- deploy-statusskills/deploy-status/SKILL.md
- detect-flakyskills/detect-flaky/SKILL.md
- fix-with-evidenceskills/fix-with-evidence/SKILL.md
- flyctlskills/flyctl/SKILL.md
- gcp-specialistskills/gcp-specialist/SKILL.md
- gitskills/git/SKILL.md
- handoffskills/handoff/SKILL.md
- kubernetes-specialistskills/kubernetes-specialist/SKILL.md
- local-attestskills/local-attest/SKILL.md
- plan-graderskills/plan-grader/SKILL.md
- post-pr-reviewskills/post-pr-review/SKILL.md
- pr-conductorskills/pr-conductor/SKILL.md
- project-syncskills/project-sync/SKILL.md
- pulumi-specialistskills/pulumi-specialist/SKILL.md
- quality-reviewskills/quality-review/SKILL.md
- release-conductorskills/release-conductor/SKILL.md
- reproduce-bugskills/reproduce-bug/SKILL.md
- review-prskills/review-pr/SKILL.md
- review-prsskills/review-prs/SKILL.md
- rollback-prodskills/rollback-prod/SKILL.md
- security-auditskills/security-audit/SKILL.md
- security-reviewskills/security-review/SKILL.md
- smoke-testskills/smoke-test/SKILL.md
- specskills/spec/SKILL.md
- terraform-specialistskills/terraform-specialist/SKILL.md
- terragrunt-specialistskills/terragrunt-specialist/SKILL.md
- validate-specskills/validate-spec/SKILL.md
- veracity-auditskills/veracity-audit/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

