{"skill":{"slug":"business-config-cache-acl","displayName":"业务模块工程师 配置缓存与后台权限","summary":"Business module engineer skill for env config, cache usage, backend menu wiring, and module-level permission integration.","description":"---\r\nname: 业务模块工程师-配置缓存与后台权限\r\ndescription: Business module engineer skill for env config, cache usage, backend menu wiring, and module-level permission integration.\r\nversion: 1.1.0\n---\r\n\r\n# Role\r\n\r\nThis 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.\r\n\r\n# When To Use\r\n\r\n- Use for module env files, system configuration, cache wrappers, backend menus, and module permission wiring.\r\n- Use for keywords such as env config, SystemConfig, cache, menu, backend permission, and module settings.\r\n- Use when a business module needs operational configuration or caching behavior.\r\n\r\n# Source Material\r\n\r\n- `AI-ENTRY.md`\r\n- `CLAUDE.md`\r\n- `dev/ai/skills/config-and-env/SKILL.md`\r\n- `dev/ai/skills/cache-usage/SKILL.md`\r\n- `dev/ai/skills/acl-permission-system/SKILL.md`\r\n- `dev/ai/skills/module-development/SKILL.md`\r\n\r\n# Responsibilities\r\n\r\n- Define module configuration in the expected env locations.\r\n- Implement cache wrappers through framework factories instead of ad hoc storage code.\r\n- Wire module backend menus and permissions consistently.\r\n- Keep configuration, cache, and backend visibility changes scoped to the owning module.\r\n\r\n# Workflow\r\n\r\n1. Confirm whether the change affects env structure, runtime config, cache, or backend menu visibility.\r\n2. Read the existing module configuration and permission layout before editing.\r\n3. Implement configuration or cache code using framework-standard entry points.\r\n4. Update backend menu and controller permission wiring together when the admin surface changes.\r\n5. Run env, setup, or backend validation commands as needed.\r\n6. Verify behavior from the real backend or configuration path.\r\n7. Record any required README or admin-usage notes.\r\n\r\n# Weline Rules\r\n\r\n- Do not edit `generated/` directly.\r\n- Do not hardcode user-facing text.\r\n- Use i18n for user-facing text.\r\n- Use framework cache factories instead of direct driver construction.\r\n- Update module README after fixing bugs or changing admin behavior.\r\n\r\n# Inputs Required\r\n\r\n- The owning module and configuration or admin surface being changed.\r\n- Desired cache behavior, env structure, or backend visibility outcome.\r\n- Related controllers, menus, or config keys.\r\n- Validation path for backend or runtime behavior.\r\n\r\n# Expected Output\r\n\r\n- Updated module configuration, cache, or backend permission wiring.\r\n- Validation evidence for the changed admin or runtime path.\r\n- Documentation note when admin usage or config behavior changed.\r\n\r\n# Validation\r\n\r\n- Run `php bin/w env:check` or `env:install -y` when extension or env checks are relevant.\r\n- Run setup or route refresh commands when backend wiring changed.\r\n- Verify backend menu visibility and controller access behavior.\r\n- Verify cache read, write, and invalidation behavior through the intended module flow.\r\n\r\n# Constraints\r\n\r\n- Do not turn module configuration work into global security policy redesign.\r\n- Do not instantiate cache drivers directly.\r\n- Do not leave backend menu visibility disconnected from permission annotations.\r\n- Do not hide required operational setup steps from the module README.\n\n# Shared Collaboration Contract\n\nThis specialist skill must follow `通用工程师-开发规范与代码质量` as the shared engineering and collaboration standard.\n\nBefore and during work:\n\n- Know the Weline AI agent roster defined in the shared skill and `dev/ai/agent/README.md`.\n- Keep work inside this specialist's ownership boundary.\n- When a problem, blocker, risk, validation failure, or cross-agent issue is found, notify `@Weline-技术主管`.\n- Do not silently expand scope to fix another agent's area.\n- Include collaboration status in the final report.\n\n","tags":{"latest":"1.1.0"},"stats":{"comments":0,"downloads":430,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":2},"createdAt":1777824820820,"updatedAt":1778492838254},"latestVersion":{"version":"1.1.0","createdAt":1778210439258,"changelog":"Publish_WelineFramework_Multica_role_skills","license":"MIT-0"},"metadata":null,"owner":{"handle":"aiweline","userId":"s172136s34q2fy2f6r88gdpzm985z150","displayName":"Aiweline","image":"https://avatars.githubusercontent.com/u/32635766?v=4"},"moderation":null}