fix(wbfy): forbid explaining in-house tool specs outside the tool package - #1244
Merged
Conversation
…e sites Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
…tool comment rule Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
… documents Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
…and exempt AI instructions Co-authored-by: WillBooster (Claude Code) <agent@willbooster.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.
Customer Summary
wb/wbfyの仕様(例: 「wbが空きポートを自動探索するのでPORTは設定しない」)を書き残さなくなります。wb/wbfyの仕様は既知なので、こうした説明は読み手の役に立たず、実装が変わったときに古くなるだけでした。wbfy適用時に配布されます。既存の説明文が自動で削除されることはありません。Technical Summary
generateAgentCodingStyle(packages/wbfy/src/generators/agents.ts)のコーディングスタイルに 1 行追加しました。同ジェネレーターの出力である
AGENTS.md/CLAUDE.md/GEMINI.md/.cursor/rules/general.mdc/.gemini/styleguide.mdにも反映しました(5 ファイルの## Coding Style以降はハッシュ一致を確認済み)。適用範囲は「ツール自身のパッケージの外」なので、
wb/wbfyパッケージ内の JSDoc やドキュメントは従来どおり書けます。wb/wbfy を同居させるこのモノレポでも、利用側パッケージだけが対象になります。「AI への指示文」を除外しているため、同じジェネレーターが
AGENTS.mdに出力しているwb dotenvのプロファイル選択やwb gen-codeの説明とは矛盾しません。Why
fnox.tomlのコメント、playwright.config.tsのコメント、README.mdの段落の 3 箇所にwbのポート自動探索の説明が生成され、手作業で削除する必要がありました。PORT)を明記したのはこのためです。AGENTS_EXTRA.mdやスキルファイルなど将来増えるものも含めて判定できるためです。Testing
bun run verify(型チェック + Lint): 成功awk '/^## Coding Style/,0' <file> | md5が全ファイルで一致Notes