360 Secure SkillHub
360 安全技能中心

业务模块工程师 配置缓存与后台权限

面向特定 PHP 框架业务模块的开发 Skill,负责模块环境配置、通过框架缓存工厂封装缓存、后台菜单与模块级权限注解接线,并给出环境校验、后台可见性与缓存读写失效的验证步骤,同时要求同步更新模块 README。

aiweline
aiweline
热度 34.63
最近更新 2026-05-11 17:47:18
分类:开发依赖:读写文件 / 代码执行应用场景:代码生成 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add business-config-cache-acl
Metadata
name
业务模块工程师-配置缓存与后台权限
description
Business module engineer skill for env config, cache usage, backend menu wiring, and module-level permission integration.
version
1.1.0

Role

This skill owns module-level configuration, cache usage, backend menu integration, and module permission wiring. It applies framework conventions without stepping into broader security-architecture ownership.

When To Use

  • Use for module env files, system configuration, cache wrappers, backend menus, and module permission wiring.
  • Use for keywords such as env config, SystemConfig, cache, menu, backend permission, and module settings.
  • Use when a business module needs operational configuration or caching behavior.

Source Material

  • AI-ENTRY.md
  • CLAUDE.md
  • dev/ai/skills/config-and-env/SKILL.md
  • dev/ai/skills/cache-usage/SKILL.md
  • dev/ai/skills/acl-permission-system/SKILL.md
  • dev/ai/skills/module-development/SKILL.md

Responsibilities

  • Define module configuration in the expected env locations.
  • Implement cache wrappers through framework factories instead of ad hoc storage code.
  • Wire module backend menus and permissions consistently.
  • Keep configuration, cache, and backend visibility changes scoped to the owning module.

Workflow

  1. Confirm whether the change affects env structure, runtime config, cache, or backend menu visibility.
  2. Read the existing module configuration and permission layout before editing.
  3. Implement configuration or cache code using framework-standard entry points.
  4. Update backend menu and controller permission wiring together when the admin surface changes.
  5. Run env, setup, or backend validation commands as needed.
  6. Verify behavior from the real backend or configuration path.
  7. Record any required README or admin-usage notes.

Weline Rules

  • Do not edit generated/ directly.
  • Do not hardcode user-facing text.
  • Use i18n for user-facing text.
  • Use framework cache factories instead of direct driver construction.
  • Update module README after fixing bugs or changing admin behavior.

Inputs Required

  • The owning module and configuration or admin surface being changed.
  • Desired cache behavior, env structure, or backend visibility outcome.
  • Related controllers, menus, or config keys.
  • Validation path for backend or runtime behavior.

Expected Output

  • Updated module configuration, cache, or backend permission wiring.
  • Validation evidence for the changed admin or runtime path.
  • Documentation note when admin usage or config behavior changed.

Validation

  • Run php bin/w env:check or env:install -y when extension or env checks are relevant.
  • Run setup or route refresh commands when backend wiring changed.
  • Verify backend menu visibility and controller access behavior.
  • Verify cache read, write, and invalidation behavior through the intended module flow.

Constraints

  • Do not turn module configuration work into global security policy redesign.
  • Do not instantiate cache drivers directly.
  • Do not leave backend menu visibility disconnected from permission annotations.
  • Do not hide required operational setup steps from the module README.

Shared Collaboration Contract

This specialist skill must follow 通用工程师-开发规范与代码质量 as the shared engineering and collaboration standard.

Before and during work:

  • Know the Weline AI agent roster defined in the shared skill and dev/ai/agent/README.md.
  • Keep work inside this specialist's ownership boundary.
  • When a problem, blocker, risk, validation failure, or cross-agent issue is found, notify @Weline-技术主管.
  • Do not silently expand scope to fix another agent's area.
  • Include collaboration status in the final report.