← Back to Skills Marketplace
djc00p

Coding Standards

by Deonte Cooper · GitHub ↗ · v1.0.0 · MIT-0
linuxdarwinwin32 ✓ Security Clean
218
Downloads
0
Stars
4
Active Installs
1
Versions
Install in OpenClaw
/install coding-standards
Description
Universal coding standards for TypeScript, JavaScript, React, and Node.js. Principles: readability first, KISS, DRY, YAGNI. Covers naming, type safety, error...
README (SKILL.md)

Coding Standards & Best Practices

Universal standards for maintainable, scalable TypeScript/JavaScript code.

Quick Start

  1. Readability First — Clear names, self-documenting code
  2. Type Safety — Avoid any, use explicit interfaces
  3. Error Handling — Try-catch with specific error types
  4. Immutability — Use spread operator, never direct mutation
  5. Test Structure — AAA pattern (Arrange, Act, Assert)

Core Principles

KISS — Simplest solution that works. No premature optimization.

DRY — Extract common logic into reusable functions and components.

YAGNI — Don't build before it's needed. Start simple, refactor when needed.

Readability — Code is read 10x more than written. Clarity over cleverness.

Naming Standards

Variables

// Good: Descriptive, type-hinted by name
const marketSearchQuery = 'election'
const isUserAuthenticated = true
const totalRevenue = 1000

// Bad: Single-letter, unclear
const q = 'election'
const flag = true
const x = 1000

Functions

// Good: Verb-noun pattern
async function fetchMarketData(id: string) { }
function calculateSimilarity(a: number[], b: number[]) { }
function isValidEmail(email: string): boolean { }

// Bad: Unclear or noun-only
async function market(id: string) { }
function similarity(a, b) { }
function email(e) { }

References

  • references/typescript.md — type safety, immutability, async patterns
  • references/react.md — component structure, hooks, state management
  • references/api-design.md — REST conventions, validation, error responses
  • references/file-org.md — project structure, file naming
  • references/testing.md — test patterns, AAA structure, test naming
  • references/code-smells.md — anti-patterns, long functions, deep nesting, magic numbers

Adapted from everything-claude-code by @affaan-m (MIT)

Usage Guidance
This skill is a documentation-only coding-standards guide and appears internally consistent and low-risk. Things to consider before installing: (1) the source/homepage is unknown — if provenance matters, verify the author or prefer a known source, (2) example snippets mention environment variables and API keys (OpenAI, Stripe, NEXT_PUBLIC_API_URL) for illustration only — the skill itself won't read or transmit secrets, and (3) review the included license/attribution (it cites an MIT adaptation) to ensure it fits your usage policies. If you later find a version that adds scripts, network calls, or install steps, re-evaluate for requests for credentials or downloads from untrusted URLs.
Capability Analysis
Type: OpenClaw Skill Name: coding-standards Version: 1.0.0 The bundle is a comprehensive documentation set providing coding standards and best practices for TypeScript, JavaScript, React, and Node.js. It contains no executable code, scripts, or malicious instructions, focusing entirely on educational content such as API design, testing patterns, and code smell detection across files like SKILL.md and various reference documents.
Capability Tags
cryptocan-make-purchases
Capability Assessment
Purpose & Capability
Name/description (coding standards for TypeScript/JS/React/Node) match the delivered artifacts: SKILL.md and a set of reference markdown files. The skill requests no binaries, no env vars, and has no install steps — all proportionate for a documentation-only skill.
Instruction Scope
SKILL.md and references are purely documentation and examples; they do not instruct the agent to read files, call external endpoints, or access secrets. A few example snippets reference environment variables or API keys (e.g., NEXT_PUBLIC_API_URL, STRIPE_KEY, OpenAI) as illustrative code, but the runtime instructions do not require or instruct using them.
Install Mechanism
No install spec and no code files to execute. Being instruction-only means nothing will be written to disk or downloaded during install — lowest-risk install behavior.
Credentials
The skill declares no required environment variables or credentials (proportional). Example snippets reference common env names and API keys for demonstration; these are not required by the skill but users should be aware examples mention secrets that real projects might use.
Persistence & Privilege
always is false and the skill is user-invocable (normal). The skill does not request persistent presence or modify other skills/config; autonomous model invocation is allowed by default but this skill's content does not give it extra privilege.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install coding-standards
  3. After installation, invoke the skill by name or use /coding-standards
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release. Universal TypeScript/JavaScript/React coding standards. Adapted from everything-claude-code by @affaan-m (MIT)
Metadata
Slug coding-standards
Version 1.0.0
License MIT-0
All-time Installs 4
Active Installs 4
Total Versions 1
Frequently Asked Questions

What is Coding Standards?

Universal coding standards for TypeScript, JavaScript, React, and Node.js. Principles: readability first, KISS, DRY, YAGNI. Covers naming, type safety, error... It is an AI Agent Skill for Claude Code / OpenClaw, with 218 downloads so far.

How do I install Coding Standards?

Run "/install coding-standards" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Coding Standards free?

Yes, Coding Standards is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Coding Standards support?

Coding Standards is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).

Who created Coding Standards?

It is built and maintained by Deonte Cooper (@djc00p); the current version is v1.0.0.

💬 Comments