
Generate Subsystem Skills
- 37 installs
- 835 repo stars
- Updated June 10, 2026
- llama-farm/llamafarm
Helps with ai & agent building tasks.
About
generate-subsystem-skills is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.
- generate-subsystem-skills
- AI & Agent Building
- AI-coding skill
Generate Subsystem Skills by the numbers
- 37 all-time installs (skills.sh)
- +1 installs in the week ending Aug 2, 2026 (Skillselion tracking)
- Ranked #8,535 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/llama-farm/llamafarm --skill generate-subsystem-skillsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 37 |
|---|---|
| repo stars | ★ 835 |
| Last updated | June 10, 2026 |
| Repository | llama-farm/llamafarm ↗ |
What it does
Helps with ai & agent building tasks.
Files
Generate Subsystem Skills
This skill analyzes each subsystem in the LlamaFarm monorepo and generates specialized Claude Code skills for security, performance, and language-specific best practices.
Usage
/generate-subsystem-skills---
What Gets Generated
Shared Language Skills (4)
python-skills/- Used by: server, rag, runtime, config, commongo-skills/- Used by: clitypescript-skills/- Used by: designer, electronreact-skills/- Used by: designer
Subsystem-Specific Skills (8)
cli-skills/- Cobra, Bubbletea patternsserver-skills/- FastAPI, Celery, Pydantic patternsrag-skills/- LlamaIndex, ChromaDB patternsruntime-skills/- PyTorch, Transformers patternsdesigner-skills/- TanStack Query, Tailwind, Radix patternselectron-skills/- Electron IPC, security patternsconfig-skills/- Pydantic, JSONSchema patternscommon-skills/- HuggingFace Hub patterns
---
Generation Process
Step 1: Read Registry
Load subsystem definitions from subsystem-registry.md.
Step 2: Generate Shared Language Skills
Launch sub-agents IN PARALLEL to generate:
1. Python Skills Agent - Analyze Python subsystems (server, rag, runtime, config, common), identify ideal patterns, generate python-skills/
2. Go Skills Agent - Analyze CLI subsystem, identify ideal Go patterns, generate go-skills/
3. TypeScript Skills Agent - Analyze designer and electron, identify ideal TS patterns, generate typescript-skills/
4. React Skills Agent - Analyze designer, identify ideal React 18 patterns, generate react-skills/
Step 3: Generate Subsystem Skills
Launch sub-agents IN PARALLEL for each subsystem:
For each subsystem, the agent should: 1. Read the subsystem's dependency files (package.json, pyproject.toml, go.mod) 2. Analyze code patterns using Grep and Read 3. Generate SKILL.md that links to shared language skills 4. Generate framework-specific checklist files 5. Write all files to .claude/skills/{subsystem}-skills/
Step 4: Report Summary
After all agents complete, report:
- Number of skills generated
- Total files created
- Any errors encountered
---
Sub-Agent Prompt Templates
For Shared Language Skills
You are generating a shared {LANGUAGE} skills directory for Claude Code.
Analyze these subsystems that use {LANGUAGE}:
{SUBSYSTEM_PATHS}
Your task:
1. Read key files to understand patterns used
2. When patterns vary, document the IDEAL approach (not inconsistencies)
3. Reference industry best practices
4. Generate files in .claude/skills/{LANGUAGE}-skills/
Files to generate:
- SKILL.md (overview, ~100 lines)
- patterns.md (idiomatic patterns)
- error-handling.md
- testing.md
- security.md
- {additional language-specific files}
Each checklist item should have:
- Description of what to check
- Search pattern (grep command)
- Pass/fail criteria
- Severity levelFor Subsystem Skills
You are generating subsystem-specific skills for {SUBSYSTEM} in Claude Code.
Directory: {PATH}
Tech Stack: {TECH_STACK}
Links to: {SHARED_SKILLS}
Your task:
1. Read dependency files and key source files
2. Identify framework-specific patterns
3. Generate SKILL.md that links to shared language skills
4. Generate framework-specific checklists
Files to generate:
- SKILL.md (overview with links to shared skills)
- {framework}.md for each framework used
- performance.md (subsystem-specific optimizations)
Remember: Document IDEAL patterns, not existing inconsistencies.---
Key Principle
Prescribe ideal patterns - When the codebase has inconsistent patterns, the generated skills should document the BEST practice according to industry standards, not codify existing inconsistencies.
---
Output Location
All skills are written to .claude/skills/ with this structure:
.claude/skills/
├── python-skills/ # Shared
├── go-skills/ # Shared
├── typescript-skills/ # Shared
├── react-skills/ # Shared
├── cli-skills/ # Subsystem
├── server-skills/ # Subsystem
├── rag-skills/ # Subsystem
├── runtime-skills/ # Subsystem
├── designer-skills/ # Subsystem
├── electron-skills/ # Subsystem
├── config-skills/ # Subsystem
└── common-skills/ # SubsystemSubsystem Registry
Defines all subsystems, their tech stacks, and skill mappings for the LlamaFarm monorepo.
---
Shared Language Skills
| Skill | Directory | Used By | Files |
|---|---|---|---|
| Python | python-skills/ | server, rag, runtime, config, common | SKILL.md, patterns.md, async.md, typing.md, testing.md, error-handling.md, security.md |
| Go | go-skills/ | cli | SKILL.md, patterns.md, concurrency.md, error-handling.md, testing.md, security.md |
| TypeScript | typescript-skills/ | designer, electron | SKILL.md, patterns.md, typing.md, testing.md, security.md |
| React | react-skills/ | designer | SKILL.md, components.md, hooks.md, state.md, performance.md, security.md |
---
Subsystem Definitions
CLI
| Property | Value |
|---|---|
| Name | cli |
| Path | cli/ |
| Output | cli-skills/ |
| Language | Go 1.24 |
| Frameworks | Cobra, Bubbletea, Lipgloss |
| Links To | go-skills/ |
| Generates | SKILL.md, cobra.md, bubbletea.md, performance.md |
Server
| Property | Value |
|---|---|
| Name | server |
| Path | server/ |
| Output | server-skills/ |
| Language | Python 3.12 |
| Frameworks | FastAPI, Celery, Pydantic, Uvicorn |
| Links To | python-skills/ |
| Generates | SKILL.md, fastapi.md, celery.md, pydantic.md, performance.md |
RAG
| Property | Value |
|---|---|
| Name | rag |
| Path | rag/ |
| Output | rag-skills/ |
| Language | Python 3.11 |
| Frameworks | LlamaIndex, ChromaDB, Celery |
| Links To | python-skills/ |
| Generates | SKILL.md, llamaindex.md, chromadb.md, celery.md, performance.md |
Universal Runtime
| Property | Value |
|---|---|
| Name | runtime |
| Path | runtimes/universal/ |
| Output | runtime-skills/ |
| Language | Python 3.11 |
| Frameworks | PyTorch, Transformers, FastAPI |
| Links To | python-skills/ |
| Generates | SKILL.md, pytorch.md, transformers.md, fastapi.md, performance.md |
Designer
| Property | Value |
|---|---|
| Name | designer |
| Path | designer/ |
| Output | designer-skills/ |
| Language | TypeScript |
| Frameworks | React 18, TanStack Query, TailwindCSS, Radix UI, Vite |
| Links To | typescript-skills/, react-skills/ |
| Generates | SKILL.md, tanstack-query.md, tailwind.md, radix.md, performance.md |
Electron App
| Property | Value |
|---|---|
| Name | electron |
| Path | electron-app/ |
| Output | electron-skills/ |
| Language | TypeScript |
| Frameworks | Electron 28, Electron Vite |
| Links To | typescript-skills/ |
| Generates | SKILL.md, electron.md, security.md, performance.md |
Config
| Property | Value |
|---|---|
| Name | config |
| Path | config/ |
| Output | config-skills/ |
| Language | Python 3.11 |
| Frameworks | Pydantic, JSONSchema |
| Links To | python-skills/ |
| Generates | SKILL.md, pydantic.md, jsonschema.md |
Common
| Property | Value |
|---|---|
| Name | common |
| Path | common/ |
| Output | common-skills/ |
| Language | Python 3.10 |
| Frameworks | HuggingFace Hub |
| Links To | python-skills/ |
| Generates | SKILL.md, huggingface.md |
---
File Generation Order
1. Phase 1: Shared Language Skills (can run in parallel)
- python-skills/
- go-skills/
- typescript-skills/
- react-skills/
2. Phase 2: Subsystem Skills (can run in parallel, after Phase 1)
- cli-skills/
- server-skills/
- rag-skills/
- runtime-skills/
- designer-skills/
- electron-skills/
- config-skills/
- common-skills/
---
Checklist Item Format
Each checklist file should use this format for items:
### {Check Name}
**What to check**: {Description}
**Search pattern**:grep -rE "{pattern}" --include="*.{ext}" {path}/
**Pass criteria**: {What constitutes passing}
**Fail criteria**: {What constitutes failing}
**Severity**: Critical | High | Medium | Low
**Recommendation**: {How to fix violations}---
Key Files to Analyze Per Subsystem
| Subsystem | Key Files |
|---|---|
| CLI | cli/go.mod, cli/cmd/**/*.go, cli/internal/**/*.go |
| Server | server/pyproject.toml, server/src/**/*.py |
| RAG | rag/pyproject.toml, rag/src/**/*.py |
| Runtime | runtimes/universal/pyproject.toml, runtimes/universal/src/**/*.py |
| Designer | designer/package.json, designer/src/**/*.tsx, designer/src/**/*.ts |
| Electron | electron-app/package.json, electron-app/src/**/*.ts |
| Config | config/pyproject.toml, config/src/**/*.py |
| Common | common/pyproject.toml, common/src/**/*.py |