discover-substrate
CommunityMap codebase substrate, surface missing rules pre-change.
System Documentation
What problem does it solve?
When preparing to modify a codebase, teams often lack a clear inventory of existing specifications, named invariants, gotchas, semantic linters, and enforcement mechanisms, leading to broken behavior, duplicated work, and lost institutional knowledge. This skill eliminates that guesswork by systematically surfacing what substrate already exists and what is missing for the exact change surface you are about to touch.
Core Features & Use Cases
- Structured Substrate Inventory: Runs a bounded scan to categorize all existing normative docs, behavior matrices, invariants, gotchas, tests, CI checks, and custom linters for your target change surface.
- Concrete Gap Identification: Surfaces missing memory with file:line evidence, so you can address critical gaps before writing code rather than fixing regressions after.
- Cross-Skill Integration: Serves as the mandatory first step for internal Cohesive workflows including brainstorm-design, audit-substrate, review-codebase, and review-diff, or can be invoked directly for a standalone substrate inventory.
- Use Case Example: Before rewriting the payment processing spec, run this skill to confirm all existing invariants around transaction idempotency and audit logging are captured, and flag any missing test coverage for edge cases.
Quick Start
Use the discover-substrate skill to inventory all existing specs, invariants, and gotchas for the payment processing subsystem before planning a refactor.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: discover-substrate Download link: https://github.com/marktoda/cohesive/archive/main.zip#discover-substrate Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.