agentleFS
ziffanziffan/auto-continue-cli-agent/.claude/skills/vertical-slice/SKILL.md

vertical-slice

Skill1 starsChanged 4 months agoApache-2.0View on GitHub

Pecah spec atau milestone menjadi atomic vertical slices — 1 task = 1 fitur end-to-end testable (UI + API + DB sekaligus), bukan per layer — lalu tulis ke docs/MILESTONES.md dengan kriteria selesai dan bukti verifikasi. Gunakan saat menyusun MILESTONES.md, membuat task list / breakdown implementasi, menyiapkan prompt untuk subagent eksekutor, ATAU saat melihat rencana task per-layer (1 task UI + 1 task API + 1 task DB) — itu anti-pattern, perbaiki dengan skill ini.

11 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use convention-learner, opentelemetry and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • codewithmukeshSkill

    convention-learner

    Detects and enforces project-specific coding conventions by analyzing existing codebase patterns. Learns naming conventions, folder structure, test organization, and coding style from the existing code. Load when: "conventions", "coding standards", "project patterns", "enforce style", "detect patterns", "learn conventions", "code consistency".

    Also in 3 projects that use this

  • codewithmukeshSkill

    opentelemetry

    OpenTelemetry observability for .NET 10 applications. Covers traces, metrics, and logs using the OpenTelemetry SDK with OTLP export. Includes custom ActivitySource, IMeterFactory metrics, resource configuration, and Aspire Dashboard integration. Load this skill when setting up distributed tracing, custom metrics, OTLP export, or when the user mentions "OpenTelemetry", "OTLP", "traces", "spans", "Activity", "ActivitySource", "metrics", "IMeterFactory", "Meter", "Counter", "Histogram", "Gauge", "telemetry", "observability", "distributed tracing", "OTEL", or "Aspire Dashboard".

    Also in 3 projects that use this

  • MovGP0Skill

    modern-csharp

    Modern C# style guidance for Bendex and MicroSea code changes, including primary constructors, expression-bodied members, var usage, target-typed new, lambdas, and pattern matching.

    Also in 3 projects that use this

  • MicrosoftSkill

    resilience

    Apply resilience patterns (retry, backoff, circuit breaking) when writing or reviewing code that makes outbound HTTP/REST calls, database operations, or any I/O that can experience transient failures. Use this skill when: (1) writing new code that calls external services or APIs, (2) reviewing code that uses fetch, HTTP clients, or service-to-service calls, (3) adding queue consumers or workers that interact with remote systems, (4) debugging intermittent failures in production.

    Also in 3 projects that use this

  • wpankSkill

    caching

    Caching strategies, invalidation, eviction policies, HTTP caching, distributed caching, and anti-patterns. Use when designing cache layers, choosing eviction policies, debugging stale data, or optimizing read-heavy workloads.

    Also in 3 projects that use this

  • MicrosoftSkill

    authentication

    Wire this in whenever the app uses or connects to data — records, a database, entities, per-user data, row-level security — or when the user wants sign-in, accounts, login, or protected pages. Rayfin data is always accessed as an authenticated user, so **data implies auth**; only a static page over public data skips it. The starter ships as a no-auth "hello world" that previews with no backend, and the full Fabric auth scaffolding is already in the project — this skill wires it in: AuthProvider + bootstrapAuth in main.tsx, the route guard in App.tsx, the sign-in page, sign-out, and the env/deploy requirement. Triggers: auth, authentication, sign in, sign-in, login, log in, sign out, logout, account, user, identity, protect route, require login, gated page, data, database, records, per-user, row-level security, who is the current user, Fabric auth, Entra.

    Also in 3 projects that use this

  • +1 more from microsoft

The file

Files
SKILL.md

Vertical Slice Breakdown

Kenapa vertical, bukan horizontal: slice end-to-end bisa di-test dan di-review sebagai satu unit fungsional. Task per-layer baru bisa diverifikasi setelah semua layer selesai — artinya review menumpuk di akhir dan integrasi jadi tempat semua bug bertemu. Di model fleet, slice juga unit partisi kerja subagent: satu slice = satu subagent = satu set file.

Step 1 — Baca sumber

docs/PROJECT.md (stories Must/Nice/Later), docs/ARCHITECTURE.md, docs/DECISIONS.md (locked constraints), docs/CONVENTIONS.md. Scope milestone diambil dari user stories Must terlebih dahulu.

Step 2 — Bentuk milestone

  • Ukuran milestone: 2-5 hari kerja penuh. Kalibrasi solo 15-20 jam/minggu: itu 1-2 minggu kalender weekday, atau satu blok weekend. Lebih besar → pecah.
  • Tiap milestone ditutup integration test + wrap-up (skill milestone-wrapup).
  • Urutkan berdasarkan dependency teknis + nilai user; fondasi (auth, tenancy, data model) duluan karena semua slice lain menumpanginya.

Step 3 — Pecah jadi slices

Definisi atomic vertical slice: perilaku yang bisa didemo ke user, menembus semua layer yang dibutuhkannya, selesai dalam 1-3 jam kerja agent + review.

Format per slice di docs/MILESTONES.md:

### M{n}.{i} — {nama fitur}
**Slice**: {satu kalimat perilaku end-to-end yang bisa didemo}
**Scope file**: {folder/file yang boleh disentuh}
**Di luar scope**: {file yang DILARANG disentuh — batas partisi paralel}
**Kriteria selesai (testable)**:
- {Given/When/Then dari acceptance criteria story terkait}
- Loading / empty / error state tertangani (paling sering bocor di kode AI-generated)
**Bukti verifikasi yang wajib disetor**:
- Output test hijau (paste, bukan klaim) · screenshot bila UI · log run migration bila ada
**Tier review**: {1|2|3 — rujuk skill tier-review; sebut alasan bila Tier 1}

Step 4 — Validasi anti-pattern

Tolak dan susun ulang bila menemukan:

  • Task berjudul layer: "buat semua endpoint", "buat semua UI", "setup database untuk semua fitur" → pecah per perilaku.
  • Slice tanpa kriteria testable ("perbaiki UX", "refactor") → tulis kondisi selesai yang bisa diverifikasi, atau keluarkan dari milestone.
  • Dua slice paralel dengan scope file tumpang-tindih → gabung, atau serialkan, atau geser batas file. Tumpang-tindih = konflik merge yang pasti terjadi.
  • Slice > 3 jam → pecah; slice < 30 menit → gabungkan dengan tetangganya.

Step 5 — Siapkan kontrak subagent (bila dieksekusi fleet)

Prompt eksekutor per slice memuat: konteks (pointer ke docs, bukan salinan) · slice + kriteria selesai · scope file + larangan file · konvensi wajib (pointer CONVENTIONS.md) · bukti verifikasi yang diminta · perintah "tulis test-nya juga". Untuk slice Tier 1, skenario test ditentukan orkestrator/user, bukan si penulis kode — penulis yang menguji asumsinya sendiri hanya membuktikan asumsinya sendiri.

Aturan paralel: file tidak tumpang-tindih · hanya satu pemegang build/emulator pada satu waktu · worktree terpisah untuk stream besar.

Output wajib ke user

docs/MILESTONES.md terisi + ringkasan: jumlah milestone, jumlah slice, slice mana Tier 1, dependency antar milestone, estimasi kalender (estimasi instingtif × 1,5).

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.