wheels-documentation-generator

自动生成 Wheels 应用的各类技术文档,包括函数级注释、模型结构说明及标准化 README 文件,覆盖代码说明、数据模型关系、环境依赖、部署步骤与测试方法等核心内容。

快捷安装

在终端运行此命令,即可一键安装该 Skill 到您的 Claude 中

npx skills add wheels-dev/wheels --skill "wheels-documentation-generator"

Wheels Documentation Generator

Function Documentation

/**
 * Authenticate user with email and password
 *
 * @param email User's email address
 * @param password User's password (plain text)
 * @return User object if authenticated, false otherwise
 */
public any function authenticate(required string email, required string password) {
    // Implementation
}

Model Documentation

/**
 * Post Model
 *
 * Represents a blog post with associated comments and tags.
 *
 * Associations:
 * - hasMany: comments (dependent delete)
 * - hasManyThrough: tags (through postTags)
 * - belongsTo: user
 *
 * Validations:
 * - title: presence, length (3-200)
 * - slug: presence, uniqueness
 * - content: presence, minimum length (10)
 */
component extends="Model" {
    // Implementation
}

README Template

# Project Name

## Description

Brief description of the application.

## Requirements

- CFWheels 3.0+
- Lucee 5.x / Adobe ColdFusion 2018+
- Database (MySQL, PostgreSQL, SQL Server)

## Installation

1. Clone repository
2. Run migrations: `wheels dbmigrate latest`
3. Start server: `wheels server start`

## Configuration

Configure database in `config/database.cfm`

## Testing

Run tests: `wheels test run`

## License

MIT

Generated by: Wheels Documentation Generator Skill v1.0