本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)6.0k · #14519

openspec-new-change

できること

このスキルは、機能、バグ修正、変更のために、OpenSpecで新しい構造化された変更を始めます。変更ごとに段階的な計画の過程がほしい開発者のためのものです。

使う場面

  • ✓OpenSpecのプロジェクトで、新しい機能、修正、変更を始めたいとき。
  • ✓変更に別のOpenSpecのワークフローを選びたいとき。
  • ✓新しい変更にまだ必要な成果物を見たいとき。

スキルのリンク

https://github.com/fengshao1227/ccg-workflow/blob/main/.agents/skills/openspec-new-change/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/fengshao1227/ccg-workflow/blob/main/.agents/skills/openspec-new-change/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“設定ページにダークモードを追加するための新しいOpenSpecの変更を始めてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは変更に名前を付け、別の指定がなければ初期設定のワークフローを使ってフォルダを作り、次の手順がわかるよう成果物の状態を示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Start a new change using the experimental artifact-driven approach.

Input: The user's request should include a change name (kebab-case) OR a description of what they want to build.

Steps

  1. If no clear input provided, ask what they want to build

    Use the AskUserQuestion tool (open-ended, no preset options) to ask:

    "What change do you want to work on? Describe what you want to build or fix."

    From their description, derive a kebab-case name (e.g., "add user authentication" → add-user-auth).

    IMPORTANT: Do NOT proceed without understanding what the user wants to build.

  2. Determine the workflow schema

    Use the default schema (omit --schema) unless the user explicitly requests a different workflow.

    Use a different schema only if the user mentions:

    • A specific schema name → use --schema <name>
    • "show workflows" or "what workflows" → run openspec schemas --json and let them choose

    Otherwise: Omit --schema to use the default.

  3. Create the change directory

    openspec new change "<name>"
    

    Add --schema <name> only if the user requested a specific workflow. This creates a scaffolded change at openspec/changes/<name>/ with the selected schema.

  4. Show the artifact status

    openspec status --change "<name>"
    

    This shows which artifacts need to be created and which are ready (dependencies satisfied).

  5. Get instructions for the first artifact The first artifact depends on the schema (e.g., proposal for spec-driven). Check the status output to find the first artifact with status "ready".

    openspec instructions <first-artifact-id> --change "<name>"
    

    This outputs the template and context for creating the first artifact.

  6. STOP and wait for user direction

Output

After completing the steps, summarize:

  • Change name and location
  • Schema/workflow being used and its artifact sequence
  • Current status (0/N artifacts complete)
  • The template for the first artifact
  • Prompt: "Ready to create the first artifact? Just describe what this change is about and I'll draft it, or ask me to continue."

Guardrails

  • Do NOT create any artifacts yet - just show the instructions
  • Do NOT advance beyond showing the first artifact template
  • If the name is invalid (not kebab-case), ask for a valid name
  • If a change with that name already exists, suggest continuing that change instead
  • Pass --schema if using a non-default workflow
よくある質問

初期設定のワークフローは何ですか?

別のワークフローを頼まない限り、初期設定のスキーマが使われます。

ほかのワークフローを見られますか?

はい。ワークフローを見たいと頼むと、エージェントが利用できる選択肢を一覧にします。

変更にはどんな名前が付きますか?

エージェントは、あなたの説明から、短いケバブケースの名前を作ります。

詳細

作者による元の説明

Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature, fix, or modification with a structured step-by-step approach.

repo: fengshao1227/ccg-workflow

人気

GitHubのスター
6.0k
ランキング
#14519
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル