brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
metalExtract the conceptual essence of a repository as skills, agents, and teams — the project's roles, procedures, and coordination patterns expressed as agentskills.io-standard definitions. Reads an arbitrary codebase and produces generalized definitions that capture WHAT the project does and WHO operates it, without replicating HOW it does it. Use when onboar…
Independent GitHub snapshot · Automated classification · Original documentation governs
Extract conceptual DNA of repo → roles + procedures + coordination patterns as generalized agentskills.io defs. Like noble metal from ore, separate IS (essence) from DOES (impl) → reusable skill/agent/team defs capturing organizational genome w/o reproducing codebase.
survey (prospect+assay), extract (full), report (extract+written) (default: extract)Central quality criterion:
Could concept exist in completely different impl?
YES → metal (essence). Extract. NO → gangue (impl detail). Leave.
Ex: weather app's "integrate external data source" = metal (any third-party fetch). "parse OpenWeatherMap v3 JSON res" = gangue (one API).
Skills = CLASS of task not instance. Agents = ROLE not person. Teams = COORDINATION PATTERN not org chart.
Survey repo structure, no judgment. Map terrain before mining.
package.json, DESCRIPTION, setup.py, Cargo.toml, go.mod, MakefileREADME.md, CLAUDE.md, CONTRIBUTING.md, architecture.github/workflows/, Dockerfile, deploy configsProject: [name]
Declared Purpose: [from README/manifest]
Languages: [primary, secondary]
Size: [file count, approx LOC]
Shape: [monorepo/library/app/framework/docs]
External Surface: [CLI/API/UI/library exports/none]
→ Factual survey. No classification yet. Reads like geological survey not review.
If err: no README/manifest → infer from dirs, file content, test descs. >1000 files → narrow to most active dirs (git log freq or README refs).
Read representative files → conceptual DOES.
→ Conceptual map reads like domain glossary not code walkthrough. Tech-stack-naive reader understands.
If err: opaque codebase (heavy metaprogramming, generated, obfuscated) → tests + docs over source. No tests → commit msgs for intent.
Pause + clear cognitive anchoring from reading code.
→ Assay free of framework-specific lang. All findings pass Ore Test. Concepts portable to any lang/framework.
If err: bias persists → invert: "If rewritten in completely different stack, which concepts survive?" Only those = metal.
Core extraction. Classify into skill/agent/team.
Classification Criteria:
+--------+----------------------------+----------------------------+----------------------------+
| Type | What to Look For | Naming Convention | Test Question |
+--------+----------------------------+----------------------------+----------------------------+
| SKILL | Repeatable procedures, | Verb-first kebab-case: | "Could an agent follow |
| | workflows, transformations | validate-input, | this as a step-by-step |
| | with clear inputs/outputs | deploy-artifact | procedure?" |
+--------+----------------------------+----------------------------+----------------------------+
| AGENT | Persistent roles, domain | Noun/role kebab-case: | "Does this require ongoing |
| | expertise, judgment calls, | data-engineer, | context, expertise, or a |
| | communication styles | quality-reviewer | specific communication |
| | | | style?" |
+--------+----------------------------+----------------------------+----------------------------+
| TEAM | Multi-role coordination, | Group descriptor: | "Does this need more than |
| | handoffs, reviews, | pipeline-ops, | one distinct perspective |
| | parallel workstreams | review-board | to accomplish?" |
+--------+----------------------------+----------------------------+----------------------------+
Per extracted:
identity-manager (agent). "deployToAWS()" → deploy-artifact (skill).Avoid classification errs:
→ Classified inventory: type + generalized name + one-line desc. No source-specific tech/API/data refs.
If err: ambiguous (skill or agent?) → "DOING (skill) vs. BEING someone who does (agent)?" Skill = recipe, agent = chef. Unclear → default skill — easier to compose later.
Honest extraction — neither too much nor too little.
Over-extraction: per def:
Under-extraction: defs only (no source) ask:
Generalization: per def:
Balance: ratios:
15 → over-extracted or insufficient generalization
→ Confidence right abstraction. Each def = seed for different soil, not cutting only surviving original garden.
If err: over-extracted → raise abstraction, merge specifics, collapse similar agents. Under-extracted → Step 2 + sample more. Generalization fails → strip tech refs, rewrite.
Produce agentskills.io standard outputs.
# Skill: [generalized-name]
name: [generalized-name]
description: [one-line, framework-agnostic]
domain: [closest domain from the 52 existing domains, or suggest a new one]
complexity: [basic/intermediate/advanced]
# Concept-level procedure (3-5 steps, NOT full implementation):
# Step 1: [high-level action]
# Step 2: [high-level action]
# Step 3: [high-level action]
# Derived from: [source concept in original project]
# Agent: [role-name]
name: [role-name]
description: [one-line purpose]
tools: [minimal tool set needed]
skills: [list of extracted skills this agent would carry]
# Derived from: [source role/module in original project]
# Team: [group-name]
name: [group-name]
description: [one-line purpose]
lead: [lead agent from extracted agents]
members: [list of member agents]
coordination: [hub-and-spoke/sequential/parallel/adaptive]
# Derived from: [source workflow/process in original project]
→ Structured report w/ all defs in agentskills.io format. Each skeletal (concept not impl) → starting point for create-skill/create-agent/create-team.
If err: >15 items → priority by centrality, keep most unique to project's domain. Generic ("manage-configuration") drop unless unusual twist.
Verify complete extraction + summary.
Temper Assessment:
+-----+---------------------------+----------+------------------------------------+
| # | Name | Type | Ore Test Result |
+-----+---------------------------+----------+------------------------------------+
| 1 | [name] | skill | PASS / FAIL (reason) |
| 2 | [name] | agent | PASS / FAIL (reason) |
| ... | ... | ... | ... |
+-----+---------------------------+----------+------------------------------------+
→ Validated Assay Report w/ table + confidence + actionable next steps. Self-contained — naive reader understands extracted concepts.
If err: >20% fail Ore Test → Step 4, re-extract higher abstraction. Coverage <60% → Step 2, sample more.
create-skill, not finished. 50-step extraction = reproduction not essence.athanor — when metal reveals project needs transformation not just essencechrysopoeia — value extraction at code level; metal = conceptual level above codetransmute — convert extracted concepts between domains/paradigmscreate-skill — flesh out extracted skill sketches → full SKILL.mdcreate-agent — flesh out extracted agent sketches → full agent defscreate-team — flesh out extracted team sketches → full team compositionsobserve — deeper observation when prospect reveals unfamiliar domainanalyze-codebase-for-mcp — complementary: metal extracts concepts, that extracts tool surfacesreview-codebase — complementary: metal extracts essence, that evaluates quality