Introduce the reconcile-docs skill to audit, reconcile, and author canonical repository documentation (README, ARCHITECTURE, ROADMAP, docs/adr/) across three temporal epistemic sources: - Past (Brain/history records): historical evidence and decision rationale. - Present (repository code and working tree): canonical technical truth. - Future (active plans): planned direction and proposals. Features: - Step 1-7 workflow with a mandatory Step 5 Human Checkpoint. - Epistemic authority rules and conflict typology (reconciliation-matrix.md). - Target documentation responsibilities and skeletons (doc-contracts.md). - Structured Reconciliation Report template (checkpoint-format.md). - Registered in install.sh active portable skills and README index.
8.2 KiB
Skills
Modular, harness-agnostic skills for disciplined pair programming with coding agents.
A collection of lightweight, single-purpose skills focused on low context overhead (≤80 lines), minimal ceremony, and user-approved state transitions.
Designed to support critical systems thinking, active learning, disciplined engineering, and durable documentation across any compliant agent platform.
This collection was not designed for a Senior Software Engineer, but for learners, with the primary goal of maximizing long-term learning gains; the idea is to learn to think like a software engineer and architect, rather than simply producing code.
Why Build Instead of Borrow?
There are many great Skills bundles out there, written by and for experienced developers to orchestrate automated "software factories". Many existing agent workflows optimize for experienced developers who want to delegate as much implementation work as possible.
That is a reasonable goal, but it is not mine. As a learner, I need the workflow to preserve opportunities to reason, make decisions, debug, and build mental models.
Copying skills crafted for someone else's workflow imports their cognitive shortcuts, and assumptions. I believe that AI is useful for much more than only producing code.
These skills exist to enforce four core principles:
-
Defeating the Comprehension Illusion: Having an AI generate code is not the same as understanding how a system behaves. When code velocity outpaces comprehension, you end up with systems you cannot debug when production breaks. Skills like
practicemake the learner write the code and drive analysis, ensuring mental models develop alongside the codebase. -
Intentional Epistemic Friction ("Your call"): Great engineering requires deliberate checkpoints. Instead of letting agents make unilateral architectural choices, these skills pause at critical state transitions—requiring proven root causes before patching (
diagnose), approving reviewable atomic slices (git-commit), or identifying learning opportunities that should be preserved as durable knowledge (document). -
Operational Ownership: An agent should investigate, measure, and propose concrete options, but the human engineer must own the trade-offs, failure domains, and repository history. You cannot own what you did not decide.
-
Radical Simplicity over Prompt Bloat: Many third-party skills are brittle, multi-page prompts that consume context and hallucinate complex state machines. These skills adhere to strict line caps (≤80 lines for portable skills), the deletion test, and minimal ceremony.
The System Architecture
The system is under active testing and continuous improvement. Currently, the skills form an orchestrated pair-programming workflow. build-skill governs meta-level skill design.
Three core operational skills (practice, diagnose, git-commit) structure day-to-day engineering. document evaluates whether insights produced during work warrant durable preservation.
flowchart TD
SB["build-skill<br/>meta-level design"]
subgraph Core["Engineering Skills"]
PRAC["practice<br/>learn it: user writes the code"]
DIAG["diagnose<br/>find out: evidence-first RCA"]
GIT["git-commit<br/>package it: clean atomic history"]
end
DOC["document<br/>preserve it: 5 epistemic types"]
Storage["Vault / Repo Docs"]
SB --> Core
Core --> DOC
DOC --> Storage
Every skill features an explicit "Your call" checkpoint where the agent pauses and asks the human to make critical architectural, diagnostic, and commit decisions with 2-3 concrete options.
Active Skills
Portable Core (skills/)
| Skill | Trigger / Command | Purpose | Length |
|---|---|---|---|
practice |
/practice [topic] |
Socratic tutoring mode. The user writes all code and drives analysis. Uses graduated assistance and transfer challenges. | 47 lines |
diagnose |
/diagnose [symptom] |
Evidence-first troubleshooting. Progresses from raw logs to proven root cause and minimal, reversible fixes. | 49 lines |
git-commit |
/git-commit |
Working-tree inspection, atomic slice decomposition, and Conventional Commit drafting. Human approves every commit. | 54 lines |
document |
/document |
Second-order knowledge classifier (Discussion, ADR, Plan, Debug Record, Knowledge). User confirms type and provides core insight. | 49 lines |
journal-builder |
/journal-builder or /journal |
Retrospective inquiry from engineering history. Probes understanding and discovers learning edges. | 56 lines |
reconcile-docs |
/reconcile-docs [path] |
Reconciles historical evidence, present code reality, and future plans into canonical repo docs (README, ARCHITECTURE, ADR, ROADMAP). | 37 lines |
build-skill |
/build-skill [topic] |
Interactive design, sizing, authoring, and empirical dogfooding of agent skills. Enforces design review gate before file creation. | 48 lines |
Vault Extensions (extensions/)
| Skill | Status | Purpose |
|---|---|---|
draft-curation |
Active | Triages, classifies, and commits incoming notes from an inbox/staging directory into structured lifecycle directories. |
commit-logger |
Active | Immutable Git commit event capture script into a machine-readable CSV ledger (consumed by journal-builder). |
Skill Interaction Matrix
| From \ To | Practice | Diagnose | Git Commit | Document | Build Skill |
|---|---|---|---|---|---|
| Practice | — | yields for production incidents | learner types the commit | optional handoff on key insights | — |
| Diagnose | yields if user wants to find cause | — | hands off to package verified fix | hands off if RCA reveals non-obvious lesson | — |
| Git Commit | learner-controlled | packages remediation result | — | delegates if commit warrants deeper doc | — |
| Document | consumes practice milestones | consumes RCA findings | packages docs if committed | — | — |
| Build Skill | — | — | delegates all commits | delegates all documentation | applies deletion test to itself |
Canonical Flows
- Investigation to History:
diagnose(verify root cause) ->git-commit(atomic slice approval) ->document(optional Debug Record / ADR). - Deliberate Practice to Knowledge:
practice(solve transfer challenge) ->document(author durable knowledge article). - Skill Design Loop:
build-skill(approve spec) -> dogfood run -> minimal mechanism refinement.
Installation & Portability
The repository includes an idempotent install script (install.sh) supporting both symlink and copy modes:
# Default install to ~/.gemini/config/skills (symlink mode)
./install.sh
# Verify installation health and detect missing skills
./install.sh check
# Install to custom harness path in copy mode
./install.sh --mode copy --target ~/.custom-agent/skills
When run:
- Portable skills and active extensions are linked/copied to the target directory.
- Deprecated or superseded skills are safely relocated to a dated backup directory (
skills.backup-<date>). - The global profile
profile/AGENTS.mdis installed as the user's base agent instruction.
Governing Design Rules
- One authoritative owner per rule. If a rule belongs in
AGENTS.md, do not restate it in every skill. - The deletion test. If deleting an instruction does not change agent behavior in a meaningful way, delete it.
- Plain words over jargon. Prefer "decision" over "epistemic commitment", "steps" over "state machine".
- 80 lines maximum for
SKILL.md. Deep templates and authoring specs live inreferences/. - Human ownership of critical decisions. The AI investigates, drafts, and proposes; the human approves the architecture, commits, and destinations.
License
Released into the public domain under the Unlicense.