feat: add init-repo skill - #17
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
skills/には issue 起票(create-issue)・PR 公開(publish-pr)・README / justfile 構築(build-readme/build-justfile)が揃うが、repo 作成から初回 branch までを担う skill は存在しないgit switch -c mainの失敗、複数ghアカウント環境での owner の曖昧さなど 4 点の improvise が発生した(いずれも本 SKILL.md に反映済み)What
skills/init-repo/SKILL.md(新規)
gh repo create→ghq get→ 空のchore: initcommit をmainへ push → 固定名bootstrapbranch を local に cut して終了git symbolic-ref HEAD refs/heads/mainで対処build-readme/build-justfileの領分)、PR 作成(publish-prの領分)、CI / branch protection は対象外Test
bun test— 38 pass / 0 fail(skill 形式の検証を含む)init-repo-scratch-test(検証後に削除済み)に対し subagent が SKILL.md のみを頼りに全手順を完走 —mainが空 commit 1 個、bootstrapは local のみ、trailer 付き commit を確認Notes
bootstrap-repoではなくinit-repo— skill の仕事は初期化で、bootstrap は cut された branch 上の後続作業の名前のためbootstrap固定 — 命名 skill への委譲も検討したが、受け渡し先が固定名である単純さを優先