agentsclimarketplace

Architecture refinement

Skill fabioc-aloha/Alex_Skill_Mall/plugins/architecture-patterns/architecture-refinement

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

Install
npx -y skills add fabioc-aloha/Alex_Skill_Mall --skill architecture-refinement

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.3 KB, 855 tokens by cl100k_base, as published. Nobody here has run it

Architecture Refinement Skill

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

Purpose

This skill enables the AI assistant to:

  • Recognize when a learning session produces architecture-worthy insights
  • Document patterns in the appropriate .github/ location (skills, instructions, prompts)
  • 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 skill 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 file
Did we learn something about the AI assistant's architecture?Update relevant .github/ documentation
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.mdthe AI assistant (AI)
Important concepts for user.github/skills/{name}/SKILL.mdHuman + AI
Process improvement.github/instructions/*.instructions.mdthe AI assistant (AI)
Complex workflow.github/prompts/*.prompt.mdthe AI assistant (AI)
Domain expertise.github/skills/{name}/SKILL.mdthe AI assistant (AI)

Key Distinction:

  • .github/skills/ = Operational reference during work (the AI assistant + user)

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.

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

Keep looking

Skills are one crate of 326,790. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.