pdlc-i18n
Stars10
Forks2
UpdatedMay 7, 2026 at 16:14
国际化(i18n)
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
SKILL.md
readonlyMenu
国际化(i18n)
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
全自动 PDLC 新功能开发(串联 PRD→设计→TDD→实现→评审→发布)
全自动 Bug 修复(定位→复现→修复→测试→文档)
按设计文档和已有测试用例实现代码(带前置守卫、自检、handoff)
创建 PRD 文档(自动化生成 + 自检 + handoff)
质量闸门——跑真实 check、对照质量目标、出可核对报告,由人签字放行
代码评审 + 文档评审
| name | pdlc-i18n |
| description | 国际化(i18n) |
| argument-hint | <目标语言 | 模块名> |
| allowed-tools | Read, Write, Edit, Glob, Grep, Bash |
| layer | 3 |
| stage | engineering |
| produces | [] |
| requires | [] |
| next_step | null |
| terminal_state | null |
为指定的前端应用或后端服务添加国际化支持。
src/locales/zh-CN.json、src/locales/en-US.jsonreact-i18next 或 vue-i18n模块.页面.组件.描述,如 user.login.form.usernameAccept-Language 返回对应语言{
"common": {
"confirm": "确认",
"cancel": "取消",
"save": "保存",
"delete": "删除"
},
"user": {
"login": {
"title": "用户登录",
"username": "用户名",
"password": "密码"
}
}
}
// TODO: 待翻译目标: $ARGUMENTS
本命令的 handoff 输出:
✅ 国际化资源文件 完成
📦 产出:src/locales/<语言>.json
👉 下一步:(本次流程结束,无后续)