Global Best Practices
Universal principles for clean, maintainable, and robust code across all environments.
Skill by fierzone
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/fierzone-global-best-practices
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: agent-building
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. 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/global-best-practices
What's inside
- Skill name
Global Best Practices- Description
- Universal principles for clean, maintainable, and robust code across all environments.
- License
- Apache-2.0
- Instructions
- 51 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "Global Best Practices" does not match folder "best-practices"
Files (3)
- SKILL.md
- CODE_STRUCTURE.md · references/
- EFFECTIVENESS.md · references/
SKILL.md (first lines)
# Global Best Practices ## **Priority: P0 (FOUNDATIONAL)** ## 🏗 SOLID & Architectural Principles - **SRP (Single Responsibility)**: One class/function = One reason to change. Separate business logic from delivery (UI/API). - **OCP (Open-Closed)**: Extended via composition/interfaces; closed to source modification. - **LSP (Liskov)**: Subtypes must be transparently replaceable for base types. Use `@override` carefully. - **ISP (Interface Segregation)**: Granular interfaces > "Fat" general-purpose ones. - **DIP (Dependency Inversion)**: Depend on abstractions (interfaces), not concretions. Use DI containers. - **Modular Design**: Break complex systems into small, independent, and swappable components to reduce cognitive load. ## 🧹 Clean Code Standards (KISS/DRY/YAGNI) - **KISS**: Favor readable, simple logic over "clever" one-liners. - **DRY**: Abstract repeated logic into reusable utilities. No magic numbers/strings. - **YAGNI**: Implement only current requirements. Avoid "just in case" abstractions. - **Meaningful Names**: Use intention-revealing names (`isUserAuthenticated` > `checkUser`). - **Naming Conventions**: Follow language-specific standards: - `camelCase`: Variables/Functions (JS/Java/Dart). - `snake_case`: Variables/Functions (Python/Ruby). - `PascalCase`: Classes/Types (universal). - `kebab-case`: Files/CSS/URLs. ## 🛡 Security & Performance Foundations - **Sanitization**: Always validate external input (API, User, Env) to prevent Injection/XSS. - **Early Return**: Guard clauses first to minimize nesting and improve readability. - **Lazy Loading**: Defer heavy initialization or data fetching until actually needed. - **Resource Cleanup**: Always close streams, file handles, and database connections to prevent leaks. ## 🧱 Error Handling - **Predictable Failures**: Use custom exception types over generic Catch-Alls. - **Graceful Degradation**: Fallback values/UI for non-critical failures. - **Log Context**: Log actionable metadata (ID, State) along with errors. Avoid silent failures. ## 🚫 Anti-Patterns - **Magic Numbers**: `**No Hardcoded Constants**: Use named constants or config.` - **Pyramid of Doom**: `**No Deep Nesting**: Use guard clauses and early returns.` - **Mutable Globals**: `**No Global State**: Use dependency injection or state management.` - **Silent Failures**: `**No Empty Catch**: Always handle, log, or rethrow errors.` ## 📚 References - [Code Structure & Modular Design Examples](references/CODE_STRUCTURE.md) - [Skill Token Economy & Effectiveness](references/EFFECTIVENESS.md)
From fierzone/agent-skills-standard, Apache-2.0.
More from fierzone/agent-skills-standard
- 0.448score
tdd
fierzone
Enforces Test-Driven Development (Red-Green-Refactor) for rigorous code quality.
SkillDFreshness: D★ 3Claude Code +9 - 0.443score
Mobile Animation
fierzone
Motion design principles for mobile apps.
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
AI Feedback Reporter
fierzone
CRITICAL - Before ANY file write, audit loaded skills for violations.
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
Git & Collaboration Standards
fierzone
Universal standards for version control, branching, and team collaboration.
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
TypeScript Language Patterns
fierzone
Modern TypeScript standards for type safety, performance, and maintainability.
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
Debugging Expert
fierzone
Systematic troubleshooting using the Scientific Method (Observe, Hypothesize, Experiment, Fix).
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
Security Standards
fierzone
Universal security protocols for building safe and resilient software.
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
JavaScript Best Practices
fierzone
Idiomatic JavaScript patterns and conventions for maintainable code.
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
JavaScript Language Patterns
fierzone
Modern JavaScript (ES2022+) patterns for clean, maintainable code.
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
JavaScript Tooling
fierzone
Development tools, linting, and testing for JavaScript projects.
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
Skill Creator
fierzone
Standards for creating new High-Density Agent Skills with optimal token economy.
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
Code Review Expert
fierzone
Standards for performing high-quality, readable code reviews.
SkillDFreshness: D★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 4, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from fierzone
- 0.448score
tdd
fierzone
Enforces Test-Driven Development (Red-Green-Refactor) for rigorous code quality.
SkillDFreshness: D★ 3Claude Code +9 - 0.443score
Mobile Animation
fierzone
Motion design principles for mobile apps.
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
Code Review Expert
fierzone
Standards for performing high-quality, readable code reviews.
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
Git & Collaboration Standards
fierzone
Universal standards for version control, branching, and team collaboration.
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
AI Feedback Reporter
fierzone
CRITICAL - Before ANY file write, audit loaded skills for violations.
SkillDFreshness: D★ 3Claude Code +9 - 0.440score
Debugging Expert
fierzone
Systematic troubleshooting using the Scientific Method (Observe, Hypothesize, Experiment, Fix).
SkillDFreshness: D★ 3Claude Code +9
Cite this page
Global Best Practices skill. Agent Mart. https://agentmart.dev/skills/fierzone-global-best-practices (last updated 2026-10-24)