incremental-implementation
Fungsinya
Skill ini membantu Anda memecah tugas besar menjadi bagian-bagian kecil yang lebih mudah dikelola. Skill ini memandu cara menerapkan perubahan kode secara bertahap, dengan menguji dan memverifikasi setiap langkah sebelum lanjut ke langkah berikutnya.
Kapan dipakai
- βSaat menerapkan fitur baru yang memengaruhi beberapa file.
- βSaat tugas pemrograman terasa terlalu besar untuk dikerjakan sekaligus.
- βSaat melakukan refactoring (memperbaiki) kode yang sudah ada.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/incremental-implementation/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBagaimana cara memecah pembuatan login pengguna menjadi langkah-langkah kecil?β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Idenya adalah mengerjakan satu bagian kecil dalam satu waktu: terapkan satu bagian kecil, uji apakah sudah berfungsi, verifikasi bahwa hasilnya benar, lalu simpan (commit). Ulangi langkah ini sampai tugasnya selesai.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Supporting material availability
This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:
<support-root>/references/definition-of-done.md
Obtain the required material from the declared upstream source, or from a user-provided installation of that source. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the userβs authorized scope; report any dependent step as unavailable.
Incremental Implementation
Overview
Build in thin vertical slices β implement one piece, test it, verify it, then expand. Avoid implementing an entire feature in one pass. Each increment should leave the system in a working, testable state. This is the execution discipline that makes large features manageable.
When to Use
- Implementing any multi-file change
- Building a new feature from a task breakdown
- Refactoring existing code
- Any time you're tempted to write more than ~100 lines before testing
When NOT to use: Single-file, single-function changes where the scope is already minimal.
The Increment Cycle
ββββββββββββββββββββββββββββββββββββββββ
β β
β Implement βββ Test βββ Verify βββ β
β β² β β
β ββββββ Commit βββββββββββββββ β
β β β
β βΌ β
β Next slice β
β β
ββββββββββββββββββββββββββββββββββββββββ
For each slice:
- Implement the smallest complete piece of functionality
- Test β run the test suite (or write a test if none exists)
- Verify β confirm the slice works as expected (tests pass, build succeeds, manual check)
- Commit -- save your progress with a descriptive message (see
git-workflow-and-versioningfor atomic commit guidance) - Move to the next slice β carry forward, don't restart
Slicing Strategies
Vertical Slices (Preferred)
Build one complete path through the stack:
Slice 1: Create a task (DB + API + basic UI)
β Tests pass, user can create a task via the UI
Slice 2: List tasks (query + API + UI)
β Tests pass, user can see their tasks
Slice 3: Edit a task (update + API + UI)
β Tests pass, user can modify tasks
Slice 4: Delete a task (delete + API + UI + confirmation)
β Tests pass, full CRUD complete
Each slice delivers working end-to-end functionality.
Contract-First Slicing
When backend and frontend need to develop in parallel:
Slice 0: Define the API contract (types, interfaces, OpenAPI spec)
Slice 1a: Implement backend against the contract + API tests
Slice 1b: Implement frontend against mock data matching the contract
Slice 2: Integrate and test end-to-end
Risk-First Slicing
Tackle the riskiest or most uncertain piece first:
Slice 1: Prove the WebSocket connection works (highest risk)
Slice 2: Build real-time task updates on the proven connection
Slice 3: Add offline support and reconnection
If Slice 1 fails, you discover it before investing in Slices 2 and 3.
Implementation Rules
Rule 0: Simplicity First
Before writing any code, ask: "What is the simplest thing that could work?"
After writing code, review it against these checks:
- Can this be done in fewer lines?
- Are these abstractions earning their complexity?
- Would a staff engineer look at this and say "why didn't you just..."?
- Am I building for hypothetical future requirements, or the current task?
SIMPLICITY CHECK:
β Generic EventBus with middleware pipeline for one notification
β Simple function call
β Abstract factory pattern for two similar components
β Two straightforward components with shared utilities
β Config-driven form builder for three forms
β Three form components
Three similar lines of code is better than a premature abstraction. Implement the naive, obviously-correct version first. Optimize only after correctness is proven with tests.
Rule 0.5: Scope Discipline
Touch only what the task requires.
β¦
Pertanyaan umum
Apa arti 'slicing' pada kode?
Artinya membagi tugas besar menjadi beberapa tugas kecil yang berdiri sendiri, seperti memotong kue menjadi beberapa irisan.
Mengapa penting untuk menguji di setiap langkah?
Menguji di setiap langkah memastikan setiap bagian kecil berfungsi dengan benar, sehingga kesalahan tidak menumpuk dan lebih mudah diperbaiki nanti.
Apa itu 'commit'?
Itu adalah cara menyimpan progres Anda. Anggap saja seperti mengambil foto pekerjaan Anda sampai titik tersebut, lengkap dengan keterangan tentang apa yang sudah dikerjakan.
Detail
Deskripsi asli dari pembuat
Delivers changes incrementally. Use when implementing any feature or change that touches more than one file. Use when you're about to write a large amount of code at once, or when a task feels too big to land in one step.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #4945
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.