docs: sync CLI skills with current framework status#272
Merged
Conversation
Update .claude skills and command-skills to match origin/main: - Add the public const string Route endpoint convention (SM0054) - Document the FormRequest<TSelf> form-binding pattern (SM0056/SM0057) - Add the Policy / entity-level authorization feature (IPolicy, IAuthorizer, SM0058-SM0061) - Expand diagnostics coverage to the current SM0001-SM0061 range - Fix debug-module fabricated diagnostic table and wrong implementation SDK - Rewrite review-module event area for Wolverine; fix stale Views/ paths - Note AddModuleDbContext optional params; __dirname -> import.meta.dirname; ci.md steps
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.
Summary
Syncs the project's Claude skills and command-skills (
.claude/skills/**,.claude/commands/**) with the current framework state onmain(including the new Policy / entity-level authorization feature from #257). Audited every project-status-dependent claim against the source and corrected the drift.Key updates
public const string Routeconvention (now on every endpoint, enforced by SM0054) added to all endpoint examples insimplemodule,minimal-api, and their references.FormRequest<TSelf>form-binding pattern documented ([FormRequest] sealed partial : FormRequest<TSelf>,Prepare()+ConfigureRules, bound directly as a handler param; SM0056/SM0057) — previously only raw[FromForm]was shown.IPolicy<TResource>,IAuthorizer,PolicyActions,AuthorizationResult, SM0058–SM0061) across thesimplemoduleskill,endpoints.md,cross-module.md, andminimal-api.debug-module.md: replaced a fabricated diagnostic table (SM0020/SM0030 don't exist; several meanings were wrong) and fixed the wrong implementation SDK (Microsoft.NET.Sdk→Microsoft.NET.Sdk.StaticWebAssets) and stale../Views/import path.review-module.md: rewrote the Events area for Wolverine auto-discovery (the oldIEventHandler<>/AddScopedpattern does not exist), added Route/FormRequest/Policy checks, fixedViews/→Pages/.AddModuleDbContextoptional params (configureOptions,enableSpatial);__dirname→import.meta.dirname;ci.mdnow lists allnpm run checksteps;verify-featureexample routeProducts/Browse→ realAuditLogs/Browse.Verification
/code-review high): 1 finding (incorrect HTTP status in aCrudEndpoints.Restore/ForceDeletecomment) found and fixed; consistency/cross-reference pass clean.SM00xxcodes exist in the generator; every new API/identifier/signature confirmed against framework + module source; YAML frontmatter valid; code fences balanced..claude/*.md— markdown that is outside biome's scope and is not compiled, bundled, or tested. GitHub Actions runs CI on this PR as the authoritative gate.Test plan