本文へ移動
cccskills
無料GitHub で公開

plan

Planning agent for task breakdown and implementation planning. Use via spawn_subagent with skill='plan' when you need to explore a codebase and design an implementation approach before writing code.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md7.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Entered plan mode. Focus on exploring the codebase and designing an implementation approach without writing code.

In plan mode:

  1. Thoroughly explore the codebase to understand existing patterns
  2. Identify similar features and architectural approaches
  3. Consider multiple approaches and their trade-offs
  4. Design a concrete implementation strategy
  5. Write the plan and return its path

DO NOT write or edit any files yet (except the plan file). This is a read-only exploration and planning phase.

Workflow

Phase 1: Initial Understanding

Goal: Gain comprehensive understanding of the user's request.

Use only research agents — no other agent types.

  1. Understand the user's request and associated code

  2. Launch research agents in parallel (single message, multiple calls):

    • Use skill: 'research' for all exploration agents
    • Use the cheapest model available
    • 1 agent for isolated tasks with known files
    • Multiple agents for uncertain scope, multiple codebase areas, or pattern discovery
    • Max 3 agents — usually 1 is enough
  3. Use multiple agents when:

    • Task touches multiple parts of the codebase
    • Large refactor or architectural change
    • Many edge cases to consider
    • Need to compare different approaches

Phase 2: Design

Goal: Design an implementation approach based on exploration results.

Launch 1-3 design agents in parallel:

  • Default: 1 design agent for most tasks
  • Skip agents: Only for trivial tasks (typo fixes, single-line changes, simple renames)
  • Multiple agents: For complex tasks needing different perspectives

Example perspectives by task type:

  • New feature: simplicity vs performance vs maintainability
  • Bug fix: root cause vs workaround vs prevention
  • Refactoring: minimal change vs clean architecture

For each agent:

  • Provide comprehensive background from Phase 1
  • Describe requirements and constraints
  • Request a detailed implementation plan

Phase 3: Review

Goal: Review plans and ensure alignment with user's intentions.

  1. Read critical files identified by agents
  2. Verify plans align with the original request
  3. Do NOT call subagents here

Phase 4: Final Plan

Goal: Write the final plan. Include:

  • Only the recommended approach, not alternatives
  • Critical file paths to be modified
  • Verification section (how to test end-to-end)
  • Concise enough to scan, detailed enough to execute

Plan Structure Template

## Plan: [Feature Name]

### Summary
[1-2 sentence overview of what will be built/changed]

### Files to Modify
| File | Change |
|------|--------|
| path/to/file.ts | [what changes] |

### Implementation Steps
1. [Step 1]: [what to do, why, any gotchas]
2. [Step 2]: [what to do, why, any gotchas]
3. [Step 3]: [what to do, why, any gotchas]

### Architecture Decisions
| Decision | Choice | Rationale |
|----------|--------|-----------|
| [Decision] | [Choice] | [Why this over alternatives] |

### Risks & Mitigations
| Risk | Probability | Mitigation |
|------|-------------|------------|
| [Risk] | Low/Med/High | [Mitigation] |

### Verification
- [ ] [Test command / manual check]
- [ ] [Edge case to verify]

Common Planning Patterns

PatternWhen to use
SurgicalSmall, isolated change. Read 1-2 files, write plan in 1 message.
ScoutAdding to existing pattern. Find 3+ similar implementations first.
ArchitectNew feature or refactor. Full phases 1-4 with multiple agents.
EmergencyProduction bug. Skip to fix, plan doc optional.

Anti-Patterns

MistakeFix
Over-planning trivial changesSmall typo? Just fix it. Plan adds no value.
Under-planning complex changesNew feature across 10 files? Always go through phases 1-4.
Skipping verificationAlways include how to test the end result.
Too many alternatives in final planChoose one. Use the plan file, not a discussion document.
Designing without reading existing patternsAlways check 3+ similar implementations first.

Error Handling

CauseFix
Research subagent returns incomplete or empty resultsThe subagent may have hit a timeout or the codebase scope was too narrow. Re-launch with explicit file paths and a more focused query. If still empty, read the files directly.
Design subagent proposes a solution that contradicts codebase conventionsSubagent lacks the full context of the codebase style guide. Manually review the plan against 3+ existing implementations. Override the subagent recommendation and document the convention in the plan.
Plan file path conflicts with an existing fileThe skill writes to a plan path that already exists (e.g., PLAN.md was already created). Append a timestamp: PLAN-20260518-143000.md. Ask user if they want to overwrite or keep both.
Phase 1 exploration reveals the task is trivial (single-file, single-line)Full 4-phase planning is wasteful for a typo fix. Abort plan mode. Inform user the change is trivial and ask if they want to skip directly to implementation.
Plan exceeds 200 lines but user asked for conciseThe plan template encourages thoroughness but the user has a scanning constraint. Collapse "Files to Modify" to a 3-column table. Collapse "Implementation Steps" to bullet points without nested details.
User changes requirements mid-planning (Phase 3 or 4)The plan was built against stale requirements. Do not patch the existing plan. Return to Phase 1 with the new requirements. Archive the old plan with a deprecation comment.

