Prevent GSD from leaking internal planning related details such as Phase, PRD, D-01, etc in code comments #2221
Replies: 4 comments
|
Good timing on this — GSD already ships a A few observations on your script:
If you want this in the official distribution, the right path is a Feature Request issue with the spec — specifically: which patterns, what should trigger a block vs. a warning, and whether it should be opt-in (like If you want to share the working version of your script for others to use in the meantime, posting it here or in a Gist would be useful to the community. |
|
Sure, I am currently benchmarking and observing if this hook works as expected and once ready I will open a PR. |
|
@Niraj-Kamdar — the path here is: Feature Request issue first, then PR. To get the hook into the distribution, please open a Feature Request issue with:
Once approved, a PR from the feature branch is the right next step. Posting your working script here in the meantime is welcome — it helps the community and gives us a concrete implementation to reference in the spec. |
|
@Niraj-Kamdar — sounds good. One clarification on the process: an issue needs to be filed before the PR, not after. The hook needs a spec approved first so the scope is clear before code is written. When your benchmarking is done, open a Feature Request issue first with:
Once the spec is approved, the PR from a feature branch is the right next step. That way the implementation has a clear target. |
Uh oh!
There was an error while loading. Please reload this page.
I have repeatedly noticed that GSD leaks planning related details in the code comments so I am building a hook script for claude code that catches these leaks before comitting
Maybe something like this should be part of the gsd meta flow.
All reactions