.agents/skills/frontend-large-feature-architecture/references/feature-readmes.md
Large frontend feature folders should have a short README.md that acts as an
owner map for humans and agents. Prefer README.md over FEATURE.md to match
the existing web/src/features/* convention. Use FEATURE.md only if a folder
already has a user-facing or generated README.
The README is not a changelog. It should describe durable boundaries and point to deeper migration notes.
components/ only for
components reused across surfaces inside the feature. Use surface folders such
as detail/ for page controllers, local stores, actions/, integration
hooks, and surface-private containers.Use the ownership baseline in big-feature-rules.md. The README only needs to
name where each state category lives in this feature and where known spread
state remains.
Every large feature README should name the high-frequency interactions that must stay narrow. Typical examples:
For each interaction, state which boundary should update. The page component should not rerun expensive data preparation, recreate column/config objects, or rerender unchanged expensive cells for unrelated state changes.
If a feature is mid-migration, say so. The README should make the desired boundaries clear while naming known spread state as debt. Do not present a partially migrated feature as the final pattern.
Use an update-in-place style rather than a changelog. For example:
actions/exportFeatureData.ts; row view no longer subscribes to
filter state.This makes small PRs reviewable while keeping the feature migration plan visible. Do not wait for a perfect reorganization before documenting the current state.
Feature README updates should match the PR size:
The README should help the next contributor avoid falling back into the same large component, not argue that the migration is complete.