Skip to content
issue-size-estimation logo

Issue粒度判定 & コード行数見積もり

issue-size-estimation

Issue粒度判定とコード行数見積もりの基準、サイズラベル、分割判定ロジックを定義

SKILL.md

Full skill instructions

Issue粒度判定 & コード行数見積もり

参照元: 実装ワークフローの粒度判定ロジック


概要

実装タスクは200行以下のIssueを対象とすることを推奨する。 大きなIssueは事前に /​decompose-issue で分解してから実行すること。


粒度判定基準

粒度対応
200行以下直接実装可能
200行超/​decompose-issue で分割してから実装
新規設計/​detailed-design-workflow で設計時に適切な粒度でIssue作成

粒度ルール

項目基準
コード量200行以下
ファイル数1-3ファイル
責務単一責務(1つの機能・1つの目的)
テスト可能性独立してテスト可能
所要時間目安10-15分で実装完了

サイズラベル

プロジェクトで以下のラベルを使用することを推奨:

ラベル目安行数対応
size/​xs~50行直接実装
size/​s~100行直接実装
size/​m~200行直接実装(境界)
size/​l~400行要分割
size/​xl~800行以上要分割

行数見積もり方法

優先順位:

  1. Issue labelsから推定(size/​* ラベル)
  2. 設計書のコードブロックから推定
  3. Issueタイトル・本文のキーワードから推定

キーワードベース推定:

キーワード推定行数
fix~50行
update~80行
add~100行
refactor~150行
create~150行
implement~200行

分割判定

def should_decompose(issue_id: int) -> bool:
    """分割が必要かどうか判定"""
    estimated = estimate_code_lines(issue_id)
    return estimated > 200

大きなIssueを見つけた場合

# 1. まず分解コマンドを実行
/​decompose-issue 8

# 2. 作成されたSubtaskを実装
# (各Subtaskを順次実装)

リトライポリシー

条件アクション
Issue失敗(1-2回目)リトライ
Issue失敗(3回目)Draft PRを作成、ユーザーに報告
複数Issue並列時失敗したIssueのみ報告、他は継続

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
A
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View