cto-review – skill Lập trình cho agent AI
/c-level-agents:cto-review [plan] — Rà soát kiến trúc và khả năng mở rộng. Nợ kỹ thuật, điểm nghẽn khi mở rộng, mở rộng đội ngũ, build-vs-buy. Dùng khi cam kết một kiến trúc, lên kế hoạch cho tải gấp 10 lần, hoặc cân nhắc viết lại so với mua giải pháp từ nhà cung cấp.
Cài skill cto-review bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/cto-review-ab2de.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /cto-review – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/cto-review-ab2de.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $cto-review – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/cto-review-ab2de.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /cto-review – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/cto-review-ab2de.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /cto-review – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
/c-level-agents:cto-review — CTO Forcing Questions
Command: /c-level-agents:cto-review <plan>
Pressure-tests architecture and engineering scaling decisions. Six questions to surface the next scaling cliff before you hit it.
When to Run
- Before approving a major architecture change
- Before doubling the engineering team
- Before a build-vs-buy decision > $100K/year
- When a system is showing reliability stress (SLOs missed)
- Before committing to a new platform / language / DB
The Six CTO Questions
1. Scaling Cliff
Where does the current architecture break, in terms of users / requests / data volume?
- Be specific. "It breaks at 10× current load because the primary DB writes saturate."
- If you don't know, run a load test before deciding.
2. Tech Debt Inventory
What's the top tech debt item, what's it costing per week, and when does it become blocking?
python ${CLAUDE_PLUGIN_ROOT}/vendor/c-level-advisor/cto-advisor/scripts/tech_debt_analyzer.py3. Team Scaling
For each open req, what's the ramp time and contribution model?
python ${CLAUDE_PLUGIN_ROOT}/vendor/c-level-advisor/cto-advisor/scripts/team_scaling_calculator.py4. Build vs Buy
Why are we building this instead of buying it — and what's the 3-year TCO of each?
- If "we want control" or "it's not that hard" — push back.
- If the answer is "this is our core moat," build.
5. SLO / Reliability
What are the SLOs for this system and what's the current error budget burn?
- Without an SLO, you can't reason about reliability tradeoffs.
- See
engineering/slo-architectfor SLO design.
6. Security & Compliance Surface
What does this expose, and has cs-ciso-advisor signed off?
- Architecture decisions are compliance decisions.
- Loop in cs-ciso-advisor before commit.
Workflow
1. Run the tech debt analyzer + team scaling calculator
2. Define the scaling-cliff hypothesis explicitly
3. Cross-check with cs-ciso-advisor for security implications
4. Apply the verdict
Output Format
# CTO Review: <plan>
**Date:** YYYY-MM-DD
## Scaling Cliff
- Current capacity: <metric>
- Break point: <metric>
- Headroom: X months at current growth
## Tech Debt
- Top item: <description>
- Cost per week: $X or N eng-hours
- Blocking date estimate: <date>
## Team
- Open reqs: N
- Median ramp: X months
- Contribution model: <pairing / squad / area>
## Build vs Buy
- 3-year build TCO: $X
- 3-year buy TCO: $X
- Strategic fit: <core / context>
- Decision: BUILD | BUY
## Reliability
- SLO defined: yes / no
- Error budget burn: X% (target < Y%)
## Security
- cs-ciso sign-off: ✅ / ❌
## Verdict
🟢 SHIP | 🟡 SHARPEN | 🔴 BLOCK
## Next Steps
[3 concrete actions]Routing
/c-level-agents:ciso-review— mandatory if data surface changes/c-level-agents:cfo-review— for build-vs-buy > $100K/c-level-agents:execute— quarterly plan/c-level-agents:boardroom— for architecture pivots
Related
- Agent: [
cs-cto-advisor](../../../agents/c-level/cs-cto-advisor.md) - Skill: [
cto-advisor](${CLAUDE_PLUGIN_ROOT}/vendor/c-level-advisor/cto-advisor/SKILL.md) - SLO:
../../../engineering/slo-architect/
---
Version: 1.0.0
Skill liên quan
- imessage – Gửi và nhận iMessage/SMS qua CLI imsg trên macOS.
- multi-reviewer-patterns – Điều phối code review song song trên nhiều khía cạnh chất lượng, với khử trùng lặp phát…
- inference-sh-cli – Chạy hơn 150 ứng dụng AI (hình ảnh, video, LLM) qua inference.sh CLI.
- nodejs-backend-patterns – Xây dựng dịch vụ backend Node.js sẵn sàng cho production với Express/Fastify, triển khai…
- decision-logger – Kiến trúc bộ nhớ hai lớp cho các quyết định của cuộc họp ban giám đốc. Quản lý bản ghi…
- azure-security-keyvault-keys-java – SDK Azure Key Vault Keys cho Java để quản lý khóa mật mã. Dùng khi tạo, quản lý hoặc sử…
- nx-workspace-patterns – Cấu hình và tối ưu workspace monorepo Nx. Dùng khi thiết lập Nx, cấu hình ranh giới dự…
- opentrons-integration – Soạn thảo, rà soát, di chuyển, mô phỏng và gỡ lỗi các giao thức Python Protocol API v2…