tml-hygiene
npx machina-cli add skill CobraChickenAI/tml-capture-kit/tml-hygiene --openclawTML Hygiene
Run this skill after a mapping session and before sharing outputs with stakeholders.
The goal is not to rewrite everything. The goal is to catch drift, contradictions, weak provenance, and vague recommendations while fixes are still cheap.
When To Use
- After
tml-capturecompletes - Before sending outputs to a manager, DPM, or external partner
- During repo review, acceptance testing, and pilot rollouts
Inputs
Provide:
- The Map
- The Inferences
- The Changelog
- The So What
- Optional Agent Brief
If any artifact is missing, flag it as a blocker.
Checks
1. Artifact Completeness
Confirm all required sections are present and non-empty.
- Source registry exists (Source 1, Source 2, ...).
- Map has: scope summary, what we do, who is involved, rules, connectors/bindings, provenance section.
- Inferences has: stated vs inferred breakdown and confidence.
- Changelog has: source references and status per major element.
- So What has: visibility gaps, friction points, coherence risks, quick wins, AI leverage points, single recommended starting point.
2. Cross-Artifact Consistency
Find contradictions between documents.
- Names match across artifacts for scope/domains/capabilities.
- Policies in map match policy references in inferences/changelog.
- So What findings point to elements that actually exist in the map.
- Agent Brief permissions match map policies and archetypes.
3. Provenance Quality
Check whether claims trace to a source.
- Every artifact references source ids from the registry.
- Every major map element has a source path in changelog.
- Inference claims distinguish stated vs inferred.
- Low-confidence items are explicit and reviewable.
- No unsupported “fact” appears without a source or inference label.
4. Actionability
Reject generic recommendations.
- Quick wins include a concrete action, estimated effort, and expected impact.
- AI leverage points define operating archetype, policies, read/write boundaries, and explicit cannot-do constraints.
- Recommended starting point is singular, specific, and feasible this week.
5. Language Hygiene
Ensure outputs are clear for non-technical stakeholders.
- Plain language, short sentences, minimal jargon.
- No vague filler (“optimize,” “enhance,” “leverage synergies”) without specifics.
- Uncertainty is explicit, not hidden.
Output
Return one hygiene report:
# Hygiene Report: [Scope Name]
## Status
- PASS | PASS WITH FIXES | BLOCKED
## Findings
1. [Severity: High/Med/Low] [Issue]
- Where: [artifact + section]
- Why it matters: [impact]
- Fix: [specific edit]
## Missing Inputs
- [any missing artifacts]
## Fast Fixes (Do Now)
1. [highest impact quick fix]
2. [next fix]
3. [next fix]
## Ready To Share
- Yes/No
- If no, what remains:
- [list]
Rules
- Be direct and concrete.
- Do not invent missing facts; request correction.
- Prioritize trust issues first (provenance, contradictions, permissions).
- Keep final recommendations implementation-ready.
v1.0 — quality gate for release readiness and stakeholder confidence.
Source
git clone https://github.com/CobraChickenAI/tml-capture-kit/blob/main/skills/tml-hygiene/SKILL.mdView on GitHub Overview
tml-hygiene provides a final quality-control pass on TML outputs after mapping. It reviews the Map, Inferences, Changelog, So What, and an optional Agent Brief to catch drift, contradictions, and weak provenance, improving actionability before stakeholder sharing.
How This Skill Works
Run this skill after a mapping session and before sharing. It checks artifact completeness, cross-artifact consistency, provenance quality, actionability, and language hygiene, then outputs a Hygiene Report and flags blockers when artifacts are missing or inconsistent.
When to Use It
- After tml-capture completes
- Before sending outputs to a manager, DPM, or external partner
- During repo review
- During acceptance testing
- During pilot rollouts
Quick Start
- Step 1: Run tml-hygiene after the mapping session and before sharing
- Step 2: Review the Hygiene Report for completeness, consistency, provenance, and actionability
- Step 3: Update artifacts based on findings and proceed to share when status is ready
Best Practices
- Confirm required sections exist in Map, Inferences, Changelog, So What, and Optional Agent Brief
- Validate name, scope, domains, and policy references across artifacts for consistency
- Ensure every claim references a source or is clearly labeled as stated vs inferred
- Require concrete, auditable quick wins with estimated effort and impact
- Use plain language; explicitly surface uncertainty and avoid vague terms
Example Use Cases
- Blocker flagged for missing Source registry in the Map, halting release until corrected
- Contradictions found between Map scope and So What findings; resolved with cross-linking sources
- Changelog lacks status per element; provenance restored by linking major elements to sources
- A recommended starting point provided as a single, feasible action with impact estimate
- Language refreshed to be clear to non-technical stakeholders; uncertainty explicitly stated