agentleFS
TienDat-VnaTienDat-Vna/BackSpec/.agents/skills/analyze-feature/SKILL.md

analyze-feature

Skill1 starsChanged 46 days agoMITView on GitHub

Phân tích kỹ lưỡng kiến trúc, constitution, ranh giới bounded context và specs trước khi bắt đầu code một tính năng mới.

The file

Files
SKILL.md
<!-- GENERATED FROM registry/skills/analyze-feature/SKILL.md — DO NOT EDIT DIRECTLY --><!-- GENERATED FROM .shared/skills/01-spec-management/analyze-feature/SKILL.md — DO NOT EDIT DIRECTLY -->

Skill — Analyze Feature (Backend Microservice)

Skill này bắt buộc AI Agent tuân thủ thứ tự phân tích trước khi viết dòng code đầu tiên.

Thứ tự đọc bắt buộc:

  1. CONSTITUTION.md — Stack công nghệ, các giới hạn kích thước code, chính sách bảo mật và ngưỡng kiểm thử.
  2. CLAUDE.md — Layer kiến trúc, ADRs, Lessons learned, Golden patterns.
  3. AGENTS.md — Domain rules, DTO pattern, Soft delete, Exception handling.
  4. .sdd/specs/feat-{{feature}}/SPEC.md — Đặc tả chi tiết về API, DB schema, Event contracts của feature.
  5. Tra cứu danh mục Technical Skills phù hợp: /backend-api-design-flow, /database-transaction-management, /jpa-n-plus-one-optimization, /spring-middleware-pipeline, /redis-cache-patterns.

Kết quả phân tích cần xác nhận:

  • Bounded context của feature thuộc package/module nào?
  • Có thay đổi DB Schema không? Đã có kế hoạch migration chưa (xem /db-migration)?
  • Có gọi sang microservice ngoài không? Đã có timeout, retry và fallback chưa (xem /defensive-troubleshooting-guide)?
  • DTO Request/Response đã phân tách hoàn toàn khỏi Entity chưa?
  • Idempotency key đã được thiết kế chưa (xem /redis-cache-patterns)?

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.