跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

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月19日 更新

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月19日 更新

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月19日 更新

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月19日 更新

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月19日 更新

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

中文简介正在准备中。当前显示原文说明。

akiojin/llmlb102026年10月19日 更新

查看 akiojin 的全部技能

报告此技能的问题