api-naming
FreePowerX API 命名、前缀配置、版本迁移与插件网关路径规范(/admin、/internal 边界)。
The English summary is being prepared. Showing the original description.
生成 PowerX 功能使用指导文档(人性化、可执行、与实现对齐)。强制包含业务背景、模块关系、流程图、泳道图、页面/接口/命令步骤、验收、排障、回滚与代码映射。
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
当你需要为 PowerX 平台能力编写“可直接执行、跨角色可协作”的功能文档时使用本技能。典型场景:
输出一份可执行 + 可验收 + 可追溯的 PowerX 文档,满足:
最终文档必须按以下顺序组织章节:
flowchart LR 或 flowchart TDflowchart LR + subgraph 模拟泳道/api/v1/admin、/api/v1/tenant)。.env/配置文件/运行时覆盖)。收集上下文
specs/<feature-id>/spec.md|plan.md|tasks.md|quickstart.md(如存在)梳理功能地图
先画图再写步骤
补齐验收与排障
做代码映射表
templates/feature-guide-template.md未被用户显式指定输出路径时,使用以下规则:
specs/<feature-id>/... 时:
<feature-id> 或 spec 主题属于“部署/运维”(如 deploy、docker、systemd、ops、backup、migration):
docs/guides/deploy/<feature-id>/docs/guides/features/<feature-id>/guide.mdspecs/ 下临时文档。必须根据实际场景自动判断是否拆分多文档:
guide.md 单文档。guide.md(总览:背景、模块、依赖、验收总则、索引)usecase-<slug>.md(每条链路一份)<slug> 规则:
us1、scenario-a)+ 语义短名guide.md 必须包含 Use Case 索引表(文件名 + 适用角色 + 验收口径)。文档至少包含:
满足以下条件才算文档完成:
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
PowerX API 命名、前缀配置、版本迁移与插件网关路径规范(/admin、/internal 边界)。
The English summary is being prepared. Showing the original description.
PowerX 底座 Capability 治理与发布准入规则。用于审计 REST/OpenAPI/gRPC/Gin 生成的能力候选、正式 platform_capabilities 目录、Capability Registry 登记、agent_usable/permission_code/risk_level 元数据、ignore 清单和缺失能力;当用户要求“重新识别能力”“能力是否能发布”“补齐能力登记”“检查 capability-gen/audit/check”“底座接口暴露给插件/agent”时使用。
The English summary is being prepared. Showing the original description.
PowerX REST 契约规则(资源命名、分页、错误、版本化)。
The English summary is being prepared. Showing the original description.
PowerX CRUD 依赖注入规则(Deps 单入口、构造注入、跨传输复用)。
The English summary is being prepared. Showing the original description.
PowerX CRUD DTO 规则(输入输出分离、分页、校验)。
The English summary is being prepared. Showing the original description.
PowerX CRUD gRPC 开发规范(proto、server、拦截器、错误映射)。
The English summary is being prepared. Showing the original description.