一键导入
system-create-skill
Use when creating, updating, or consolidating Agent Skills in this repository, including canonical placement, naming, and AGENTS.md alignment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when creating, updating, or consolidating Agent Skills in this repository, including canonical placement, naming, and AGENTS.md alignment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when creating or updating MCP resources — static files exposed to MCP clients via `resources/list` and `resources/read`. Covers `.meta.json` descriptors, URI rewriting, dynamic resources via `mcp:resources/list` event hook, and the `mcp-system` scheme.
Use when exposing an existing `origin: ["remote"]` listener as an MCP tool without rewriting the handler. Covers the one-line manifest pattern that re-uses the same class+method, plus the minimal schema work needed to satisfy `McpToolsListHandler::collectTools()`. Complements system-create-mcp-tool (which covers the greenfield case).
Use when exposing a Zolinga event handler as an MCP (Model Context Protocol) tool — i.e. a method clients can invoke via JSON-RPC `tools/call`. Covers handler class, manifest binding, JSON Schemas, the `Tools\CallEvent` contract, and the `schema.response` requirement enforced by `McpToolsListHandler::collectTools()`.
Use when working with the JavaScript client-side event system in Zolinga. Covers the Event class, Api gateway, dispatching events from JS to PHP, receiving broadcastBack responses, inter-component communication via BroadcastChannel, and web component integration.
Use when adding localized strings in PHP or HTML, including gettext usage patterns and context-aware translation strings for Zolinga Intl.
Use when writing or reviewing PHP code in this repository to enforce strict typing, naming, file layout, and listener/service interface conventions.
| name | system-create-skill |
| description | Use when creating, updating, or consolidating Agent Skills in this repository, including canonical placement, naming, and AGENTS.md alignment. |
| argument-hint | <scope:system|module> <skill-name> [goal] |
Prefer reusing existing skills.
Create new skills only for reusable, non-trivial workflows.
Keep core/general skills in system/skills/.
Keep module-specific skills in modules/<module>/skills/<module>-<skill-name>/SKILL.md.
Keep .agents/AGENTS.md concise; avoid duplicating full procedures documented in skills.
Placement: prefer system/skills/ for cross-cutting flows and modules/<module>/skills/ for module-scoped flows.
When to create: create new skills only for reusable workflows that require more than 3 steps or involve multiple modules.
AGENTS.md and skill catalog have drifted.system/skills/<skill-name>/SKILL.mdmodules/<module>/skills/<module>-<skill-name>/SKILL.md.agents/skills/. That directory is auto-populated with symlinks by the framework. Any real files or directories placed there (other than the single permitted zolinga-setup/ directory) are wrong and must be moved to the canonical module location. Edit skills only in system/skills/ or modules/<module>/skills/.zolinga.json and run bin/zolinga (no parameters). The system autodetects the change, rescans manifests, and regenerates symlinks..agents/AGENTS.md. Modules are optional and vary between installations. Module skills are auto-discovered at runtime; listing them in AGENTS.md creates a false dependency.Use clear intent-driven names.
Core skills use system-... prefix.
Module skills must be prefixed with module name: <module>-<skill-name>.
Keep names stable once referenced by docs or other instructions.
Verify the SKILL.md file conforms to this modules/<module-name>/skills/<module-name>-<skill-name>/SKILL.md before publishing and for system itself system/skills/system-<skill-name>/SKILL.md.
Frontmatter:
namedescriptionargument-hintBody sections (recommended):
Use WhenWorkflow or equivalent actionable stepsReferencessystem/skills/...modules/<module>/skills/...modules/), fix the module name or create/rename it to be the required directory.SKILL.md..agents/AGENTS.md only with high-level policy and current skill inventory pointers, not full duplicated procedures.Keep .agents/AGENTS.md as policy/index, not a long how-to.
If guidance is detailed and procedural, move it into a dedicated skill and reference that skill by name.
Keep the “Skills Available” list aligned with current canonical system skills.
Concision guideline: AGENTS.md entries should be short — limit to a maximum of 3 sentences or 50 words per skill entry; link to the canonical SKILL.md for details.
.agents/skills/.AGENTS.md does not duplicate full skill internals..agents/AGENTS.mdsystem/skills/system-module-development/SKILL.mdsystem/skills/system-authoring-manifest/SKILL.md