hydrate-extract
Skill2 starsChanged 15 days agoMITView on GitHub
Pull findings from a single source location. Each finding is one sentence about a fact, decision, convention, or contract, plus a pointer back to source. Deterministic for structured sources, AI semantic for prose.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- template/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- hydrate-discoverSkill
- hydrate-draftSkill
- hydrate-proposeSkill
- hydrate-reconcileSkill
- initSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
When this skill is activated:
- Very specific: line 22
Write scope_reason: one line naming what triggered org (the second repo or the outside team), or single repo, team-owned for repo
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
hydrate-extract
Input: one source location from hydrate-discover output.
When this skill is activated:
- Determine extraction mode:
- Deterministic: manifests (parse JSON/TOML), file structure (walk dirs), config files, conventional-commit prefixes
- AI semantic: README prose, ADR bodies, PR descriptions
- For each detected fact:
- Identify the target file in working memory (see
hydrate-draftmapping table).scope: orgfindings get no working-memory target. - Pull a one-sentence statement
- Tag
scope: a finding isscope: orgexactly when it names more than one repo or a governing team outside this repo's. Everything else isscope: repo. A repo named twice under two names is still one repo, and this repo's own team governing it doesn't count as outside. A service the finding only mentions as something called (a call target or dependency) doesn't count as naming it; it counts when the fact also holds in, or is owned by, that other repo or service. - Write
scope_reason: one line naming what triggeredorg(the second repo or the outside team), orsingle repo, team-ownedforrepo - Note source provenance: file path, commit hash, line range
- Identify the target file in working memory (see
- Output one finding per fact as a small structured record.
Output shape
findings:
- source: package.json
target: projectOverview.md (Stack section)
statement: 'Stack is React 18, TypeScript 5, Tailwind 3, vitest.'
confidence: high
scope: repo
scope_reason: single repo, team-owned
- source: src/api/types.ts
target: dataContracts.md
statement: 'User and Account interfaces define the canonical API response shapes.'
confidence: high
scope: repo
scope_reason: single repo, team-owned
- source: git log
target: decisionLog.md
statement: 'Migrated from Redux to Zustand on 2026-03-12 (commit a4f8e21).'
confidence: medium
scope: repo
scope_reason: single repo, team-owned
- source: docs/adr/0007-shared-auth.md
target: none (org memory)
statement: "Orders, billing, and checkout services all authenticate through the platform team's gateway."
confidence: high
scope: org
scope_reason: names three services and the platform teamCommon gotchas
- Inferring conventions from a single example. A pattern is a convention only when it shows up in multiple places.
- Treating outdated comments as current truth. Cross-check what comments claim against what the code actually does.
- Pulling debugging breadcrumbs into findings. "We had a flaky test on Tuesday" is session noise, not working memory.
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.

