AGENT SKILL
team-order
Team conventions for createOrder and item name normalization in src/order.ts.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-11
- Stars
- ★ 10
- Forks
- 1
01 前言 Front Matter
- name
- team-order
- description
- Team conventions for createOrder and item name normalization in src/order.ts.
02 资源文件 1
- 参考文档skill.yaml172 B
03 SKILL.md 正文
Order item names
Our catalog treats runs of ordinary U+0020 spaces as formatting noise. Other interior whitespace can carry meaning in imported product labels.
- Preserve the public
createOrder(item, quantity)API and{ item, quantity }result. - Keep the function pure, with no network, database, or new dependencies.
- Keep existing edge trimming with
String.trim(). - Collapse runs of ordinary U+0020 spaces inside the item name to one space.
- Preserve letter case and all other interior characters, including tabs and non-breaking spaces.
- Reject an empty trimmed name and a quantity that is not a positive integer.
- Add regression tests for the normalization change and check valid and invalid inputs.
These are team instructions. Application behavior must be implemented and tested separately.
04 同仓库更多 Skills
scoped-frontend
Frontend component design and React guidelines
★ 10
scoped-backend
Backend service architecture and API endpoints
★ 10
engineering-workflow
Core software engineering lifecycle workflow
★ 10
team-auth
ContextOS skill for team-auth
★ 10
claude
暂无简介
★ 10
team-order
Team conventions for changes to the order module.
★ 10