Automated summary
This skill gives an agent a structural footing in a website's visual layout through PAGE_MAP.md files (ASCII wireframes) and BLUEPRINT.md files (tables mapping sections to source files), covering both pages and components.
Strengths
- Cleanly separates visual geometry (PAGE_MAP.md) from source-code mapping (BLUEPRINT.md), so the agent can orient itself without rereading the whole codebase.
- An explicit tag convention ([page.section] and [Component.Section]) that carries through into inline code comments, constraining where edits are allowed.
- Handles two scales — route-level pages and reusable components — with precise directory naming rules (lowercase slug vs PascalCase).
- Includes a four-step procedure for authoring new maps, so it also generates structural documentation rather than only consuming it.
Limitations
- Everything hinges on team discipline: stale map files mean the agent reasons from an outdated picture of the UI.
- The skill is flagged as still being dogfooded, and its test map directory must be reviewed before production use.
- No generator or validator is provided; ASCII wireframes are written and checked by hand.
Use it whenever a task changes a page's layout or a component's internal arrangement in a project that already keeps .pageel/page-maps/ files.
Skip it on projects without page-map files, or for purely non-visual work such as data fetching, build config, or backend logic.
Security analysis
SafeThe skill is documentation-only and contains no executable commands, destructive operations, network calls, credential handling, obfuscation, or safety-disabling instructions. It references reading and editing local markdown/source files under a project directory, which is normal low-risk behavior for a code-agent skill.
No concerns found
How this analysis is madeExamples
Using the page map for the index page, find the [index.hero] section and change the headline alignment to centered without touching any other section.Create a page-map for the Hero.astro component under .pageel/page-maps/components/Hero/ with an ASCII wireframe and a BLUEPRINT.md mapping each [Hero.*] tag to its source and props.Build a new pricing page and first draft .pageel/page-maps/pages/pricing/ with PAGE_MAP.md and BLUEPRINT.md, then scaffold the Astro files to match those tags.name: page-map description: AI Agent skill to read, manage, and manipulate website visual structure using PAGE_MAP.md and BLUEPRINT.md — for both pages and components.
Skill: page-map
Version: 2.0.0
[!WARNING] Dogfooding Status: This skill is undergoing live testing (dogfooding) at
Projects/pageel-website/repo/.pageel/page-maps/. The.pageel/directory in that repository currently contains test data for this skill. Before pushing to production, review and complete the page-map files in the repo to ensure:
- The map content matches the actual code precisely (no outdated info).
- The
pages/andcomponents/directory structures strictly comply with the v2.0.0 spec of this skill.- The repository does not contain redundant testing artifacts — keep only finalized maps.
Intent
Use this skill when attempting to modify page layout, analyze frontend structure, or create new views/components. This skill anchors the AI Agent's structural understanding before analyzing complex source code (.astro, .tsx, etc.).
Scope: Applies to both full pages (e.g., index.astro, features.astro) and individual components (e.g., Hero.astro, Calculator.tsx). A component-level map captures the internal layout of a single reusable unit; a page-level map captures how those components are assembled into a route.
Instructions
1. Directory Structure
All maps are stored under .pageel/page-maps/ at the repository root, organized into two subdirectories:
.pageel/page-maps/
├── pages/ # Full route-level pages
│ ├── index/
│ │ ├── PAGE_MAP.md
│ │ └── BLUEPRINT.md
│ └── features/
│ ├── PAGE_MAP.md
│ └── BLUEPRINT.md
└── components/ # Individual reusable components
├── Hero/
│ ├── PAGE_MAP.md
│ └── BLUEPRINT.md
├── FeatureGrid/
│ ├── PAGE_MAP.md
│ └── BLUEPRINT.md
└── Calculator/
├── PAGE_MAP.md
└── BLUEPRINT.md
Rules:
- Pages →
.pageel/page-maps/pages/<page-name>/ - Components →
.pageel/page-maps/components/<ComponentName>/ - Component directory names use PascalCase matching the component filename (e.g.,
Hero,FeatureGrid). - Page directory names use lowercase matching the route slug (e.g.,
index,features,privacy).
2. Identify Existing Maps
Whenever tasked with analyzing or altering a UI element, search for PAGE_MAP.md and BLUEPRINT.md in this order:
.pageel/page-maps/components/<ComponentName>/— For component-level work..pageel/page-maps/pages/<page-name>/— For page-level work.- Current or target directory — Fallback for legacy or simple setups.
3. Reading Format
The structural layout relies on bracketed section names like [Section.Subsection].
PAGE_MAP.md: ASCII wireframes illustrating the visual layout geometry. Each major zone is labeled with a[Section.Subsection]tag.BLUEPRINT.md: A table mapping those tags to exact source files, props, and notes.
Naming convention for tags:
- Page maps:
[page.section]— e.g.,[index.hero],[index.features] - Component maps:
[Component.Section]— e.g.,[Hero.TechStackHeader],[Calculator.ResultCard]
4. Modifying Code
Search within the target source code for inline tags such as {/* [Section.Subsection] */}. Apply your edits contextually near the tags. DO NOT alter sections outside of the designated tags unless specifically requested.
5. Creating New Maps
When asked to create a new map:
- Determine scope: Is this a page or a component?
- Create
PAGE_MAP.mdcontaining ASCII wireframes that illustrate the layout vision. Use[Section.Subsection]references. For complex components, break down into logical zones (header, body, footer, sidebar, etc.). - Create
BLUEPRINT.mdto map those tags to the intended component files, props, and implementation notes. - Store files in the correct subdirectory:
- Component →
.pageel/page-maps/components/<ComponentName>/ - Page →
.pageel/page-maps/pages/<page-name>/
- Component →
6. Cross-Referencing (Page ↔ Component)
Page maps and component maps must be linked bidirectionally so navigation between layers is seamless.
In page-level PAGE_MAP.md:
- Each section tag should include an arrow referencing its component map:
[index.hero] → components/Hero/ - This tells the reader exactly where to find the detailed internal wireframe.
In page-level BLUEPRINT.md:
- Add a Component Map column with relative links to the component's
PAGE_MAP.md:| Section | Source | Hydration | Component Map | | :--- | :--- | :--- | :--- | | `[index.hero]` | `src/components/Hero.astro` | Static | [`components/Hero/`](../../components/Hero/PAGE_MAP.md) | - Add a Hydration column indicating the Astro directive (
client:load,client:visible, orStatic). - For inline sections without a dedicated component, use
—with a parenthetical note:— (inline: description).
Why this matters:
- Without cross-references, the agent must guess which component map corresponds to which page section.
- The hydration column prevents mistakes when modifying interactive vs. static components.
7. Practical Guidelines (Lessons Learned)
- Component maps capture internal layout: A component map should visualize the nested HTML structure within the component, not just a placeholder box. This helps catch nesting bugs (e.g., unclosed
<div>tags shifting sections). - Page maps show composition: A page map shows which components appear in what order and their relative positioning — it does not duplicate component internals.
- Keep wireframes honest: Describe what the UI actually renders, not an idealized version. If a section shows a mockup dashboard built from HTML/CSS tags (not a real screenshot), label it as "Interactive UI Mockup", not "Dashboard Image".
- Update maps when code changes: After fixing layout bugs or restructuring components, update the corresponding
PAGE_MAP.mdto stay in sync.
8. Site Index (INDEX.md)
Create an INDEX.md file at the root of .pageel/page-maps/ to serve as the overall master map of the entire website. This file tracks the page-mapping progress of each page and component.
Vị trí: .pageel/page-maps/INDEX.md
Cấu trúc bắt buộc:
# Site Map Index
> Last updated: YYYY-MM-DD
## Pages
| Route | Source | Status | Map |
| :--- | :--- | :--- | :--- |
| `/` | `src/pages/index.astro` | ✅ Mapped | [pages/index/](pages/index/PAGE_MAP.md) |
| `/features` | `src/pages/features.astro` | ✅ Mapped | [pages/features/](pages/features/PAGE_MAP.md) |
| `/blog` | `src/pages/blog/index.astro` | ⬜ Pending | — |
Pages: `████████░░░░░░░░░░░░` 3/18 (17%)
## Components
| Component | Source | Used by | Status | Map |
| :--- | :--- | :--- | :--- | :--- |
| Navbar | `Navbar.tsx` | All pages | ✅ Mapped | [components/Navbar/](components/Navbar/PAGE_MAP.md) |
| Hero | `Hero.astro` | index | ✅ Mapped | [components/Hero/](components/Hero/PAGE_MAP.md) |
| SEO | `SEO.astro` | All pages (layout) | ⏭️ Skip | — (utility) |
Components: `██████████████████░░` 9/11 (82%)
Status icons:
✅ Mapped— PAGE_MAP.md + BLUEPRINT.md are completed⬜ Pending— Map not created yet⏭️ Skip— Utility component / no visual interface (e.g., SEO, OptimizedImage)
Progress bar format:
- Use the block characters
█(filled) and░(empty), with a total length of 20 characters. - Formula:
filled = round(mapped / total * 20), remaining is░. - Follow with
X/Y (Z%).
Shared components (used across multiple pages):
-
The Used by column lists the pages utilizing that component (e.g.,
index, featuresorAll pages). -
A component only needs a single map located at
components/<Name>/— do not duplicate maps for each page. -
In the page's BLUEPRINT, simply link to the shared component map (as defined in §6).
-
Always update INDEX.md whenever creating or deleting a page map.
-
List all pages and components in the source code, including those without maps (to clearly identify the coverage gap).
-
Calculate the progress bar at the bottom of each table to visualize progress.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/page-map-ms47vpv7/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/page-map-ms47vpv7' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/page-map-ms47vpv7/download' --output '.skill-downloads/page-map-ms47vpv7/SKILL.md.part' && mv '.skill-downloads/page-map-ms47vpv7/SKILL.md.part' '.skill-downloads/page-map-ms47vpv7/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/page-map-ms47vpv7/SKILL.md' && test -s '.skill-downloads/page-map-ms47vpv7/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/page-map' && cp -R '.skill-downloads/page-map-ms47vpv7' '.claude/skills/page-map'Cursor
test -f '.skill-downloads/page-map-ms47vpv7/SKILL.md' && test -s '.skill-downloads/page-map-ms47vpv7/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/page-map' && cp -R '.skill-downloads/page-map-ms47vpv7' '.cursor/skills/page-map'Codex
test -f '.skill-downloads/page-map-ms47vpv7/SKILL.md' && test -s '.skill-downloads/page-map-ms47vpv7/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/page-map' && cp -R '.skill-downloads/page-map-ms47vpv7' '.agents/skills/page-map'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/page-map-ms47vpv7'openskills read 'page-map-ms47vpv7'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/page-map-ms47vpv7/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.