create-component
Skill7 starsChanged 7 months agoMITView on GitHub
Scaffolds a new component, module, or package following the project's existing structure, naming conventions, and patterns. Auto-detects framework and generates all necessary files including tests.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- monegit/agent-skillstheir own version, first seen Aug 11, 2026
- buildpad-ai/skillstheir own version, first seen Jul 19, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- buildpad-ai/skills★ 1same name
- monegit/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository45 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- a11y-auditSkill
- api-designSkill
- architecture-reviewSkill
- business-blueprintSkill
- business-logic-auditSkill
- changelogSkill
- ci-pipelineSkill
- code-coverageSkill
- competitive-analysisSkill
- convert-codeSkill
- db-migrationSkill
- debugSkill
- dependency-auditSkill
- deploy-checklistSkill
- design-flowSkill
- docker-setupSkill
- env-setupSkill
- error-monitorSkill
- estimateSkill
- explain-codeSkill
- fix-issueSkill
- generate-docsSkill
- git-cleanupSkill
- grill-meSkill
- handoffSkill
- legal-pagesSkill
- memory-importSkill
- memorySkill
- microcopySkill
- migrate-frameworkSkill
- onboardSkill
- optimizeSkill
- pr-summarySkill
- refactorSkill
- reference-appSkill
- review-prSkill
- security-scanSkill
- seo-scaffoldSkill
- tddSkill
- web-launch-checkSkill
- wireframeSkill
- write-skillSkill
- write-testsSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 33
Test file suffix (.test.ts, _test.go, test_.py, _spec.rb, etc.)
- Distinctive: line 84
Use the patterns found in Step 1
- Distinctive: line 86
Add standard boilerplate (constructor, basic methods)
- Distinctive: line 87
Follow the project's export pattern
- Distinctive: line 91
Add to barrel exports if the project uses them
- Distinctive: line 93
Add to module system if applicable (Angular modules, Python packages, etc.)
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create Component / Module
Detect Project Structure
!ls -d src/ app/ lib/ pkg/ cmd/ internal/ components/ pages/ modules/ features/ 2>/dev/null
!ls package.json go.mod Cargo.toml pyproject.toml *.csproj Gemfile mix.exs 2>/dev/null
Existing Components (for pattern matching)
!find . -type d -maxdepth 4 \( -path "*/components/*" -o -path "*/modules/*" -o -path "*/features/*" -o -path "*/pkg/*" -o -path "*/internal/*" \) -not -path "*/node_modules/*" -not -path "*/.git/*" 2>/dev/null | head -20
Scaffolding Process
Step 1: Analyze Existing Patterns
- Find the most similar existing component/module
- Note its file structure:
- Main implementation file
- Test file
- Types/interfaces file
- Index/barrel file
- Styles file (if frontend)
- Storybook/docs file (if applicable)
- Note naming conventions:
- PascalCase, camelCase, kebab-case, or snake_case?
- File extensions (.tsx, .ts, .py, .go, etc.)
- Test file suffix (.test.ts, test.go, test.py, _spec.rb, etc.)
Step 2: Determine What to Generate
Based on the detected framework:
React/Next.js/Vue:
ComponentName/
├── ComponentName.tsx # Main component
├── ComponentName.test.tsx # Tests
├── ComponentName.types.ts # TypeScript interfaces
├── ComponentName.module.css # Styles (if CSS modules used)
└── index.ts # Barrel exportPython:
module_name/
├── __init__.py # Public exports
├── module_name.py # Main implementation
├── models.py # Data models (if applicable)
└── test_module_name.py # TestsGo:
packagename/
├── packagename.go # Main implementation
├── packagename_test.go # Tests
└── types.go # Type definitions (if needed)Rust:
module_name/
├── mod.rs # Module entry point
├── types.rs # Types and structs
└── tests.rs # TestsC#/.NET:
ModuleName/
├── ModuleName.cs # Main class
├── IModuleName.cs # Interface
└── ModuleNameTests.cs # TestsStep 3: Generate Files
For each file:
- Use the patterns found in Step 1
- Include proper imports/using statements
- Add standard boilerplate (constructor, basic methods)
- Follow the project's export pattern
- Include a skeleton test file with at least one test
Step 4: Register the Component
- Add to barrel exports if the project uses them
- Register routes if it's a page/endpoint
- Add to module system if applicable (Angular modules, Python packages, etc.)
Rules
- Mirror existing patterns exactly — don't introduce new conventions
- Minimal boilerplate — generate just enough to be useful, not bloated
- Include tests — always create the test file
- Don't guess — if you can't determine the convention, ask the user
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

