diagramming-app-routes
Skill1 starsChanged 8 days agoUnlicenseView on GitHub
Builds or updates code-grounded static HTML sitemaps and inline-SVG routing flowcharts (auth/allowlist/waitlist/terms gates and route-by-user-state tables) with dated backups. Use when diagramming app routes or request gates across commits or PRs.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ad-copy-writerSkill
- ae-inspect-describeSkill
- algorithmic-artSkill
- animation-directorSkill
- assembly-guideSkill
- brainstorming-and-ideatingSkill
- brainstorming-research-ideasSkill
- brainstormingSkill
- brief-to-tasksSkill
- canvas-designSkill
- cli-designSkill
- cli-output-hierarchySkill
- commit-messageSkill
- craft-uiSkill
- creative-directorSkill
- design-briefSkill
- design-flowSkill
- design-mock-auditSkill
- design-reviewSkill
- design-system-patternsSkill
- design-tokensSkill
- deslopifySkill
- diagnoseSkill
- doc-restructureSkill
- eval-criticSkill
- formatting-open-markdownsSkill
- frontend-designSkill
- frontend-slidesSkill
- gdocs-tab-writerSkill
- gemini-apiSkill
- gif-creationSkill
- github_repo_researchSkill
- grill-meSkill
- grill-with-docsSkill
- hallmarkSkill
- handoffSkill
- html-presentationSkill
- humanizerSkill
- i-have-adhdSkill
- improve-codebase-architectureSkill
- information-architectureSkill
- install-skill-from-githubSkill
- markdown-output-hierarchySkill
- marketing-psychologySkill
- merge-latestSkill
- modern-web-performanceSkill
- motion-designSkill
- pdf-readerSkill
- pm-brainstormingSkill
- pm-discovery-brainstormSkill
- product-marketingSkill
- prototypeSkill
- pull-requestSkill
- ralph_loopSkill
- react-best-practicesSkill
- review-loopSkill
- sandbox-explainerSkill
- skill-creatorSkill
- skill-optSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Read new gate modules in full at <head> to get: what decides "allowed", which environments enforce it, dev overrides (query params, env …
- Distinctive: line 39
Don't trust PR descriptions for behavior.
- Very specific: line 46
Start from the existing page if there is one (keep its geometry and palette).
- Distinctive: line 53
Add the request-perimeter SVG when the changes add server-side checks.
- Distinctive: line 54
Add the pending-changes callout if any change is unmerged, and the source-changes grid (PR/commit links), stating which changes don't …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Diagramming App Routes
Produces a one-file, zero-JS HTML page that answers "what happens when a user hits route X in state Y", grounded in code. Visual and editorial decisions live in design_system.md; the page skeleton with layout-grid coordinates is template.html. Read both before drawing.
1. Collect the changes
- Identify the change set: a PR list, a commit range, or a branch. For stacked PRs or branches, read the top of the stack for the final state and use each PR's description only to attribute features.
Pull only the diffs that define routing:
git diff <base>...<head> -- '<client>/routes.*' '<client>/*guard*' '<server>/<entry handler>' # or, per PR: gh pr diff <num> --repo <owner>/<repo> -- <paths>- Read new gate modules in full at
<head>to get: what decides "allowed", which environments enforce it, dev overrides (query params, env vars), the controlling feature flag, and the exact deny behavior (404 vs redirect vs error code). - For the request perimeter, open the service/handler at a representative endpoint and record the order of checks (e.g. allowlist → terms → content safety → backend → output check) and their status codes. Find which endpoints skip the allowlist check.
- Don't trust PR descriptions for behavior; confirm in code.
2. Draw
- Back up first:
cp index.html index.v<N>-<YYYY-MM-DD>.htmlnext to the live page (date = the old page's modification date). Link it from the new footer. - Start from the existing page if there is one (keep its geometry and
palette); otherwise copy
assets/template.html. - Apply design_system.md: happy path down
x=680, public left, deny right, new nodes teal-dashed with aNEWpill, arrow color = outcome, ≤2 lines per diamond. - Rebuild the route table with one column per user state the gates now
distinguish; mark new rows
is-new+badge-new. - Add the request-perimeter SVG when the changes add server-side checks.
- Add the pending-changes callout if any change is unmerged, and the source-changes grid (PR/commit links), stating which changes don't affect routing.
3. Verify the render
scripts/render_check.sh <page.html> /tmp/routing.pngOpen the PNG and fix every defect from design_system.md §8 (diamond text spill, label overlaps, text wider than its box, lines past the SVG edge). Re-render once after fixes.
4. Publish and report
- Copy the file to wherever the page is hosted (static host,
gh-pagesbranch, docs folder). No build step. - Reply with what changed per section, and call out anything plausible but unverified that was deliberately left off the diagram.
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.

