entity-doc-generator

Generate Markdown entity specifications from Java @Entity classes.

Updated Jan 20, 2026
One-click install
npx skills add https://github.com/ElliotChen/ClaudeCode --skill entity-doc-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: entity-doc-generator
Source: https://github.com/ElliotChen/ClaudeCode/tree/main/skills/entity-doc-generator
Command: npx skills add https://github.com/ElliotChen/ClaudeCode --skill entity-doc-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

自動掃描 Java 專案中的 @Entity 類別,分析其結構並生成完整的實體規格文件,減少人工整理與文檔維護成本。

Core Features & Use Cases

  • 提取 @Entity、@Table、@Column、@Id 等註解,生成欄位、約束與關聯的完整規格。
  • 自動產生包含欄位、關聯、驗證、版本與持久化映射等章節的 Markdown 文件,方便審核與知識沉澱。
  • 支援全專案掃描或選定實體的局部生成,適用於 ORM 驅動的 Java 專案。

Quick Start

Scan your Java project to generate entity specification files for all @Entity classes.

Frequently Asked Questions about entity-doc-generator

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

FAQPage Schema
How do I generate documentation from Java @Entity classes?

To generate documentation from Java @Entity classes, you can automatically scan your Java project to parse JPA/Hibernate annotations and JavaDoc, outputting Markdown files per entity with fields, relationships, and constraints. This eliminates manual documentation maintenance.

What is the best way to document JPA Hibernate entity relationships and constraints?

Documenting JPA Hibernate entity relationships and constraints is best handled by parsing source code to extract @Entity, @Table, @Column, and @Id annotations. This process automatically produces detailed Markdown specifications covering validation, versioning, and persistence mapping.

Can I scan a specific subset of Java entities instead of the whole project?

Yes, you can scan a specific subset of Java entities instead of the whole project. The tool supports full project scanning as well as localized generation for selected entities, making it adaptable for ORM-driven Java projects of varying scales.

Does the generated Markdown include validation and persistence mapping details?

Yes, the generated Markdown includes validation and persistence mapping details. The output Markdown files contain dedicated sections for fields, relationships, validation, versioning, and persistence mappings extracted directly from the Java annotations and JavaDoc.

Do I need any external dependencies to extract entity specifications from Java source code?

You do not need any external dependencies to extract entity specifications from Java source code. The tool operates independently by parsing the existing source code to extract annotations and JavaDoc without requiring additional libraries or components.