Repository navigation
fix(generate): pass the generator's own verb; drive groups from the project file - #174
Merged
Merged
Conversation
…e project file (#172) The /generate skill ran `specfuse authoring generate --group ...`. The launcher forwards everything after it verbatim, so the jar received no subcommand and printed "Unknown option: --group" plus usage, generating nothing. Steps now run `specfuse authoring generate generate --group`. The skill also hardcoded a C# backend / Flutter frontend / C# workers setup. It now lists the project's declared groups, asks which to generate, checks out-of-repo destinations are clean before a destructive regen, bundles first, runs one invocation per group, and runs the Dart build_runner post-step. getting-started and generator-access showed `generate <args>`, which invites the same mistake; both now show the full form and explain it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 19, 2026
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.
Closes #172.
Bug. The
/generateskill ranspecfuse authoring generate --group "<group>" <project>-project.json. The launcher passes everything aftergenerateto the jar unchanged, so the jar got no subcommand. I reproduced this against the 0.19.0 jar:Nothing was generated.
Changes
skills/generate/SKILL.mdspecfuse authoring generate generate --progress --group …and explains whygenerateappears twice.allas opt-in only.../Backend/) have no uncommitted changes, becausecleanGenerateddeletes before it rewrites.build_runnerpost-step.generate-scenario-docs.shfor the Markdown groups.docs/getting-started.mdanddocs/generator-access.mdshowedspecfuse authoring generate <args>, which invites the same mistake. Both now show the full command and a one-line explanation.Verified.
specfuse authoring generate generate --group Domain hello-orders-project.jsonon a copy ofexamples/hello-ordersexits 0 and writes 13.csfiles. The installed CLI is the released kit, which uses generator 0.18.0. There's no pytest suite. The plugin-substrate check isn't affected because no methodology paths were cited.Note. #173 also edits
getting-started.md§5, on nearby lines. Whichever PR merges second may need a trivial rebase.🤖 Generated with Claude Code