From partme-ai-full-stack-skills
Generates standardized API docs by scanning Java/Kotlin Controller classes for endpoints, HTTP methods, parameters, and responses. Useful for explicit REST API documentation requests.
npx claudepluginhub partme-ai/full-stack-skills --plugin t2ui-skillsThis skill uses the workspace's default tool permissions.
Scan code for API endpoints, extract interface details, and generate standardized documentation. Do NOT trigger for generic documentation requests without explicit API/interface mention.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Scan code for API endpoints, extract interface details, and generate standardized documentation. Do NOT trigger for generic documentation requests without explicit API/interface mention.
./docs directory in the current projectCRITICAL: Before generating any documentation, you MUST scan the code to find API interfaces.
Identify Target:
@RestController, @Controller with @RequestMappingcontroller or web packageController.java or Controller.ktScan for Controllers:
@RestController or @ControllerCheck for Interfaces:
@GetMapping, @PostMapping, @PutMapping, @DeleteMapping@RequestMapping with method specificationValidation:
未找到任何接口,无法生成接口文档。请确认:
1. 项目中是否存在 Controller 类
2. Controller 类中是否有 @GetMapping、@PostMapping 等注解的方法
3. 是否指定了正确的扫描路径
Output: List of Controller classes and total number of interfaces found.
CRITICAL: For each interface, extract complete information including URL, method, parameters, and response.
For each API interface found, extract:
Basic Information:
Request Information:
/user/{id})
Response Information:
R<T>, ApiResponse<T>)Additional Information:
@ApiOperation, @Operation, or method comments@Api, @Tag annotations@Deprecated annotationOutput: Structured data for each interface with all extracted information.
CRITICAL: Generate documentation following the standard template format.
Select Template Language:
templates/接口文档模板.mdtemplates/api-documentation-template-en.mdLoad Template:
Organize by Module:
Generate Interface List Table:
Generate Interface Definitions: For each interface, generate:
Add Standard Sections:
Format Documentation:
Output: Complete API documentation in Markdown format.
CRITICAL: Save documentation to the ./docs directory in the current project.
Determine Output Path:
./docs/api-documentation.md./docs/{module-name}-api-documentation.mdCreate Directory:
./docs directory existsSave File:
Inform User:
Output: Documentation file saved to ./docs/api-documentation.md (or custom path).
Controller Identification:
@RestController or @Controller@RequestMapping at class level*.controller.*, *.web.*, *.api.*Method Identification:
@GetMapping, @PostMapping, @PutMapping, @DeleteMapping, @PatchMapping@RequestMapping(method = RequestMethod.GET) etc.Parameter Extraction:
@PathVariable: Path parameters@RequestParam: Query parameters@RequestBody: Request body@RequestHeader: Request headersResponse Extraction:
@ResponseBody annotationR<T>, Page<T>)Similar to Java, but check for:
String?, Int?)templates/接口文档模板.md - Chinese API documentation templatetemplates/api-documentation-template-en.md - English API documentation templateexamples/scan-and-generate-example.md - Complete workflow exampleAsk user for preferred language (Chinese/English). If not specified, detect from project context.
api documentation, api docs, generate api docs, scan interfaces, REST API, 接口文档, API文档, 生成接口文档, 扫描接口