ui-ux-page-scoping
Skill9 starsChanged 6 months agoApache-2.0View on GitHub
Mandatory Step 0 for every UI/UX Designer mode. Resolve one Figma page as the scoped root before reading or writing Figma, update only the SRS page-scope fields when resolution is needed, and record the page Node ID/name in every UI/UX artifact so Figma operations do not walk brainstorm, archive, or Foundation pages by accident.
In this repository61 other files it gives its agents.
- rules/CLAUDE.mdCLAUDE.md
- acceptance-criteria-authorSkill
- adr-authorSkill
- api-contract-authorSkill
- backend-logging-traceabilitySkill
- ba-design-completenessSkill
- ba-ingestion-pipelineSkill
- ba-iteration-planningSkill
- ba-mode-augmentSkill
- ba-mode-external-sourceSkill
- ba-mode-multi-docSkill
- ba-mode-requirements-folderSkill
- ba-mode-reverse-engineerSkill
- ba-mode-single-docSkill
- ba-post-implementationSkill
- be-framework-coding-standardSkill
- c4-authorSkill
- codebase-inventorySkill
- data-lifecycle-contractsSkill
- design-system-authorSkill
- docker-deploymentSkill
- external-integration-adequacySkill
- fe-framework-coding-standardSkill
- figma-canvas-layoutSkill
- figma-design-handoffSkill
- figma-requirements-extractionSkill
- figma-srs-mappingSkill
- flutter-implementationSkill
- flutter-performanceSkill
- flutter-platform-integrationSkill
- format-boundary-contractsSkill
- git-commitSkill
- incident-debuggingSkill
- intent-archaeologySkill
- kubernetes-deploymentSkill
- local-deploymentSkill
- migration-safetySkill
- observability-readinessSkill
- playwright-authorSkill
- qa-author-by-taskSkill
- qa-author-by-usSkill
- qa-execution-runnerSkill
- react-native-implementationSkill
- react-native-performanceSkill
- react-native-platform-integrationSkill
- release-readinessSkill
- rollback-readinessSkill
- sa-architecture-designSkill
- sa-brownfield-extractSkill
- secrets-config-auditSkill
- security-compliance-checklistSkill
- solution-defaultsSkill
- ssh-remote-operationsSkill
- staging-deploymentSkill
- task-sizingSkill
- <kebab-case-name-matching-folder>Skill
- test-case-authorSkill
- third-party-dependency-evaluationSkill
- ui-test-executionSkill
- user-story-authorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Use this skill at the start of every UI/UX Designer dispatch mode:
- Very specific: line 44
Read the Figma URL and the paired Figma-Design-Page-Node-ID / Figma-Design-Page-Name from SRS §3.4.1.
- Very specific: line 45
If the SRS has UI requirements and the page field is missing or empty, halt with NEEDS_CONTEXT.
- Very specific: line 52
When a mode writes to Figma (create or revise), create or update project screens only inside the scoped page.
- Distinctive: line 56
Never walk all pages of a Figma file for project screen work.
- Distinctive: line 57
Never choose a page by intuition or by first page ordering.
- Distinctive: line 58
Never modify SRS body content from this skill.
- Distinctive: line 59
Never write project screens to the Foundation page unless the dispatch is explicitly about Foundation content.
- Distinctive: line 60
Every downstream UI/UX artifact must carry the resolved page Node ID and page name.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
UI/UX Page Scoping
Use
Use this skill at the start of every UI/UX Designer dispatch mode:
extractmapcreateimportreviseincorporate
A Figma file has multiple pages. The kit scopes every read/write to one page per file so design extraction, mapping, and handoff do not mix project screens with drafts, archives, or the Foundation page.
Inputs
- Dispatch Figma URL or the SRS
## Design Referencesrows. docs/SRS.md§3.4.1 fields:Figma-File-URLFigma-Design-Page-Node-IDFigma-Design-Page-Name
- Figma MCP read access.
Outputs
- A resolved page Node ID used as the root for every later Figma operation.
- Optional SRS §3.4.1 update limited to
Figma-Design-Page-Node-IDandFigma-Design-Page-Name. - Page-scope metadata in the mode artifact:
Figma-Design-Page-Node-IDFigma-Design-Page-Name
Procedure
- Read the Figma URL and the paired
Figma-Design-Page-Node-ID/Figma-Design-Page-Namefrom SRS §3.4.1. - If the SRS has UI requirements and the page field is missing or empty, halt with
NEEDS_CONTEXT. Ask for the Figma page to use. Do not inspect every page to guess. - Resolve the captured value:
- PAGE node (
CANVAS/PAGE) -> use it as the root. - FRAME or SECTION node -> walk up to the containing PAGE, then update the SRS page fields.
- PAGE NAME string -> query available pages, resolve an exact case-insensitive match, then update the SRS page fields. If no unique match exists, halt with
NEEDS_CONTEXTand list the page names.
- PAGE node (
- Scope every later Figma read/write to the subtree under the resolved page Node ID.
- Record the resolved page ID/name in the artifact produced by the mode.
- When a mode writes to Figma (
createorrevise), create or update project screens only inside the scoped page. The Foundation page remains governed bydesign-system-author.
Hard Rules
- Never walk all pages of a Figma file for project screen work.
- Never choose a page by intuition or by first page ordering.
- Never modify SRS body content from this skill. Only the page-scope fields may be updated.
- Never write project screens to the Foundation page unless the dispatch is explicitly about Foundation content.
- Every downstream UI/UX artifact must carry the resolved page Node ID and page name.
References
.claude/skills/figma-requirements-extraction/.claude/skills/figma-srs-mapping/.claude/skills/figma-design-handoff/.claude/skills/figma-canvas-layout/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