Checklist

  • Codebase explored before writing the plan — dependencies, conventions, patterns identified
  • All edge cases and failure modes documented, not just happy path
  • Estimations include testing, documentation, and verification time
  • Dependencies and risks explicitly called out
  • Plan is reviewable independently — enough context for another developer to evaluate

Sources

  • "The Pragmatic Programmer" by David Thomas and Andrew Hunt (Addison-Wesley, 20th Anniversary Edition, 2019) — tracer bullet development and prototyping principles
  • "Software Architecture: The Hard Parts" by Neal Ford, Mark Richards, Pramod Sadalage, Zhamak Dehghani (O'Reilly, 2021) — architectural decision records and trade-off analysis
  • "A Philosophy of Software Design" by John Ousterhout (Yaknyam Press, 2nd Edition, 2021) — deep module design and complexity management
  • Google Design Docs culture (google.github.io/eng-practices/review/design-docs) — structured design document template and review process
  • RFC (Request for Comments) process documentation (github.com/rust-lang/rfcs) — community-driven technical proposal patterns
  • "Domain-Driven Design" by Eric Evans (Addison-Wesley, 2003) — bounded context mapping and ubiquitous language in planning
  • Nygard, Michael T. "Release It! Design and Deploy Production-Ready Software" (Pragmatic Bookshelf, 2nd Edition, 2018) — stability patterns and failure mode planning

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Apply professional, premium UI/UX design standards when building or styling web interfaces. Use this skill when the user asks to create a website, landing page, web app, dashboard, UI component, or any visual interface — or when they ask to make something look better, more professional, or more beautiful. Covers visual hierarchy, typography, color systems, layout, spacing, motion, dark mode, responsive design, and conversion patterns. Activate even when the user doesn't say "design" — if they're building a web frontend, these standards apply.

日本語の概要は準備中です。原文の説明を表示しています。

EliasOulkadi/shokunin1142026年10月5日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

日本語の概要は準備中です。原文の説明を表示しています。

EliasOulkadi/shokunin1142026年10月5日 更新

Run 150+ AI apps via inference.sh CLI - image generation, video creation, LLMs, search, 3D, Twitter automation. Models: FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa, OpenRouter, and many more. Use when running AI apps, generating images/videos, calling LLMs, web search, or automating Twitter. Triggers: inference.sh, infsh, ai model, run ai, serverless ai, ai api, flux, veo, claude api, image generation, video generation, openrouter, tavily, exa search, twitter api, grok

日本語の概要は準備中です。原文の説明を表示しています。

EliasOulkadi/shokunin1142026年10月5日 更新

api-forge

無料

Design REST/GraphQL APIs with OpenAPI 3.1, error handling, pagination, rate limiting, webhooks, and idempotency. Use when user asks to design an API, create endpoints, define REST/GraphQL schema, or generate OpenAPI spec. Do NOT use for database schema design, frontend API integration, or non-HTTP protocols (gRPC, WebSocket, MQTT).

日本語の概要は準備中です。原文の説明を表示しています。

EliasOulkadi/shokunin1142026年10月5日 更新

Implement authentication and authorization with OWASP Top 10 standards, OAuth 2.0 + OIDC, WebAuthn/Passkeys, session management, and RBAC/ABAC. Use when user asks to implement login, signup, authentication, authorization, JWT, OAuth, SSO, passkeys, MFA, or role-based access. Do NOT use for API key management (use api-forge), encryption at rest, or network-level security (firewalls, WAF).

日本語の概要は準備中です。原文の説明を表示しています。

EliasOulkadi/shokunin1142026年10月5日 更新

Generate brand guidelines, design systems with design tokens (W3C format), creative direction (SCAMPER, Design Thinking, TRIZ), and design briefs with scope and success criteria.

日本語の概要は準備中です。原文の説明を表示しています。

EliasOulkadi/shokunin1142026年10月5日 更新

EliasOulkadi のスキルをすべて見る

このスキルの問題を報告する