Crud skill test 05 product collection#1348
Draft
manuelblum wants to merge 7 commits intocrud-skill-test-04-product-reviewfrom
Draft
Crud skill test 05 product collection#1348manuelblum wants to merge 7 commits intocrud-skill-test-04-product-reviewfrom
manuelblum wants to merge 7 commits intocrud-skill-test-04-product-reviewfrom
Conversation
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.
Sample PR showcasing how Claude (Opus 4.6) implements full-stack CRUD for a scoped entity with ManyToMany relation management and page-based editing from a spec file using Comet skills. The entire implementation — API entity, admin UI, enum
components, DataGrid, form with RouterTabs, ManyToMany selection dialog — was generated from
specs/product/05-product-collection.md.What's implemented
@ResolveFieldfor products relation,productCountcomputed field, server-side search by name, filtering by collectionType/isActive, slug query with scope,findBySlugSLUG_ALREADY_EXISTS), cross-field constraintvalidTomust be aftervalidFrom(VALID_TO_MUST_BE_AFTER_VALID_FROM), validation payloads on create/update mutationsuseFormSaveConflict. Products relation excluded from form — managed separatelykeepNonExistentRowsSelectedpreserves selections across pages. Cancel (textDark variant) + Save Selection actionsproductCollectionspermissionSpec
See
specs/product/05-product-collection.mdfor the full requirements.Screenshots