AgentSkillsCN

openwebf-host-controller-manager

使用WebFControllerManager安全管理WebF控制器(生命周期、复用、预渲染、多控制器)。当用户提到WebFControllerManager、控制器生命周期、预渲染控制器或多页面WebF集成时使用。

SKILL.md
--- frontmatter
name: openwebf-host-controller-manager
description: Manage WebF controllers safely with WebFControllerManager (lifecycle, reuse, pre-render, multiple controllers). Use when the user mentions WebFControllerManager, controller lifecycle, pre-render controller, or multi-page WebF integration.
allowed-tools: Read, Grep, Glob, Bash, Edit, Write, mcp__openwebf__project_profile, mcp__openwebf__docs_search, mcp__openwebf__docs_get_section, mcp__openwebf__templates_get, mcp__openwebf__templates_render

OpenWebF Host: Controller Management

Instructions

  1. Detect current controller strategy (ad-hoc vs manager) and the navigation pattern.
  2. Prefer WebFControllerManager when you have:
    • multiple WebF screens/subviews
    • preloading/pre-render needs
    • complex lifecycle requirements
  3. Use MCP docs to confirm best practices and safe defaults.
  4. Provide minimal code changes and verification steps.

More: