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

gwt-spec-to-issue-migration

Migrate legacy spec sources to artifact-first GitHub Issue specs. Supports local `specs/SPEC-*` directories and body-canonical `gwt-spec` Issues using the bundled migration script.

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

連携ツールGitHub
インストール方法を見る

含まれるファイル(2)

  • SKILL.md3.9 KB
  • scripts/migrate-specs-to-issues.sh9.9 KB

SKILL.md(原文)

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

gwt Spec to Issue Migration

Overview

Use this skill for legacy spec migrations:

  • local specs/SPEC-* directories from a pre-Issue-first workflow
  • existing gwt-spec Issues that still keep the canonical bundle in the Issue body

Migrate legacy sources to artifact-first gwt-spec Issues, then remove or retire the old source of truth.

This skill uses:

  • .gemini/skills/gwt-spec-to-issue-migration/scripts/migrate-specs-to-issues.mjs
  • crates/gwt-core/src/git/issue_spec.rs

Preconditions

  • Run in repository root
  • gh auth status is authenticated for target repo
  • Branch policy is respected (no branch creation/switching unless user requests)
  • $GWT_PROJECT_ROOT environment variable is available; prefer it over CWD for repo resolution

Standard Workflow

  1. Inspect source specs directory (auto-detection or explicit --specs-dir)
  2. Run dry-run automatically and review planned migration count and deletion targets
  3. If the user explicitly asked to migrate or convert, continue into actual migration after the dry-run
  4. Verify migrated issues exist (gwt-spec label)
  5. Confirm legacy local spec files or body-canonical bundles were retired on success
  6. Ask the user only when migration intent is unclear or the requested scope does not obviously include the detected destructive changes

Commands

Dry-run

node ".gemini/skills/gwt-spec-to-issue-migration/scripts/migrate-specs-to-issues.mjs" --dry-run

Dry-run with explicit specs directory

node ".gemini/skills/gwt-spec-to-issue-migration/scripts/migrate-specs-to-issues.mjs" --dry-run --specs-dir "<path-to-specs>"

Execute migration

node ".gemini/skills/gwt-spec-to-issue-migration/scripts/migrate-specs-to-issues.mjs"

Dry-run existing body-canonical issue migration

node ".gemini/skills/gwt-spec-to-issue-migration/scripts/migrate-specs-to-issues.mjs" --dry-run --convert-existing-issues

Execute existing body-canonical issue migration

node ".gemini/skills/gwt-spec-to-issue-migration/scripts/migrate-specs-to-issues.mjs" --convert-existing-issues

Verify report

cat migration-report.json

Note: migration-report.json is deleted automatically after a fully successful migration cleanup. It remains available for dry-run and failure cases.

Verify created issues

gh issue list --label gwt-spec --state all --limit 200

Expected Behavior

  • Auto-detects local specs/ under $GWT_PROJECT_ROOT or the current repository
  • If no SPEC-* directory exists, exits successfully with empty report ([])
  • Migrates local sections from spec.md, plan.md, tasks.md and related artifacts
  • Can rewrite body-canonical gwt-spec Issues into artifact-first format
  • Writes per-spec result to migration-report.json
  • Shows planned deletions during --dry-run
  • Deletes migrated local spec directories, detected legacy workflow leftovers, and migration-report.json after a fully successful cleanup
  • Treats an explicit "migrate/convert" request as approval to execute after the dry-run summary, without an extra confirmation loop
  • Uses REST-safe body-file writes and retry/backoff for GitHub issue create/edit/comment operations where available

Notes

  • For safety, always run --dry-run first.
  • Artifact files in contracts/ and checklists/ are migrated as issue comments.
  • doc:* artifacts are created for spec.md, plan.md, tasks.md, research.md, data-model.md, and quickstart.md.
  • After migration, ongoing spec updates should use Issue-first operations (gwt-spec-ops).
  • This skill is for external legacy import only; gwt's normal spec workflow should never recreate repository-local spec bundles.

レビュー

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

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

drawio

無料

Create and edit draw.io diagrams in XML format. Use when the user wants to create flowcharts, architecture diagrams, sequence diagrams, or any visual diagrams. Handles XML structure, styling, fonts (Noto Sans JP), arrows, connectors, and PNG export.

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

akiojin/llmlb102026年10月18日 更新

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

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

akiojin/llmlb102026年10月18日 更新

Inspect GitHub PR for CI failures, merge conflicts, update-branch requirements, reviewer comments, change requests, and unresolved review threads. Create fix plans and implement after user approval. Reply to ALL reviewer comments with action taken or reason for not addressing, then resolve threads. Notify reviewers after fixes.

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

akiojin/llmlb102026年10月18日 更新

gwt-pr

無料

Create or update GitHub Pull Requests with the gh CLI, including deciding whether to create a new PR or only push based on existing PR merge status. Use when the user asks to open/create/edit a PR, generate a PR body/template, or says 'open a PR/create a PR/gh pr'. Defaults: base=develop, head=current branch (same-branch only; never create/switch branches).

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

akiojin/llmlb102026年10月18日 更新

Check GitHub PR status with the gh CLI, including unmerged PR detection and post-merge new-commit detection for the current branch.

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

akiojin/llmlb102026年10月18日 更新

Semantic search over project source files using vector embeddings. Use to find files related to a feature, bug, or concept.

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

akiojin/llmlb102026年10月18日 更新

akiojin のスキルをすべて見る

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