Agent Skills: factory-function-composition
Factory function patterns to compose clients and services. Use when wrapping resources with domain methods, refactoring mixed client/service/method options, or documenting returned factory methods.
ID: EpicenterHQ/epicenter/factory-function-composition
4,840386
Install this agent skill to your local
Skill Files
The files that make up factory-function-composition.
More agent skills
- design-testing-strategyUse before writing any type of tests. Distills 14 industry sources into deterministic decision gates, schemas, and worked test examples.
- scaffold-civitai-appScaffold a new app in apps/<name> wired to the shared @civitai/* packages. Cherry-picks only the packages the app imports and wires each one's dependency, bundler transpile entry, env vars, and a server shim. Use when creating a new monorepo app or *.civitai.com spoke (SvelteKit by default; Next.js supported). Defers to docs/packages/new-app-integration.md and each package README as the source of truth.
- skill-loaderSkill-Loader standards and best practices for Skill Loader. Includes implementation guidelines, common patterns, and testing strategies.
- onboarding-uxAudit and generate in-app user guidance — onboarding flows, empty states, tooltips, feature tours, contextual help, defaults, and inline hints. Browses the app to find where new users would get stuck, then produces the actual content and code to fix it. Pairs with ux-audit: audit finds problems, this skill builds the solutions. Triggers: 'onboarding', 'help content', 'empty states', 'user guidance', 'first run experience', 'feature tour', 'app is confusing', 'new user experience', 'make the app welcoming'.
- markdown-converterMarkdown conversion: PDF, Office, HTML, data, OCR, audio, ZIP, YouTube.
- product-analysisMulti-path parallel product analysis with cross-model test-time compute scaling. Spawns parallel agents (Claude Code agent teams + Codex CLI) to explore product from multiple perspectives, then synthesizes findings into actionable optimization plans. Can invoke competitors-analysis for competitive benchmarking. Use when "product audit", "self-review", "发布前审查", "产品分析", "analyze our product", "UX audit", or "信息架构审计".