金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

wheels-deployment

wheels-deployment 是面向效率工具、开发运维、软件开发的 Agent Skill,来自 wheels-dev/wheels。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Configure Wheels applications for production deployment with security hardening, performance optimization, and environment-specific settings. Use when preparing for production, configuring servers, or hardening security.

SKILL.md

下载 MD ↓
nameWheels Deployment
descriptionConfigure Wheels applications for production deployment with security hardening, performance optimization, and environment-specific settings. Use when preparing for production, configuring servers, or hardening security.

Wheels Deployment

Production Configuration

config/settings.cfm (Production)

<cfif get("environment") == "production">
    <cfscript>
        // Error handling
        set(showDebugInformation=false);
        set(showErrorInformation=false);
        set(sendEmailOnError=true);
        set(errorEmailAddress="[email protected]");

        // Performance
        set(cacheActions=true);
        set(cachePages=true);
        set(cachePartials=true);
        set(cacheQueries=true);

        // Security
        set(csrfProtection=true);
        set(obfuscateUrls=true);

        // Database
        set(autocommit=false);
    </cfscript>
</cfif>

Security Checklist

  • [ ] CSRF protection enabled
  • [ ] showDebugInformation = false
  • [ ] showErrorInformation = false
  • [ ] Strong database passwords
  • [ ] HTTPS enabled
  • [ ] SQL injection prevention
  • [ ] XSS protection
  • [ ] Secure session configuration

Performance Checklist

  • [ ] Enable all caching
  • [ ] Optimize database indexes
  • [ ] Use eager loading (include)
  • [ ] Enable GZIP compression
  • [ ] Minify CSS/JS
  • [ ] Use CDN for assets
  • [ ] Database connection pooling

Generated by: Wheels Deployment Skill v1.0

来源:wheels-dev/wheels · Apache-2.0 许可 · 许可原文 · MD 为来源页保存的历史版本