计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
lov-api-creator【效率与协作】当开发某个 app 需要 API 网关能力时,在 uni-api(FastAPI 聚合网关)后端新增该 app 的网关 端点与分组,并在 uni-app 前端封装统一调用层。触发:集成网关到 uni-app / integrate an API gateway into my uni-app project。
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
开发某个 app 需要 API 网关能力时,本 Skill 在 uni-api(FastAPI 聚合网关)后端为该 app 创建网关
端点与 /docs 分组,并在对应 uni-app 前端项目封装统一调用层,让 app 通过网关访问聚合后的 API。
lov-install-zenmux-api。lov-refactor-api。lov-deploy-to-vercel。lov-app-generator / lov-oh-my-landingpage。Every generated Skill is connected to the shared user-profile/v1 contract in
skill.yaml. Read the shared user, brand, workspace, preferences, and this
Skill's skills.<skill_id> namespace at the start of every run. Keep the source
portable: resolved personal values belong in the shared profile, never here.
When the user directly states a durable preference or brand fact, persist it
through scripts/profile_store.py and report the saved profile path. Put
Skill-specific values under records.<field>; use brand.<field> or
user.<field> for shared values. Do not persist inferred secrets or credentials.
See references/user-profile.md for the complete contract.
This repository is a self-contained Skill Kit. At Step 0, load and verify:
$SKILL_DIR/skills/backend/SKILL.md — lov-backend$SKILL_DIR/skills/frontend/SKILL.md — lov-frontendkit.yaml is the machine-readable module and pipeline manifest. Every module
listed there must ship inside this repository.
Read references/skill-composition.md before deciding whether to invoke or
extend any adjacent capability. The record distinguishes optional upstream and
downstream handoffs from embedded Kit modules. Do not silently depend on a
sibling Skill that is not shipped with this source.
You MUST follow these steps in order.
SKILL_DIR if the environment provides it.When running scripts manually:
export SKILL_DIR="/path/to/lov-api-creator"
Resolve context.profile on every invocation. The precedence is current request,
project context, Skill-specific profile records, shared preferences, shared
brand/user profile, then safe defaults. A direct user statement about a durable
preference or brand fact should be saved with scripts/profile_store.py record
using --confirm, followed by a concise saved-path report.
pages.json 与 manifest.json)。references/skill-composition.md.按 kit.yaml 的流水线执行。默认跑 full(backend → frontend);用户只要求一端时只跑对应模块。
$SKILL_DIR/skills/backend/SKILL.md):在 uni-api 后端为该 app 创建网关能力
—— 业务 packages/<domain>/ + router/<capability>.py + 注册进 router/__init__.py
config/app_groups.py + 必要 env。产物是网关端点清单。$SKILL_DIR/skills/frontend/SKILL.md):在 uni-app 前端封装网关调用层
—— 统一 request 封装(baseURL / token / 错误处理)+ 按端点清单生成的模块化 API 文件。
产物是可用的 api/ 模块与用法示例。两模块通过「网关 baseURL + 端点清单」契约交接:backend 的端点表是 frontend 的输入。
python -c "import main" 通过(先按 uni-api 的 AGENTS.md 备好 .env 与 socksio),
/openapi 出现新 tag,/docs 新 Tab 生效。import 后正常调用,错误提示可复制并携带上下文。skill-card.yaml, cases/cases.json, and pricing-card.yaml as the
standard trust bundle for this Skill.python3 与项目 poetry 环境;.env 与 socksio 等
运行前提见 uni-api 仓库根目录 AGENTS.md。