Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

design-patterns

Skill by waybarrios

Guides AI assistants in choosing design patterns and abstractions for Rust, TypeScript/React and Django/Python. Each recommendation covers when to use it, when to skip it, and its trade-offs.

  • Score 72
  • 559 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install design-patterns

Built from the published package, never by AI.

git clone --depth 1 https://github.com/waybarrios/opencode-power-pack /tmp/opencode-power-pack && mkdir -p ~/.claude/skills && cp -r /tmp/opencode-power-pack/skills/design-patterns ~/.claude/skills/design-patterns

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install design-patterns in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The design-patterns skill helps AI assistants choose patterns and design traits, interfaces, components and abstraction boundaries. It covers Rust, TypeScript and React, and Django and Python. Each pattern includes when to use it, when to skip it, and its trade-offs. The skill also lists common anti-patterns that apply across all three stacks.

The skill starts from the problem rather than a favored pattern. It asks the assistant to consider context such as language, scale and how often the code will change. It then presents two or three candidate patterns with trade-offs and recommends the best fit, along with when to revisit the choice. It is aimed at developers and agents making design decisions in these stacks. It refers to the code-architect and code-quality skills in the same pack.

Written from the project's SKILL.md and checked against it.

What it can do

  • Choose a patternWalks through identifying the problem, context, and 2-3 candidate patterns before recommending one.
  • Rust patternsCovers newtype, builder, typestate, trait objects vs generics, and error handling crates.
  • TypeScript and React patternsCovers compound components, custom hooks, discriminated unions, and a state management decision tree.
  • Django and Python patternsCovers service layer, QuerySet managers, and signals vs explicit calls.
  • Anti-pattern referenceLists common anti-patterns such as god object, shotgun surgery, and premature abstraction, with fixes.
  • Pattern selection guideSteps for describing the problem, constraints, options, a recommendation, and when to revisit it.

Try asking

  • Should I use a builder or new() for a Rust config struct with many optional fields?
  • Compare Django signals and explicit calls for audit logging in my app.
  • Suggest a state management approach for a React app with server data and sibling state.

Good to know

  • Covers only Rust, TypeScript/React and Django/Python patterns.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/design-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to design-patterns

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

design-patterns: common questions

Which languages and frameworks does the design-patterns skill cover?

It covers Rust, TypeScript with React, and Django with Python. Each section gives patterns tailored to that stack.

Does the skill always recommend a specific pattern?

No. The source says patterns are tools, not goals, and that a plain function or struct is fine if no pattern fits.

Does it work with other skills in the same pack?

The source says it cross-references the code-architect skill for architecture assessment and the code-quality skill for complexity thresholds.

How do I install design-patterns?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is design-patterns free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is design-patterns safe to use?

It scores 72 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to design-patterns?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

design-patterns Install

Add to stack

Loading.