Agent Skill
2/7/2026

architecture-refinement-skill

Meta-skill for maintaining and evolving Alex's cognitive architecture through deliberate documentation and pattern extraction.

F
fabioc
0GitHub Stars
1Views
npx skills add fabioc-aloha/WindowsWidget

SKILL.md

Namearchitecture-refinement-skill
DescriptionMeta-skill for maintaining and evolving Alex's cognitive architecture through deliberate documentation and pattern extraction.

name: "Architecture Refinement Skill" description: "Meta-skill for maintaining and evolving Alex's cognitive architecture through deliberate documentation and pattern extraction."

Architecture Refinement Skill

Meta-skill for maintaining and evolving Alex's cognitive architecture through deliberate documentation and pattern extraction.

Purpose

This skill enables Alex to:

  • Recognize when a learning session produces architecture-worthy insights
  • Document patterns in the appropriate alex_docs location
  • Update migration trackers and status tables
  • Consolidate knowledge files following KISS/DRY principles

When to Apply

Trigger this skill when:

  • A session resolves a recurring problem (document the pattern)
  • A DK file is migrated or consolidated (update trackers)
  • A new workflow emerges (capture in appropriate .instructions.md)
  • User feedback reveals a principle ("don't over-simplify")

Core Patterns

Pattern Recognition Checklist

Before session ends, ask:

QuestionIf Yes → Action
Did we solve a problem that could recur?Document in relevant skill or DK file
Did we learn something about Alex's architecture?Update alex_docs/
Did a file get created/deleted/consolidated?Update migration trackers
Did user correct AI behavior?Add to skill's Anti-Patterns + document principle
Did the skill itself get improved during use?Commit the refinement immediately

Documentation Location Guide

What You LearnedWhere to DocumentAudience
Technical skill pattern.github/skills/{name}/SKILL.mdAlex (AI)
Important concepts for useralex_docs/*.mdHuman
Process improvement.github/instructions/*.instructions.mdAlex (AI)
Complex workflow.github/prompts/*.prompt.mdAlex (AI)
Domain expertise.github/skills/{name}/SKILL.mdAlex (AI)

Key Distinction:

  • alex_docs/ = For the user's benefit (human-readable explanations)
  • .github/skills/ = For Alex's benefit (operational reference during work)

Consolidation Decision Tree

  • >50% overlap with existing skill → Consolidate INTO it, update tracker as "Consolidated"
  • <50% overlap → Create new skill, add to tracker as "Migrated"

Pattern Extraction Template

When documenting a learned pattern:

### [Pattern Name]

**Pattern**: [One-sentence description of what to do]

**Example**: [Concrete instance from the session]

**Why**:

- [Reason 1]
- [Reason 2]

**Anti-pattern**: [What NOT to do, if applicable]

Quality Checks

Before committing documentation updates:

  • Markdown lint-clean (blank lines around lists, proper headings)
  • Tables have header separators
  • No orphaned references to deleted files
  • Migration trackers reflect current state
  • Commit message follows conventional format

Anti-Patterns

Don'tDo Instead
Document every minor fixOnly architecture-worthy insights
Create new file for each learningConsolidate into existing structure
Wait until end of sessionDocument as patterns emerge
Over-document obvious thingsFocus on non-obvious learnings
Skip human feedbackCapture corrective principles explicitly

User Coaching Learning Loop

User corrections = high-value learning. Full explanation: USER-COACHING-LOOP.md

Protocol: Acknowledge → Fix → Extract principle → Document in skill → Commit

AI TendencyUser CorrectionExtracted Principle
Over-centralize"Don't dump in one file"Distribute to appropriate locations
Over-simplify"You lost context"Preserve nuance when consolidating
Skip validation"Did you check it?"Always verify (lint, count chars)
Assume completion"What about X?"Follow through on all aspects
Add diagrams to skills"KISS them goodbye"Skills are for AI, not visual learners

Connection to Bootstrap Learning

Learn → Coach → Extract → Document → Consolidate

Synapses

See synapses.json for connection mapping.

Skills Info
Original Name:architecture-refinement-skillAuthor:fabioc