extracting-code-structure

Extract functions, classes, imports, and exports from source files using ts-pack process.

26|2|Updated Jun 8, 2026
One-click install
npx skills add https://github.com/xberg-io/plugins --skill extracting-code-structure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extracting-code-structure
Source: https://github.com/xberg-io/plugins/tree/main/plugins/tree-sitter-language-pack/.cursor-plugin/skills/extracting-code-structure
Command: npx skills add https://github.com/xberg-io/plugins --skill extracting-code-structure

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ts-pack, and includes scripts (resource) components.

What problem does it solve?

This Skill solves the problem of manually extracting structured code metadata from source files, such as functions, classes, imports, exports, symbols, docstrings, comments, or syntax diagnostics.

Core Features & Use Cases

  • Structured Code Metadata Extraction: Automatically extract structured metadata from source files.
  • Feature Flags: Run the code-intelligence pipeline with specific feature flags for targeted metadata extraction.
  • Use Case: When you need to quickly analyze a codebase and extract information about functions, classes, or imports without manually parsing the code.

Quick Start

Run the ts-pack process src/app.ts command to extract structured metadata from the 'app.ts' file.

Frequently Asked Questions about extracting-code-structure

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

FAQPage Schema
How do I extract structured code metadata from source files?

You can extract structured code metadata from source files by running the ts-pack process command, which automatically parses functions, classes, imports, and exports without manual code reading.

What is structured code metadata extraction used for?

Structured code metadata extraction is used to quickly analyze a codebase and pull information about functions, classes, imports, exports, symbols, docstrings, comments, or syntax diagnostics.

Do I need ts-pack to extract metadata from a codebase?

Yes, you need the ts-pack tool installed because this Skill requires the ts-pack process command to parse source files and extract the underlying structured metadata.

Can I extract specific code metadata like only functions and imports?

Yes, you can target specific metadata extraction by running the code-intelligence pipeline with feature flags to isolate functions, imports, or other structural elements.

What's the best way to analyze source code metadata without manually parsing files?

The best way to analyze source code metadata without manual parsing is using an automated extraction tool like ts-pack to process source files and output structured codebase information.

How do I start extracting metadata from a TypeScript source file?

To start extracting metadata from a TypeScript file, run the ts-pack process src/app.ts command to parse the file and generate its structured code metadata.