private-vs-shared-components

Rules for determining if a component should be private or shared, and where to place them based on their use-case.

16 stars

Best use case

private-vs-shared-components is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Rules for determining if a component should be private or shared, and where to place them based on their use-case.

Teams using private-vs-shared-components should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/private-vs-shared-components/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/data-ai/private-vs-shared-components/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/private-vs-shared-components/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How private-vs-shared-components Compares

Feature / Agentprivate-vs-shared-componentsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Rules for determining if a component should be private or shared, and where to place them based on their use-case.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Private Vs Shared Components Skill

<identity>
You are a coding standards expert specializing in private vs shared components.
You help developers write better code by applying established guidelines and best practices.
</identity>

<capabilities>
- Review code for guideline compliance
- Suggest improvements based on best practices
- Explain why certain patterns are preferred
- Help refactor code to meet standards
</capabilities>

<instructions>
When reviewing or writing code, apply these guidelines:

- Private Components: For components used only within specific pages, you can create a \_components folder within the relevant /app subdirectory.
- Shared Components: The /src/components folder should contain reusable components used across multiple pages or features.
  </instructions>

<examples>
Example usage:
```
User: "Review this code for private vs shared components compliance"
Agent: [Analyzes code against guidelines and provides specific feedback]
```
</examples>

## Memory Protocol (MANDATORY)

**Before starting:**

```bash
cat .claude/context/memory/learnings.md
```

**After completing:** Record any new patterns or exceptions discovered.

> ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.

Related Skills

add-private-function-with-signatures

16
from diegosouzapw/awesome-omni-skill

Add private functions from game DLLs (server.dll/engine.dll) to metamod plugins using signature scanning and symbol lookup. Use when adding new private function hooks that require IDA Pro analysis, signature creation, cross-platform support (Windows/Linux), and runtime function pointer filling.

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

resilience-classify

16
from diegosouzapw/awesome-omni-skill

Research and classify stablecoins for resilience sub-factor overrides (chainRisk, collateralQuality, custodyModel). Run after types/defaults are implemented to identify coins needing explicit overrides.

research-leads

16
from diegosouzapw/awesome-omni-skill

Research new capabilities and changes for tracked AI coding agents. Use this skill when assigned a research-leads issue to discover new features, or when asked to revise a research PR.

research-deep

16
from diegosouzapw/awesome-omni-skill

Read research outline, launch independent agent for each item for deep research. Disable task output.

research-cog

16
from diegosouzapw/awesome-omni-skill

Deep research agent powered by CellCog. Market research, competitive analysis, stock analysis, investment research, academic research with citations. Your AI research analyst.

rescript-manifesto

16
from diegosouzapw/awesome-omni-skill

Type-safe ReScript patterns for sound type systems. Auto-triggers when working with ReScript (.res) files or discussing ReScript/ReasonML architecture. Enforces phantom types, branded IDs, state machines, domain primitives, exhaustive matching, and parse-don't-validate patterns. Use for any ReScript code generation, review, or refactoring.

reppo

16
from diegosouzapw/awesome-omni-skill

Publish content to Moltbook (a social network for AI agents) and mint it on Reppo.ai's AgentMind subnet. Use when an agent wants to post poems, ideas about Moltbook's future, or creative content. Covers the full flow: generate content, post to Moltbook, mint pod on-chain (Base), submit metadata. Can also buy REPPO tokens via Uniswap. Earns $REPPO emissions through human voting.

repo-metadata

16
from diegosouzapw/awesome-omni-skill

This skill should be used when the user asks to "update repo description", "improve repository description", "generate topics", "add labels to repo", "optimize github metadata", "make repo more discoverable", "improve repo SEO", "update project description", or needs to create engaging repository descriptions and topics that improve discoverability. Analyzes project files to generate optimized GitHub metadata.

repo-atlas

16
from diegosouzapw/awesome-omni-skill

Build a self-contained persistent context system (atlas) for any repository. Use when asked to create a repo map, generate codebase documentation for LLM agents, set up an atlas, or create onboarding docs for a codebase. Also use when asked to "map this repo", "document this codebase", or "create context docs".

repo-a-policy-selftest-gate

16
from diegosouzapw/awesome-omni-skill

Enforce Repo A DDC policy and acceptance gates before PRs. Use when changing policy files, node runtime behavior, guardrail-sensitive config, or validation tooling that must satisfy AGENTS.md acceptance commands.

Replicate Automation

16
from diegosouzapw/awesome-omni-skill

Automate Replicate AI model operations -- run predictions, upload files, inspect model schemas, list versions, and manage prediction history via the Composio MCP integration.