跳到正文
FunCoding

best-practices

Star
679
许可证
Unlicense
最近提交
2026年9月27日

skills/best-practices/SKILL.md

在 GitHub 上查看

best-practices

Searchable knowledge base of 170+ programming best practices across 35+ languages and frameworks. BM25-powered search over curated resources from industry leaders (Google, Airbnb, Uber, Mozilla, Microsoft, Shopify, OWASP, Anthropic, OpenAI).

Prerequisites

Python 3 must be installed:

python3 --version

How to Use This Workflow

When user asks about coding standards, best practices, style guides, code review, architecture, security, or performance for any language/framework, follow this workflow:

Step 1: Analyze User Requirements

Extract from user request:

  • Language/Framework: Python, JavaScript, Go, React, Rails, etc.
  • Topic: style guide, design patterns, performance, security, clean code, etc.
  • Depth: quick reference vs. deep dive

Step 2: Search Best Practices (REQUIRED)

Always start with --recommend to get comprehensive results (resources + deep content):

python3 skills/best-practices/scripts/search.py "<language> <topic>" --recommend

Examples:

python3 skills/best-practices/scripts/search.py "python style guide" --recommend
python3 skills/best-practices/scripts/search.py "javascript clean code" --recommend
python3 skills/best-practices/scripts/search.py "react performance" --recommend
python3 skills/best-practices/scripts/search.py "sql optimization" --recommend
python3 skills/best-practices/scripts/search.py "api security" --recommend

Step 3: Supplement with Domain Searches (as needed)

# Search all resources (default)
python3 skills/best-practices/scripts/search.py "<query>" --domain resource

# Search by language/technology overview
python3 skills/best-practices/scripts/search.py "<query>" --domain language

# Search by category
python3 skills/best-practices/scripts/search.py "<query>" --domain category

# Deep search within crawled content files
python3 skills/best-practices/scripts/search.py "<query>" --content

# Deep search filtered by language
python3 skills/best-practices/scripts/search.py "<query>" --content --lang python

Step 4: Read Deep Content (when needed)

When a search result includes a File path, read it for detailed content:

content/core_technologies/250af6826bbd.md  → Google JavaScript Style Guide
content/web_backend/b8aad3894efa.md        → Python Code Style Guide

Search Reference

Available Domains

DomainUse ForExample
resourceAll 170+ resources with metadata"python best practices"
languageLanguage/tech overview with top resources"go", "react"
categoryBrowse by category"frontend", "security"

Content Search (--content)

Searches within the actual crawled markdown files for deeper matches. Use --lang to filter by language.

Authority Levels

Results are tagged with authority:

  • ⭐ industry-leader — Google, Airbnb, Uber, Mozilla, Microsoft, Shopify
  • 🏆 standard — OWASP, 12factor, Refactoring.Guru
  • open-source — GitHub community projects
  • community — Blog posts, tutorials

Coverage

Languages & Frameworks (35+)

DomainTechnologies
BackendPython, Ruby, Rails, PHP, Laravel, Node.js, NestJS, Go, Java, Kotlin, Scala, C#, Elixir, tRPC, Deno, Bun
FrontendJavaScript, TypeScript, HTML, CSS, SASS, React, Vue, Angular, Next.js, Nuxt, Svelte, Solid.js
SystemsC, C++, Rust
MobileSwift, Objective-C, Flutter, Dart, React Native
DatabaseSQL, PostgreSQL, MySQL, NoSQL/MongoDB, Prisma, Drizzle ORM
DevOpsBash, AWS, Microservices, Docker, Kubernetes
SecurityOWASP, API Security, DevSecOps, LLM Security
AI/MLMLOps, LLM, Prompt Engineering, AI Agents, Responsible AI
ToolsCode Review, Git, Biome, Turborepo, Nx
TopicResourceAuthority
JavaScript StyleAirbnb Style Guide⭐ industry-leader
Clean CodeClean Code JavaScriptopen-source
System DesignSystem Design 101 (ByteByteGo)open-source
Cloud NativeThe Twelve-Factor App🏆 standard
SecurityOWASP Top 10🏆 standard
Go StyleUber Go Style Guide⭐ industry-leader
Ruby StyleCommunity Ruby Style Guideopen-source
Design PatternsRefactoring.Guru🏆 standard

Common Query Mapping

User Asks AboutSearch Query
Code style for [language]"<language> style guide" --recommend
How to structure a project"system design architecture" --recommend
Security best practices"security owasp api" --recommend
Database optimization"sql postgresql optimization" --recommend
Frontend performance"frontend performance web vitals" --recommend
Code review checklist"code review best practices" --recommend
Cloud deployment"aws microservices cloud native" --recommend
Design patterns for [lang]"<language> design patterns" --recommend

Rebuilding the CSV Database

If new content is crawled, regenerate the CSVs:

python3 skills/best-practices/scripts/generate_csv.py

This reads content/index.json and produces:

  • data/resources.csv — All 170+ resources with metadata
  • data/languages.csv — Aggregated by language/technology
  • data/categories.csv — Aggregated by category

相似的 Skill

prototype

MAmattpocock/skills336k近 7 天新增 4,217 个 star

angular-developer

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

官方

firecrawl-build-scrape

FIfirecrawl/firecrawl214k近 7 天新增 4,815 个 star

官方

brand-guidelines

ANanthropics/skills203k近 7 天新增 2,822 个 star

精选

frontend-design

为界面确定视觉方向和字体,避免模板化的默认样式。

ANanthropics/skills203k近 7 天新增 2,822 个 star

精选

web-artifacts-builder

用 React、Tailwind 和 shadcn/ui 构建多组件页面。

ANanthropics/skills203k近 7 天新增 2,822 个 star