I18n Naming
maotoumao/Cebian
Cebian project i18n key naming, placeholder, pluralization, file layout, and glossary conventions.
Make interfaces production-ready: error handling, empty states, onboarding flows, i18n, text overflow, and edge case management.
$ npx skills add zhushen12580/smart-screenshot --skill harden -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install zhushen12580/smart-screenshot harden --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/zhushen12580/smart-screenshot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/harden .claude/skills/harden && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "harden" agent skill from https://github.com/zhushen12580/smart-screenshot/tree/main/.agents/skills/harden into .claude/skills/harden/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harden", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/zhushen12580/smart-screenshot/tree/main/.agents/skills/hardenType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add zhushen12580/smart-screenshot --skill harden -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install zhushen12580/smart-screenshot harden --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zhushen12580/smart-screenshot.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/harden .agents/skills/harden && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "harden" agent skill from https://github.com/zhushen12580/smart-screenshot/tree/main/.agents/skills/harden into .agents/skills/harden/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harden", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add zhushen12580/smart-screenshot --skill harden -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install zhushen12580/smart-screenshot harden --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zhushen12580/smart-screenshot.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/harden .cursor/skills/harden && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "harden" agent skill from https://github.com/zhushen12580/smart-screenshot/tree/main/.agents/skills/harden into .cursor/skills/harden/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harden", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/zhushen12580/smart-screenshot.git --path .agents/skills/harden--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add zhushen12580/smart-screenshot --skill harden -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install zhushen12580/smart-screenshot harden --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zhushen12580/smart-screenshot.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/harden .gemini/skills/harden && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "harden" agent skill from https://github.com/zhushen12580/smart-screenshot/tree/main/.agents/skills/harden into .gemini/skills/harden/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harden", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install zhushen12580/smart-screenshot hardenInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add zhushen12580/smart-screenshot --skill harden -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/zhushen12580/smart-screenshot.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/harden .github/skills/harden && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "harden" agent skill from https://github.com/zhushen12580/smart-screenshot/tree/main/.agents/skills/harden into .github/skills/harden/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harden", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add zhushen12580/smart-screenshot --skill harden -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install zhushen12580/smart-screenshot harden --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/zhushen12580/smart-screenshot.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/harden .opencode/skills/harden && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "harden" agent skill from https://github.com/zhushen12580/smart-screenshot/tree/main/.agents/skills/harden into .opencode/skills/harden/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harden", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
hardenMake interfaces production-ready: error handling, empty states, onboarding flows, i18n, text overflow, and edge case management.
Harden is an agent skill from zhushen12580/smart-screenshot. Make interfaces production-ready: error handling, empty states, onboarding flows, i18n, text overflow, and edge case management. Use when the user asks to harden, make production-ready, handle edge cases, add error states, design empty states, improve onboarding, or fix overflow and i18n issues.
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Frontend & Design, covering Internationalization. It works with Chrome Extensions. The repository describes itself as: 🔥The first intelligent screenshot tool of the AI eraAI时代的首款智能截图工具. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 842dd84. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript, css and html).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Harden loads about 2.7k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 1,001 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from zhushen12580/smart-screenshot at commit 842dd84, republished under its MIT licence (© zhushen12580). 1,001 words, ~2,658 tokens.
.claude/skills/harden/SKILL.md (or your agent's skills folder).Strengthen interfaces against edge cases, errors, internationalization issues, and real-world usage scenarios that break idealized designs.
Identify weaknesses and edge cases:
Test with extreme inputs:
Test error scenarios:
Test internationalization:
CRITICAL: Designs that only work with perfect data aren't production-ready. Harden against reality.
Systematically improve resilience:
Long text handling:
/* 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:
/* 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:
clamp() for fluid typographyText expansion:
// ❌ 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:
/* 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:
Date/Time formatting:
// ✅ Use Intl API for proper formatting
new Intl.DateTimeFormat('en-US').format(date); // 1/15/2024
new Intl.DateTimeFormat('de-DE').format(date); // 15.1.2024
new Intl.NumberFormat('en-US', {
style: 'currency',
currency: 'USD'
}).format(1234.56); // $1,234.56Pluralization:
// ❌ Bad: Assumes English pluralization
`${count} item${count !== 1 ? 's' : ''}`
// ✅ Good: Use proper i18n library
t('items', { count }) // Handles complex plural rulesNetwork errors:
// Error states with recovery
{error && (
<ErrorMessage>
<p>Failed to load data. {error.message}</p>
<button onClick={retry}>Try again</button>
</ErrorMessage>
)}Form validation errors:
API errors:
Graceful degradation:
Empty states:
Loading states:
Large datasets:
Concurrent operations:
Permission states:
Browser compatibility:
Production-ready features work for first-time users, not just power users. Design the paths that get new users to value:
Empty states: Every zero-data screen needs:
Empty state types to handle:
First-run experience: Get users to their "aha moment" as quickly as possible.
Feature discovery: Teach features when users need them, not upfront.
NEVER:
Client-side validation:
Server-side validation (always):
Constraint handling:
<!-- Set clear constraints -->
<input
type="text"
maxlength="100"
pattern="[A-Za-z0-9]+"
required
aria-describedby="username-hint"
/>
<small id="username-hint">
Letters and numbers only, up to 100 characters
</small>Keyboard navigation:
Screen reader support:
Motion sensitivity:
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}High contrast mode:
Slow connections:
Memory leaks:
Throttling & Debouncing:
// Debounce search input
const debouncedSearch = debounce(handleSearch, 300);
// Throttle scroll handler
const throttledScroll = throttle(handleScroll, 100);Manual testing:
Automated testing:
IMPORTANT: Hardening is about expecting the unexpected. Real users will do things you never imagined.
NEVER:
Test thoroughly with edge cases:
Remember: You're hardening for production reality, not demo perfection. Expect users to input weird data, lose connection mid-flow, and use your product in unexpected ways. Build resilience into every component.
© zhushen12580, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/harden of zhushen12580/smart-screenshot.
Open the folder on GitHubat commit 842dd84
We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in zhushen12580/smart-screenshot, which our catalogue first saw on October 7, 2026.
Harden next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Harden this skillzhushen12580/smart-screenshot | 184 | 1 repos | ~2.7k | Automated safety check: Pass | MIT | |
| I18n Namingmaotoumao/Cebian | 164 | — | ~3.7k | Automated safety check: Pass | AGPL-3.0 | |
| Repomix Browser Extension Developeryamadashy/repomix | 29k | 1 repos | ~288 | Automated safety check: Pass | MIT | |
| Freighter Best Practicesstellar/freighter | 118 | — | ~706 | Automated safety check: Pass | Apache-2.0 | |
| Playwright Best Practicessanity-io/sanity | 6.4k | 7 repos | ~6.4k | Automated safety check: Pass | MIT | |
| Impeccablebestofjs/bestofjs | 3.1k | 26 repos | ~2.6k | Automated safety check: Pass | MIT |
maotoumao/Cebian
Cebian project i18n key naming, placeholder, pluralization, file layout, and glossary conventions.
yamadashy/repomix
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content…
stellar/freighter
Comprehensive best practices for the Freighter browser extension.
sanity-io/sanity
A skill your agent uses when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling…
bestofjs/bestofjs
A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…
chatboxai/chatbox
Translates new or changed i18n keys from a Chatbox Pro diff, staged changes or a commit range, writing the locale JSON files directly with a built-in glossary.
Works with
Categories
Make interfaces production-ready: error handling, empty states, onboarding flows, i18n, text overflow, and edge case management. Harden is an agent skill from zhushen12580/smart-screenshot. Make interfaces production-ready: error handling, empty states, onboarding flows, i18n, text overflow, and edge case management.
Harden fits situations like: the user asks to harden; make production-ready; handle edge cases; add error states.
Run `npx skills add zhushen12580/smart-screenshot --skill harden -a claude-code`. Or copy the skill folder (.agents/skills/harden in zhushen12580/smart-screenshot) into .claude/skills/harden in your project. Claude Code loads it when a task matches its description.
Run `npx skills add zhushen12580/smart-screenshot --skill harden -a codex`. Or copy the skill folder (.agents/skills/harden in zhushen12580/smart-screenshot) into .agents/skills/harden in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zhushen12580/smart-screenshot --skill harden -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/harden, .gemini/skills/harden, .github/skills/harden and .opencode/skills/harden in your project.
SKILL.md names no scripts, command-line tools or credentials: Harden is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Harden is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Harden: I18n Naming (maotoumao/Cebian, 164 stars), Repomix Browser Extension Developer (yamadashy/repomix, 29k stars), Freighter Best Practices (stellar/freighter, 118 stars) and Playwright Best Practices (sanity-io/sanity, 6.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
zhushen12580 (a GitHub user) maintains it in zhushen12580/smart-screenshot, which has 184 GitHub stars. The repository was last updated on July 5, 2026.
Source: zhushen12580/smart-screenshot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.