knowledge-ops
Knowledge base management, ingestion, sync, and retrieval across multiple storage layers (local files, MCP memory, vector stores, Git repos). Use when the user wants to save, organize, sync, deduplicate, or search across their knowledge systems.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-08
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
Components
- Prefer function components: Use React function components with hooks over class components.
- Client vs server: Mark interactive components with
"use client"at the top of the file; keep non-interactive logic in server components or libraries. - No default exports: Use named exports for all components.
Hooks
- Hook ordering: Follow the standard rules of hooks; no conditional or looped hooks.
- Derived state: Prefer deriving values from props/form state instead of duplicating them in
useState. - Effects: Keep
useEffectminimal and side effect focused; avoid using it for basic data derivation.
Forms
- Validation: Use
react-hook-form+ Zod for all non-trivial forms. - UI primitives: Prefer shadcn
Formprimitives (Form,FormField,FormItem,FormLabel,FormControl,FormMessage) for form layout and error handling. - Schema location: Co-locate small form schemas with the component; extract only when reused across modules.
Styling & Layout
- Class merging: Use the shared
cnutility for conditional classes. - Composition: Prefer smaller composed components over deeply nested JSX in a single component.
Configuration Access
- Client components: Always use
useConfig()from@/components/config-providerto access site configuration in client components ("use client"). - Never import
siteConfigdirectly in client components—it derives values from server-only environment variables. TheConfigProviderreceives a serialized version that decouples client code from server secrets.
04 同仓库更多 Skills
remotion-video-creation
Best practices for Remotion - Video creation in React. 29 domain-specific rules covering 3D, animations, audio, captions, charts, transitions, and more.
hotcook-recipes
暂无简介
code-helper
Code review and assistance skill
research-assistant
Web research assistant skill using Brave Search MCP
x-api
X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.
workspace-surface-audit
Audit the active repo, MCP servers, plugins, connectors, env surfaces, and harness setup, then recommend the highest-value ECC-native skills, hooks, agents, and operator workflows. Use when the user wants help setting up Claude Code or understanding what capabilities are actually available in their environment.