planning

GitHub

用于复杂功能、重构或多文件变更前的结构化设计规划。引导先理解问题,提出备选方案并获批准,再制定分步实施计划,确保方向明确后再编码。

skills/planning/SKILL.md open-metadata/OpenMetadata

Trigger Scenarios

开始非平凡的功能开发 涉及多文件的代码重构 根因不明的Bug修复

Install

npx skills add open-metadata/OpenMetadata --skill planning -g -y
More Options

Use without installing

npx skills use open-metadata/OpenMetadata@planning

指定 Agent (Claude Code)

npx skills add open-metadata/OpenMetadata --skill planning -a claude-code -g -y

安装 repo 全部 skill

npx skills add open-metadata/OpenMetadata --all -g -y

预览 repo 内 skill

npx skills add open-metadata/OpenMetadata --list

SKILL.md

Frontmatter
{
    "name": "planning",
    "description": "Use when starting a non-trivial feature, refactor, or multi-file change. Forces structured design thinking before writing any code - brainstorm approaches, get approval, then create a step-by-step implementation plan.",
    "argument-hint": "<feature or task description>",
    "user-invocable": true
}

Planning - Design Before Code

Structured workflow for planning implementation before writing code. Prevents wasted effort from diving in without a clear direction.

When to Use

  • New features spanning multiple files or modules
  • Refactors touching backend, frontend, or ingestion layers
  • Bug fixes where the root cause is unclear
  • Any task where the approach isn't immediately obvious

Workflow

Phase 1: Understand the Problem

  1. Read before suggesting. Explore the relevant code, schemas, and tests. Do not propose changes to code you haven't read.
  2. Ask clarifying questions one at a time. Don't dump a list of 10 questions.
  3. Identify constraints:
    • Which layers are affected? (Java backend, React frontend, Python ingestion, JSON schemas)
    • Are there existing patterns to follow? (Check similar implementations)
    • Database migration needed? (Flyway in bootstrap/sql/migrations/)
    • Schema changes needed? (openmetadata-spec/ JSON schemas)

Phase 2: Propose Approaches

Present 2-3 approaches with trade-offs:

## Approach A: [Name]
- How it works: [1-2 sentences]
- Pros: [bullet list]
- Cons: [bullet list]
- Files affected: [list]
- Risk: [low/medium/high]

## Approach B: [Name]
...

## Recommendation: [A or B] because [reason]

Wait for user approval before proceeding.

Phase 3: Create Implementation Plan

Once an approach is approved, break it into ordered tasks:

  1. Each task should be completable in a single focused step
  2. Each task must specify:
    • Exact file paths to create or modify
    • What changes to make (not vague descriptions)
    • Verification command (test to run, build to check)
  3. Order tasks by dependency — schema changes before model generation, backend before frontend
  4. Include a final verification task that runs all relevant tests

OpenMetadata task ordering pattern:

1. JSON Schema changes (openmetadata-spec/)
2. Run: make generate (regenerate Pydantic models)
3. Java backend changes (openmetadata-service/)
4. Run: mvn spotless:apply && mvn test-compile
5. Python ingestion changes (ingestion/)
6. Run: cd ingestion && make py_format && make py_format_check && make unit_ingestion_dev_env
7. Frontend changes (openmetadata-ui/.../ui/)
8. Run: yarn lint && yarn test
9. Database migrations if needed (bootstrap/sql/)
10. Full verification: mvn test or relevant integration tests

Phase 4: Execute

  • Work through the plan task by task
  • Mark each task complete as you finish it
  • If you hit a blocker, stop and discuss — don't silently deviate from the plan
  • After all tasks complete, run the final verification

Rules

  • Never skip Phase 2. Even if the approach seems obvious, stating it gets alignment.
  • No placeholder code. Every step in the plan must describe real, complete changes.
  • Schema-first. If the feature touches data models, start with JSON Schema changes in openmetadata-spec/.
  • User approves before code. Don't write code until the plan is approved.

Version History

  • a1e7b7a Current 2026-07-24 20:48

Same Skill Collection

.agents/skills/java-checkstyle/SKILL.md
.agents/skills/ui-checkstyle/SKILL.md
.claude/skills/java-checkstyle/SKILL.md
.claude/skills/playwright-validation/SKILL.md
.claude/skills/playwright/SKILL.md
.claude/skills/writing-playwright-tests/SKILL.md
skills/code-review/SKILL.md
skills/connector-audit/SKILL.md
skills/connector-building/SKILL.md
skills/connector-review/SKILL.md
skills/connector-standards/SKILL.md
skills/dev-setup/SKILL.md
skills/java-checkstyle/SKILL.md
skills/openmetadata-workflow/SKILL.md
skills/playwright-validation/SKILL.md
skills/playwright/SKILL.md
skills/pr-checklist/SKILL.md
skills/systematic-debugging/SKILL.md
skills/tdd/SKILL.md
skills/test-enforcement/SKILL.md
skills/test-locally/SKILL.md
skills/ui-checkstyle/SKILL.md
skills/verification/SKILL.md
skills/writing-playwright-tests/SKILL.md
.claude/skills/ui-checkstyle/SKILL.md
.claude/skills/ui-core-components/SKILL.md
skills/ui-core-components/SKILL.md

Metadata

Files
0
Version
5ab32e5
Hash
0c7ddb02
Indexed
2026-07-24 20:48

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 12:40
浙ICP备14020137号-1 $Гость$