skill-extract

Extract tokens, components, and architecture mappings into structured documentation.

4.0k|369|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/nyldn/claude-octopus --skill skill-extract
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-extract
Source: https://github.com/nyldn/claude-octopus/tree/main/skills/skill-extract
Command: npx skills add https://github.com/nyldn/claude-octopus --skill skill-extract

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Design teams and developers struggle to translate undocumented codebases into structured, implementation-ready documentation for design systems and product architectures.

Core Features & Use Cases

  • Token extraction from code, CSS, and design tokens
  • Component analysis across frameworks (React, Vue, Svelte)
  • Pattern detection and design-rule enforcement
  • Storybook generation and automated documentation
  • Architecture detection including API mapping and C4 diagrams
  • Data modeling and feature inventory for product architectures

Quick Start

Run the extract workflow on your codebase to generate tokens, components, and architecture diagrams.

Frequently Asked Questions about skill-extract

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract design tokens and component inventories from an undocumented codebase?

To extract design tokens and component inventories from an undocumented codebase, you can run a multi-stage pipeline that analyzes code and CSS to produce structured documentation. This process includes token extraction, component analysis, and automated diagram generation.

What is reverse-engineering a design system from existing product code?

Reverse-engineering a design system means detecting patterns, extracting token data, and mapping software architectures from existing product code. It translates undocumented frontend stacks into structured, implementation-ready documentation including C4 diagrams and component inventories.

Can I generate Storybook documentation automatically from React, Vue, or Svelte components?

Yes, you can generate Storybook documentation automatically from React, Vue, and Svelte components. The workflow analyzes your components across these modern frontend frameworks and produces automated documentation and Storybook configurations.

Does this design system extraction approach support API mapping and architecture diagrams?

Yes, design system extraction supports API mapping and architecture diagrams. It performs architecture detection to generate data models, feature inventories, and automated Mermaid diagrams including C4 diagrams for your software architecture.

What's the best way to enforce design rules and detect patterns across a frontend codebase?

The best way to enforce design rules and detect patterns is using a multi-AI orchestration pipeline with quality gates. This approach analyzes your codebase to identify patterns, map components, and ensure your design rules are consistently applied.