一键导入
project-guidelines-example
Example of a project-specific skill template. Use this as a template for your own projects.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Example of a project-specific skill template. Use this as a template for your own projects.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.
Automatically extract reusable patterns from sessions and save them as learned skills for future use.
Instinct-based learning system that observes sessions, creates atomic instincts with confidence scoring, and evolves them into skills/commands.
Formal evaluation framework implementing eval-driven development (EDD) principles
| name | project-guidelines-example |
| description | Example of a project-specific skill template. Use this as a template for your own projects. |
This is an example of a project-specific skill. Use this as a template for your own projects.
Reference this skill when working on a specific project. Project skills contain:
Tech Stack:
Services:
┌─────────────────────────────────────────────────────────────┐
│ Frontend │
│ Next.js 15 + TypeScript + TailwindCSS │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Backend │
│ FastAPI / Node.js API │
└─────────────────────────────────────────────────────────────┘
│
┌───────────────┼───────────────┐
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ Supabase │ │ LLM │ │ Redis │
│ Database │ │ API │ │ Cache │
└──────────┘ └──────────┘ └──────────┘
project/
├── src/
│ ├── app/ # Next.js app router pages
│ │ ├── api/ # API routes
│ │ ├── (auth)/ # Auth-protected routes
│ │ └── workspace/ # Main app workspace
│ ├── components/ # React components
│ │ ├── ui/ # Base UI components
│ │ ├── forms/ # Form components
│ │ └── layouts/ # Layout components
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utilities
│ ├── types/ # TypeScript definitions
│ └── config/ # Configuration
├── tests/ # Test files
├── docs/ # Documentation
└── scripts/ # Utility scripts
interface ApiResponse<T> {
success: boolean
data?: T
error?: string
}
// Success
return NextResponse.json({ success: true, data: result })
// Error
return NextResponse.json({ success: false, error: 'Message' }, { status: 400 })
export function useApi<T>(fetchFn: () => Promise<ApiResponse<T>>) {
const [data, setData] = useState<T | null>(null)
const [loading, setLoading] = useState(false)
const [error, setError] = useState<string | null>(null)
const execute = useCallback(async () => {
setLoading(true)
const result = await fetchFn()
if (result.success) {
setData(result.data!)
} else {
setError(result.error!)
}
setLoading(false)
}, [fetchFn])
return { data, loading, error, execute }
}
# Run all tests
npm test
# Run with coverage (target: 80%)
npm run test:coverage
# Run E2E tests
npm run test:e2e
coding-standards - General coding best practicesbackend-patterns - API and database patternsfrontend-patterns - React and Next.js patternstdd-workflow - Test-driven development methodology