harden
Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management.
Skill by wpgaurav
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/wpgaurav-harden
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/harden
What's inside
- Skill name
harden- Description
- Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready.
- License
- Apache-2.0
- Metadata
- source: https://github.com/pbakaus/impeccable
- Instructions
- 349 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
> Adapted from [impeccable](https://github.com/pbakaus/impeccable) by Paul Bakaus, used under the Apache License 2.0. Modified for this collection; see [NOTICE.md](../../../NOTICE.md) for what changed.
Strengthen interfaces against edge cases, errors, internationalization issues, and real-world usage scenarios that break idealized designs.
## Assess Hardening Needs
Identify weaknesses and edge cases:
1. **Test with extreme inputs**:
- Very long text (names, descriptions, titles)
- Very short text (empty, single character)
- Special characters (emoji, RTL text, accents)
- Large numbers (millions, billions)
- Many items (1000+ list items, 50+ options)
- No data (empty states)
2. **Test error scenarios**:
- Network failures (offline, slow, timeout)
- API errors (400, 401, 403, 404, 500)
- Validation errors
- Permission errors
- Rate limiting
- Concurrent operations
3. **Test internationalization**:
- Long translations (German is often 30% longer than English)
- RTL languages (Arabic, Hebrew)
- Character sets (Chinese, Japanese, Korean, emoji)
- Date/time formats
- Number formats (1,000 vs 1.000)
- Currency symbols
**CRITICAL**: Designs that only work with perfect data aren't production-ready. Harden against reality.
## Hardening Dimensions
Systematically improve resilience:
### Text Overflow & Wrapping
**Long text handling**:
```css
/* Single line with ellipsis */
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Multi-line with clamp */
.line-clamp {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Allow wrapping */
.wrap {
word-wrap: break-word;
overflow-wrap: break-word;
hyphens: auto;
}
```
**Flex/Grid overflow**:
```css
/* Prevent flex items from overflowing */
.flex-item {
min-width: 0; /* Allow shrinking below content size */
overflow: hidden;
}
/* Prevent grid items from overflowing */
.grid-item {
min-width: 0;
min-height: 0;
}
```
**Responsive text sizing**:
- Use `clamp()` for fluid typography
- Set minimum readable sizes (14px on mobile)
- Test text scaling (zoom to 200%)
- Ensure containers expand with text
### Internationalization (i18n)
**Text expansion**:
- Add 30-40% space budget for translations
- Use flexbox/grid that adapts to content
- Test with longest language (usually German)
- Avoid fixed widths on text containers
```jsx
// ❌ Bad: Assumes short English text
<button className="w-24">Submit</button>
// ✅ Good: Adapts to content
<button className="px-4 py-2">Submit</button>
```
**RTL (Right-to-Left) support**:
```css
/* Use logical properties */
margin-inline-start: 1rem; /* Not margin-left */
padding-inline: 1rem; /* Not padding-left/right */
border-inline-end: 1px solid; /* Not border-right */
/* Or use dir attribute */
[dir="rtl"] .arrow { transform: scaleX(-1); }
```
**Character set support**:
- Use UTF-8 encoding everywhere
- Test with Chinese/Japanese/Korean (CJK) characters
- Test with emoji (they can be 2-4 bytes)
- Handle different scripts (Latin, Cyrillic, Arabic, etc.)
**Date/Time formatting**:From wpgaurav/WordPress-skills, Apache-2.0.
More from wpgaurav/WordPress-skills
- 0.642score
cinematic-editorial-graphics
wpgaurav
Create cinematic editorial hero images with photorealistic subjects, dramatic typography, and magazine-quality composition.
SkillAFreshness: A★ 18Claude Code +9 - 0.642score
ui-design-brain
wpgaurav
Generate production-grade UI using real component patterns and best practices from 60+ documented interface components.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
bolder
wpgaurav
Amplify safe or boring designs to make them more visually interesting and stimulating.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
onboard
wpgaurav
Design or improve onboarding flows, empty states, and first-time user experiences.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
audit
wpgaurav
Perform comprehensive audit of interface quality across accessibility, performance, theming, and responsive design.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
colorize
wpgaurav
Add strategic color to features that are too monochromatic or lack visual interest.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
delight
wpgaurav
Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
critique
wpgaurav
Evaluate design effectiveness from a UX perspective.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
animate
wpgaurav
Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
adapt
wpgaurav
Adapt designs to work across different screen sizes, devices, contexts, or platforms.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
extract
wpgaurav
Extract and consolidate reusable components, design tokens, and patterns into your design system.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
polish
wpgaurav
Final quality pass before shipping.
SkillAFreshness: A★ 18Claude Code +9
Signals
- Stars
- 18
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Oct 24, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/wpgaurav/WordPress-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.241score
harden
jimiryquai
Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management.
SkillDFreshness: DClaude Code +9 - 0.241score
harden
panin-glitch
Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management.
SkillDFreshness: DClaude Code +9 - 0.241score
harden
soasme
Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management.
SkillDFreshness: DClaude Code +9
More from wpgaurav
- 0.642score
ui-design-brain
wpgaurav
Generate production-grade UI using real component patterns and best practices from 60+ documented interface components.
SkillAFreshness: A★ 18Claude Code +9 - 0.642score
cinematic-editorial-graphics
wpgaurav
Create cinematic editorial hero images with photorealistic subjects, dramatic typography, and magazine-quality composition.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
bolder
wpgaurav
Amplify safe or boring designs to make them more visually interesting and stimulating.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
animate
wpgaurav
Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
audit
wpgaurav
Perform comprehensive audit of interface quality across accessibility, performance, theming, and responsive design.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
adapt
wpgaurav
Adapt designs to work across different screen sizes, devices, contexts, or platforms.
SkillAFreshness: A★ 18Claude Code +9
Cite this page
harden skill. Agent Mart. https://agentmart.dev/skills/wpgaurav-harden (last updated 2026-10-24)