首页/ AI 技能 / @skilllib/skill-2117939930272411610
Skill站外收录 @skilllib/skill-2117939930272411610

wheels-documentation-generator

为 Wheels 框架应用自动生成代码注释、项目 README 和 API 文档,覆盖函数说明、模型关系与验证规则、环境依赖与部署步骤等核心信息,提升开发协作效率和代码可维护性。

0.0 (0) 23 次安装 原作者 编程导航
收录于 2026-01-22
文档处理 AI 技能

Skills.MD

# Wheels Documentation Generator ## Function Documentation ```cfm /** * 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 ```cfm /** * 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 ```markdown # Project Name ## Description Brief description of the application. ## Requirements - Wheels 3.0+ - Lucee 5.x / Adobe ColdFusion 2018+ - Database (MySQL, PostgreSQL, SQL Server, Oracle, SQLite) ## 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

评论 0

还没有评论,来抢沙发。