AGENT SKILL
server-client-boundaries
暂无简介
使用场景后端与接口
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
02 资源文件 6
- 参考文档eval/cases/governance-smoke/expected_result.json769 B
- 参考文档eval/cases/governance-smoke/README.md429 B
- 参考文档examples/governance-example.md276 B
- 参考文档prompts/governance-prompt.md503 B
- 参考文档README.md96 B
- 参考文档skill.contract.yaml458 B
03 SKILL.md 正文
Server Client Boundaries
Follow ../_shared/skill-contract.md.
Purpose
Decide what runs on the server and what stays in the client.
Use when
- data loading and interactivity need separation
- a feature is mixing server and client logic
Do not use when
- the task is only routing placement
- the task is backend implementation
Inputs required
- interactive behavior
- initial data needs
- server-only constraints
Outputs expected
- boundary map
- component split
- state flow notes
Workflow
- List server-only responsibilities.
- List client-only responsibilities.
- Push shared logic into a reusable boundary.
- Keep client components focused on interaction.
- Verify that server code does not leak into client code.
Validation checklist
- [ ] Client code is interactive only
- [ ] Server code owns initial reads where appropriate
- [ ] Boundaries are documented
References
../../prompts/refactor_feature.md../../examples/account-settings-nextjs.md
Karpathy governance
- Contract:
skill.contract.yaml - Eval case:
eval/cases/governance-smoke/README.md - Expected result:
eval/cases/governance-smoke/expected_result.json - Example:
examples/governance-example.md - Prompt:
prompts/governance-prompt.md
04 同仓库更多 Skills
toolkit-i18n-operator
Use the toolkit-i18n CLI for repeated Flutter localization workflows with compact outputs, CSV validation, key coverage reporting, generated JSON exports, and safe non-mutating behavior.
★ 0
toolkit-design-operator
Use the toolkit-design CLI for repeated repository workflows.
★ 0
toolkit-ci-operator
Use the toolkit-ci CLI for repeated repository workflows.
★ 0
toolkit-arch-operator
Use the toolkit-arch CLI for repeated repository workflows, including Flutter i18n usage scans, layer checks, and localization coverage.
★ 0
web-testing
暂无简介
★ 0
web-state
暂无简介
★ 0