CSS Debug Outlines
Outline every box on the page from one switch, without touching component code.
What it adds
A single development-only stylesheet that outlines and labels elements across the whole interface from one toggle.
What your agent is told to do
5
What your agent is told to do
5-
1
Implement the whole thing as one stylesheet activated by an attribute or class on the document root, so nothing has to be added to individual components and the switch can be flipped anywhere in the app.
-
2
Use outlines, which are painted outside the box and take no space, rather than borders. Confirm the change by measuring a known element with the mode on and off.
-
3
Vary the outline treatment by nesting depth so a deeply nested tree remains readable rather than collapsing into one grey mass of coincident lines.
-
4
Allow the set of outlined elements to be narrowed by selector, so a developer chasing one region is not shown the entire document.
-
5
Do not use this as the app's structural debugging tool. Labelled grid tracks, scroll containers, and component-level filtering belong to Layout Debug Mode; this feature is deliberately the crude, zero-dependency switch, and the two must not be active at once.
Edge cases it handles
7
Edge cases it handles
7- Borders and any change to padding or box sizing move the layout and manufacture new bugs; only outlines, box shadows, or an overlay layer are acceptable.
- Deeply nested markup produces overlapping outlines that read as a single thick line — cycle colour or opacity by depth so structure remains visible ten levels down.
- Selector filtering must be genuinely scoped, so restricting to one region does not still paint its ancestors and every sibling on the way down.
- The stylesheet must be excluded from production bundles entirely, not merely left inert behind an unset class. Verify against a built artefact.
- Elements with their own outline or focus ring must not have it overwritten, or keyboard focus becomes invisible while the mode is on.
- Replaced content such as images, canvases, and embedded frames will not show inner structure; outline the element itself and do not imply there is nothing inside.
- The toggle state should survive a reload during a debugging session rather than being lost on every refresh.
Definition of done
8
Definition of done
8- One toggle outlines elements across the entire app with no per-component changes.
- Measured element dimensions are identical with the mode on and off.
- Nesting depth is distinguishable in the outline treatment.
- Outlining can be narrowed to a selector or region.
- Focus indicators remain visible while the mode is active.
- The stylesheet is absent from the production bundle, verified in the built output.
- The feature matches the existing design system.
- No existing functionality is broken.
Related features
AI Cost Budgets
AI Cost Budgets
Cap what AI features are allowed to spend before the bill arrives.
What it does
Monetary spending limits on AI work, scoped by workspace, feature, and time period, enforced before a run starts.
How it works
- 1 Find every place the app calls a model and route all of them through one accounting point that records estimated and actual spend against a scope. A budget that only covers the chat feature is not a budget.
- 2 Estimate the cost of a run from the size of its input before dispatching it, and refuse anything that would exceed the remaining budget on its own.
- 3 Reserve the estimate against the budget when the run starts, then reconcile to the real usage figures when it finishes, releasing whatever was over-reserved.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/ai-cost-budgets
Multi-Model Routing
Multi-Model Routing
Send each AI request to the right model using rules you can read and test.
What it does
A deterministic routing layer that picks a model per request from task type, context size, latency budget, and data sensitivity.
How it works
- 1 Express routing as explicit, ordered rules over inputs the app can measure: task type, estimated context size, latency budget, and the sensitivity classification of the data involved. A rule set that can be read line by line can be reviewed and tested.
- 2 Make routing deterministic. The same inputs must always produce the same route, so a bad output can be reproduced and a rule change can be evaluated. Randomised or load-based selection turns every incident into guesswork.
- 3 Classify data before routing and refuse to route restricted content to any destination not approved for it. This check is a hard block, not a preference, and it must run before the request is assembled.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/multi-model-routing
SEO Setup
SEO Setup
Make your app findable — titles, meta, Open Graph, sitemap, robots.
What it does
The baseline SEO and social-preview setup every public app should have, and most skip.
How it works
- 1 Give every public page a unique, descriptive title and meta description. Find the app's layout and add a mechanism for each page to set them.
- 2 Add Open Graph and Twitter Card tags so shared links render a preview instead of a bare URL.
- 3 Generate a sitemap.xml covering every public, indexable page, and a robots.txt pointing at it.
Copy the prompt
No account needed
Add this feature to my app:
https://addthisfeature.com/x/seo-setup
How it works
-
1
Copy the link
Grab the Markdown instruction URL for this feature.
-
2
Give it to your AI
Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.
-
3
It inspects, then implements
Your agent reads your existing app first, then adds the feature to fit it.
Works with your stack
These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.
Need it tighter than that? Customize the feature and tell it exactly what you're running.