AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Kry System

skill-dangpm-kry-build-pipeline-kry-system · by dangpm

Act 3 — Dữ liệu + Kiến trúc (cửa 1 chiều). Trigger khi user gõ /kry-system, hoặc nói 'thiết kế data model', 'schema cho app', 'kiến trúc hệ thống', 'dựng nền kỹ thuật', 'chốt stack + database', 'auth thế nào', sau khi đã có UX spec từ /kry-ux. Skill define TƯƠI cho app này: entity→bảng→field→ràng buộc + state machine + boundary/contract + auth/role (RLS) + stack + host. Spawn agent challenger-sys…

— No reviews yet
0 installs
4 views
0.0% view→install

Install

$ agentstack add skill-dangpm-kry-build-pipeline-kry-system

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-dangpm-kry-build-pipeline-kry-system)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 22d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Kry System? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

/kry-system — Act 3: Dữ liệu + Kiến trúc

Dựng nền mà mọi thứ phía sau bám vào. Đây là cửa 1 chiều — schema sai sau khi có data thật phải migration + backfill + downtime, đắt gấp 10-100x sửa UI. Nên làm kỹ, 1 lần, với agent phản biện gác cửa.

> Vị trí: /kry-debrief → /kry-ux → /kry-system → /kry-ui → /kry-plan→cook→qc → /kry-done → /kry-docs → /kry-update ↺ > Define TƯƠI cho app này, KHÔNG bê khuôn. Stack mặc định bạn (Next 16 + Supabase + Tailwind) chỉ là điểm xuất phát — chốt theo nhu cầu thật.

Nguyên tắc

  • Data model sinh từ business rule + entity trong Brief, không bịa. Mỗi rule "không huỷ → trừ buổi" → 1 state transition. Mỗi entity → 1 bảng.
  • Best part is no part — bảng/field nào không phục vụ rule nào → xoá.
  • Mọi quyết định cửa-1-chiều phải qua challenger-system trước khi chốt.

Workflow

Bước 1 — Đọc input

Đọc Business Brief (act 1) + UX spec (act 2): lấy entities, business rules, integrations, vai. Trong project có code → công cụ đọc codebase để hiểu hệ sẵn.

Bước 2 — Draft nền (define tươi)

  1. Data model: entity → bảng → field → kiểu → ràng buộc (unique/FK/check/not-null). Vẽ ERD Mermaid.
  2. State machine: mỗi entity có vòng đời (vd order: pending→paid→expired) → Mermaid stateDiagram.
  3. Boundary/contract: mỗi integration (payment/email/chữ ký số/hoá đơn/webhook) — input/output, fail/retry/idempotency.
  4. Auth/role: vai nào đọc/ghi row nào → bảng RLS policy. Secret để đâu.
  5. Stack + host: chốt (default Next16 + Supabase + VPS/Vercel) + lý do nếu lệch default.

Bước 3 — Spawn challenger-system

BẮT BUỘC spawn agent challenger-system (Nguyên-lý × Gu) bới: data integrity · race/idempotency · security/RLS · boundary fail · soft-delete/audit · scale · lifecycle. Nhận ≥3 challenge → trả lời/sửa nền. Lặp tới khi không còn 🔴.

Bước 4 — Output

ERD (Mermaid) + State machines + Schema (SQL/migration outline)
+ Contracts table + RLS policy + Stack decision (DECISIONS/*.md)

Lưu vào project + có thể đẩy . Đây là input cho /kry-plan (chia lát) + test-runner (test vs ràng buộc).

Bước 5 — Hand off /kry-ui

Cập nhật .kry/state.json (act=3 done, next=kry-ui) → /kry-ui để định nghĩa ngôn ngữ thiết kế.

Anti-pattern

  • ❌ Bịa entity/field không từ rule nào → xoá
  • ❌ Bỏ qua challenger-system (cửa 1 chiều mà không phản biện = tự sát)
  • ❌ Quên idempotency cho webhook · quên RLS · quên audit/soft-delete (nocode hay quên)
  • ❌ Chốt UI/màu ở đây (đó là act 4)
  • ❌ Để secret trong schema/repo
  • ❌ Output English

Triggers

  • "/kry-system", "thiết kế data model", "schema cho app", "kiến trúc hệ thống", "chốt stack + database", "auth thế nào"

Quan hệ

Agent: challenger-system. Trước: /kry-ux. Sau: /kry-ui. Khác doc kiến trúc (ARCHITECTURE.md tổng quan) — kry-system đi sâu data + ràng buộc + RLS để code không sai.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.