goal
Skill0 starsChanged 3 months agoMITView on GitHub
「〜ができるまで」「一通り動くまで」のような広い目標を受け取り、現状把握 → 小さな目標 → 実装・実験 → 検証 → 整理 → commit → 再計画のサイクルを、目標を達成して検証するか明確なブロッカーに当たるまで自律的に回す。「/goal <目標>」「達成するまでやって」「一通り終わらせて」「ゴールは〜」「自律的に進めて」時に使用。単発の修正依頼や調査だけの依頼には使わない。認証・課金・破壊的操作・外部への送信が要る場面では止まって報告する。
- Deletes or force-pushes
47 other projects use a version of this.
Adopted by
Most recently taken up by
- caidanw/skillstheir own version, first seen Nov 8, 2026
- Dariusplayer09/adaptive-skillstheir own version, first seen Nov 8, 2026
- anthony-chaudhary/faktheir own version, first seen Nov 3, 2026
- iurysza/agent-skillstheir own version, first seen Nov 1, 2026
- crsmithdev/alephtheir own version, first seen Nov 1, 2026
- menot-you/n-soultheir own version, first seen Nov 1, 2026
Used with
Projects with it also use origin, update-cli-config and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
0mlkrizzz655335vSkillorigin
origin CLI 管理。安装、登录、更新、修复 origin.cursor.com 的 CLI。"disabled-environments:
Also in 3 projects that use this
PandelisZSkillupdate-cli-config
View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.
Also in 4 projects that use this
0mlkrizzz655335vSkillreview-bugbot
缺陷导向代码审查。用 Bugbot 子代理找 bug。
Also in 3 projects that use this
32103210Skillmigrate-to-skills
Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use when you want to migrate rules or commands to skills, convert .mdc rules to SKILL.md format, or consolidate commands into the skills directory.
Also in 4 projects that use this
32103210Skillupdate-cursor-settings
Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.
Also in 4 projects that use this
MicrosoftSkillautomate
Propose an automation from a completed task or a new idea, then create it after approval. Use when the user asks to create an automation or wants scheduled local or cloud agent work.
Also in 4 projects that use this
- +1 more from 32103210
- +3 more from 0mlkrizzz655335v
Other versions47 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 47
- PrimeIntellect-ai/prime-agent★ 23ksame name
- coco-research/coco★ 797same name
- cwinvestments/memstack★ 425same name
- jthack/claude-goal★ 113same name
- svy04/ballast★ 73same name
- anthony-chaudhary/fak★ 47same name
- Infinite-Labs-AI/infinite-skills★ 43same name
- manusco/resonance★ 38same name
- Sanexxxx777/curated-claude-code★ 16same name
- woxiangyangzhimao/skills★ 14same name
37 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- skills/agents-onboarding/templates/AGENTS.mdAGENTS.md
- agents-onboardingSkill
- browser-useSkill
- commit2prSkill
- commit2pushSkill
- commitSkill
- create-issueSkill
- explainSkill
- find-skillsSkill
- handoffSkill
- note-writeSkill
- openapi-rfc-complianceSkill
- pr-request-changesSkill
- rules-reviewSkill
- sanitize-artifactsSkill
- skill-creatorSkill
The file
Files
goal
ユーザーが与えた目標を、複数サイクル回して達成する。
disable-model-invocation: true を付けている。このスキルは commit まで自律的に行うので、ユーザーが /goal と打ったときだけ動かす。Codex 向けには agents/openai.yaml の allow_implicit_invocation: false が同じ役割をする。
原則
完了の単位はユーザーの目標。コミットは通過点。
1 ステップ終わった、1 コミットできた、テストが通った — どれも止まる理由にならない。各通過点で「目標に対してまだ足りないものは何か」を問い直し、次の小さな目標を選ぶ。止まるのは目標を達成して検証したときか、ユーザー入力なしに解けないブロッカーに当たったときだけ。
引数
<goal>: 達成したい目標。曖昧なら最も妥当な解釈を採り、解釈を作業ノートに書いて進める。解釈次第で有害・不可逆な作業になるときだけ聞く
作業ノート
解釈・完了条件・次の数手・試した実験を書き留める場所。応答の中に短く書くのが既定。セッションをまたぐ見込みのある長い目標では、リポジトリ管理外のファイル(${TMPDIR} など)に置き、最終報告にパスを書く。リポジトリ内には作らない — 差分に混ざり、commit されうる。
Step 0: 現状を把握する
編集する前に、目標の達成に要る範囲で把握する:
- プロジェクトの目的と構成、既存の規約(AGENTS.md / CLAUDE.md / rules)
- テスト・lint・ビルド・実行コマンド(ドキュメントと設定ファイルから拾い、実行して確かめる)
- 直近のコミットメッセージの流儀(
git log --oneline -20) - 作業ツリーの状態(
git status --short)。既に差分があるなら、目標と無関係なものは触らない
Step 1: 目標を完了条件に翻訳する
目標を、観測できる完了条件に言い換えて作業ノートに書く:
- 望む結果(何ができるようになるか)
- 完了の証拠(テストが通る / 挙動を実演できる / 再現したバグが直る / 結果が記録される / 無関係な差分が残っていない)
- 検証に使うコマンド
- 既知のリスク・不明点
計画は次の数手だけ。先まで書いた計画は最初の検証で古くなる。
Step 2: ループを回す
目標を達成するまで繰り返す。
2-1. 次の小目標を選ぶ
目標に直結し、1 つの論理的なコミットに収まる大きさのものを 1 つ選ぶ。無関係な変更を同時に始めない。
2-2. 変更する
既存の設計・命名・構成に合わせる。最小で一貫した変更を、広い書き換えより優先する。
2-3. 検証する
もっとも関係の深い検査を先に走らせる(対象のテスト、型検査、lint、再現コマンド)。広い検査(全テスト、ビルド)は節目で。失敗は情報として扱う — 原因を診断し、直し、再度検証する。失敗を隠さない。
根拠にするのは最後の変更より後に走らせた結果だけ。直前の編集のあとに走らせていない検査は、通ったことにせず走らせ直す。
2-4. 差分を見直す
commit の前に差分そのものを読む:
- 小目標の範囲に収まっているか。無関係な編集は戻すか分ける
- 一時ファイル・デバッグ出力・secrets が混ざっていないか
- 挙動が小目標どおりか
2-5. commit する
差分が意味のある 1 単位になっていれば commit する。目標全体の完了を待たない。壊れた状態を commit しない(チェックポイントとして明示的に有用な場合を除き、その場合はメッセージにそう書く)。
コミットメッセージ:
- 日本語で、端的に。prefix は
git logの慣習に合わせる(Conventional Commits を使っていなければ付けない) - AI ツールの署名を入れない(
Co-Authored-By:trailer、🤖 Generated with ...、noreply@anthropic.com) commitスキルが入っていればその規約に従う
2-6. 再計画して続ける
目標に照らして残りを見直し、2-1 に戻る。計画の項目が尽きたが目標が未達なら、新しい短い計画を立てて続ける。
止まらない理由・止まる条件
次の理由だけでは止まらない:
- 1 ステップが終わった / 1 コミットを作った / 一部のテストが通った
- 中間の節目に達した / 計画の項目が尽きた
- 残りが整理・検証・ドキュメント・計画だけになった
止まるのは次のどれか:
- 目標を達成し、完了条件を検証した
- ユーザー入力なしに解けないブロッカーがある
- 認証情報・課金・破壊的操作・外部への送信・権限が要る
- リポジトリが安全に進められない状態にある
- ユーザーが作業量の上限を指示していた
止まるときの片付け
ブロッカーで止まるときも、達成して止まるときも、作業ツリーを再開しやすい状態にしてから止まる:
- 塊になっている変更は commit する。途中の変更は「チェックポイント」とメッセージに明記して commit する
- stash は使わない(ユーザーの無関係な変更まで巻き込む)
- 実験の残骸は消す。元からあった無関係な差分には触らない
- 自分が作った未コミットの変更を残したまま最終回答しない(Stop hook が 1 回だけ差し戻す)
実験するとき
- 実験的な変更は分離する。試したことをノートに残す
- 有用な結果だけを残し、死んだ実験は commit 前に消す(意図的に記録する場合を除く)
- 実験の基盤と本番の挙動変更は、可能なら別コミットにする
最終回答の前に
- 目標は本当に達成されたか。完了条件を 1 つずつ確認したか
- 既知の検証をすべて走らせたか。飛ばしたなら理由があるか
- 残っている明らかな実装・検証・整理・ドキュメントの作業は無いか
- ユーザー入力なしに進められる次の行動がまだあるか — あるなら最終回答せず、ループに戻る
強制されること(hook)
指示だけでは守られない 3 つを hook にしてある。いずれも Claude Code でのみ効く。Codex では上の規約を指示として守る。
| hook | イベント | 何をするか |
hooks/no-ai-attribution.sh | PreToolUse(git commit) | AI ツールの署名が含まれる commit を exit 2 でブロックする。署名の形だけを見るので、AI ツールに言及したメッセージ自体は通る |
hooks/no-destructive-git.sh | PreToolUse(Bash) | git reset --hard / git clean -f / 作業ツリー全体の checkout・restore / force push / stash drop・clear / branch -D をブロックする。パスを指定した restore と restore --staged . は通る。コマンド文字列を見るので、&& や ; でつないだ後続も対象 |
hooks/record-baseline.sh + hooks/stop-dirty-tree.sh | PreToolUse(初回のみ) + Stop | 起動時点の git status を控え、最終回答の前にこのセッションで作った未コミットの変更が残っていれば 1 回だけ差し戻す。元からあった差分は数えない。差し戻しはセッションに 1 回まで(無限ループにしない) |
完了時に返すもの
- 目標を達成したか(達成 / ブロッカーで停止)。解釈を置いた場合はその内容
- 作成したコミットの一覧(
git log --onelineの該当分) - 実行した検証コマンドと結果。飛ばしたものとその理由
- 残っているブロッカー・後続作業
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

