diff --git a/.gitignore b/.gitignore index e69de29..dd33554 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +.obsidian diff --git a/AGENTS.md b/AGENTS.md index fc9e7e4..6667090 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,5 +6,6 @@ Source of truth for my agent skills. Installed into agent tools by `install.sh`. - Direct commits to `main` are allowed (solo repo). - Edit skills **here**, never in an installed location (`~/.gemini/config/skills/…`). - Every `skills/*/SKILL.md` follows `skills/build-skill/references/skeleton.md` and stays ≤ 80 lines. +- Portable skills must not encode a user's filesystem topology (no home paths, no hardcoded vault directories). - No absolute home paths (`/home/`) and no secrets; this repo is public. - Commit types: Conventional Commits; scope = skill name (e.g. `refactor(git-commit): …`). diff --git a/README.md b/README.md index 976391c..7b29a7d 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,40 @@ -# skills +# Skills **Modular, harness-agnostic skills for disciplined pair programming with coding agents.** -A collection of lightweight, single-purpose skills focused on low context overhead (≤50 lines), zero ceremony, and human-approved state transitions. Designed to enforce clean git history, scientific diagnosis, Socratic practice, and durable documentation across any compliant agent platform. +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: + +1. **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 `practice` make the learner write the code and drive analysis, ensuring mental models develop alongside the codebase. + +2. **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`). + +3. **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. + +4. **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 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. +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. ```mermaid flowchart TD @@ -42,12 +68,12 @@ Every skill features an explicit **"Your call"** checkpoint where the agent paus | **[`document`](skills/document/SKILL.md)** | `/document` | Second-order knowledge classifier (Discussion, ADR, Plan, Debug Record, Knowledge). User confirms type and provides core insight. | 49 lines | | **[`build-skill`](skills/build-skill/SKILL.md)** | `/build-skill [topic]` | Interactive design, sizing, authoring, and empirical dogfooding of agent skills. Enforces design review gate before file creation. | 48 lines | -### Brain Extensions (`brain/`) +### Vault Extensions (`extensions/`) | Skill | Status | Purpose | | :--- | :--- | :--- | -| **[`inbox-curation`](brain/inbox-curation/SKILL.md)** | Active | Triages, classifies, and commits incoming notes from Brain's `00-inbox/` into lifecycle directories. | -| **[`commit-logger`](brain/commit-logger/SKILL.md)** | Standby | Immutable Git commit event capture script into Brain ledger (planned consumer of future `journal-builder`). | +| **[`draft-curation`](extensions/draft-curation/SKILL.md)** | Active | Triages, classifies, and commits incoming notes from an inbox/staging directory into structured lifecycle directories. | +| **[`commit-logger`](extensions/commit-logger/SKILL.md)** | Standby | Immutable Git commit event capture script into a machine-readable CSV ledger (planned consumer of future `journal-builder`). | --- @@ -105,4 +131,4 @@ When run: ## License -Released into the public domain under the [Unlicense](LICENSE). +Released into the public domain under the [Unlicense](UNLICENSE.md). diff --git a/UNLICENSE.md b/UNLICENSE.md new file mode 100644 index 0000000..fdddb29 --- /dev/null +++ b/UNLICENSE.md @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to diff --git a/profile/AGENTS.md b/profile/AGENTS.md index a91539f..51fab4b 100644 --- a/profile/AGENTS.md +++ b/profile/AGENTS.md @@ -17,7 +17,6 @@ Use the ask-question tool if available; otherwise a numbered list. - Never run destructive git (`reset --hard`, `restore `, `clean -fd`, force-push) without my explicit yes. - Redact secrets (tokens, keys, passwords, connection strings) from anything you print or save. - ## Skills and docs - My skills live in `~/Projects/active/skills`. Edit them there, never in an installed copy. diff --git a/skills/build-skill/references/checklist.md b/skills/build-skill/references/checklist.md index 1879023..2a812e3 100644 --- a/skills/build-skill/references/checklist.md +++ b/skills/build-skill/references/checklist.md @@ -24,14 +24,14 @@ seen. If you can't name the failure, don't add the control. Change the smallest thing that explains what went wrong: -| Observed | Smallest fix | -| :--- | :--- | -| Skipped a verification step | Make the step's proof observable and gate the next step on it. | -| Ignored an important rule | Move the rule into the numbered steps, where it is read at the right moment. | -| Procedure lost in detail | Move the detail to `references/`. | -| Wandered into another skill's job | Tighten "Use when" and "Hands off to". | -| Repeated boilerplate | Cut the instruction or shorten it. | -| Behaved correctly without an instruction | Delete the instruction. | +| Observed | Smallest fix | +| :--------------------------------------- | :--------------------------------------------------------------------------- | +| Skipped a verification step | Make the step's proof observable and gate the next step on it. | +| Ignored an important rule | Move the rule into the numbered steps, where it is read at the right moment. | +| Procedure lost in detail | Move the detail to `references/`. | +| Wandered into another skill's job | Tighten "Use when" and "Hands off to". | +| Repeated boilerplate | Cut the instruction or shorten it. | +| Behaved correctly without an instruction | Delete the instruction. | Then re-run a scenario that used to work, to confirm nothing regressed.