parse-table

Parse table definitions to extract module, model, table, and field metadata.

928|137|Updated Jan 6, 2020
One-click install
npx skills add https://github.com/JaguarJack/catch-admin --skill parse-table
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: parse-table
Source: https://github.com/JaguarJack/catch-admin/tree/main/.claude/skills/01-parse-table
Command: npx skills add https://github.com/JaguarJack/catch-admin --skill parse-table

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill parses user-provided table definitions to extract the core metadata needed to scaffold modules, models, and field rules for CRUD generation.

Core Features & Use Cases

  • Parse input definitions to output {Module}, {Model}, {Table}, and {Fields} metadata.
  • Supports aliases like Table/表 and Module/模型, and can infer missing Module/Model from the table name or explicit user input.
  • Use Case: Provide a definition for a new table to generate the data needed to scaffold a Product model and related CRUD routes.

Quick Start

Provide a sample table definition and let the skill produce the corresponding module/model metadata for code generation.

Frequently Asked Questions about parse-table

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

FAQPage Schema
How do I extract metadata from table definitions for CRUD generation?

Parse table definitions to extract module, model, table, and field metadata needed for CRUD scaffolding. The skill handles input variations, infers missing module or model names from the table name, enforces field typing rules, and produces structured data ready for code generation.

Can I use aliases and custom field names when defining tables?

Yes. The skill supports aliases like Table/表 and Module/模型, allowing flexible definitions. You can provide explicit overrides for module or model names, and the parser will resolve them into standardized metadata with proper field typing and foreign key relations.

What metadata does the skill output from a table definition?

The skill outputs {Module}, {Model}, {Table}, and {Fields} metadata including field names, types, default values, and foreign key relations. This structured output is designed to scaffold models and enable downstream code generation for CRUD routes.

How does the skill handle missing module or model information?

When module or model names are not provided, the skill infers them from the table name or accepts explicit user overrides. This flexibility lets you work with incomplete definitions while maintaining valid metadata for code generation.

What validation does the skill enforce on field definitions?

The skill enforces field typing rules, validates default values, and processes foreign key relations to ensure data integrity. These validations guarantee that extracted metadata conforms to the constraints needed for reliable CRUD scaffolding.

Do I need prior knowledge of schema design to use this skill?

No prerequisite knowledge required. Provide a table definition in any supported format; the skill parses input variations automatically, handles aliases, and produces ready-to-use metadata without requiring you to manually format or validate the schema structure.