MCP HubMCP Hub
スキル一覧に戻る

component-docs

majiayu000
更新日 Yesterday
19 閲覧
58
9
58
GitHubで表示
メタwordaidesign

について

このスキルは、実装の詳細を把握するためにgitの変更を分析し、コンポーネントのドキュメントを自動生成または更新します。docs/components/ディレクトリに一貫性のあるドキュメントのテンプレートを提供し、新機能やコンポーネントのドキュメント作成に最適です。開発者は変更を実装した後にこれを使用し、最新のコンポーネントカタログを維持するべきです。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/majiayu000/claude-skill-registry
Git クローン代替
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/component-docs

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Component Documentation Skill

Overview

This skill helps document components and features in the jimmodel project. It enables developers to create comprehensive, git-driven documentation that captures what was implemented, where the code lives, what libraries were used, and how it all works together.

The skill automatically explores git changes to discover implementation details, checks for existing documentation, and either creates new component docs or updates existing ones with the latest changes. All documentation follows consistent templates and conventions, making it easy for future developers to understand each component.

When to Use This Skill

Trigger this skill when:

  • You've just implemented a significant feature or component
  • You want to document an existing feature that's undocumented
  • You've made updates to a documented component and want to keep docs current
  • A teammate needs to understand how a feature works
  • You're onboarding and want to document what you're learning

Examples:

  • "I just finished implementing the authentication system, help me document it"
  • "Update the database schema docs with the new tables I added"
  • "Help me document the API routes structure"
  • "Create docs for the styling system"

How It Works

Core Workflow: Document a Component

See: references/workflows/document-component.md for detailed step-by-step instructions.

The workflow:

  1. Identify the component - Determine what you want to document
  2. Explore git changes - Use git commands to discover what was actually implemented
  3. Check existing docs - Is this a new component or an update to existing docs?
  4. Gather details - Extract files, technologies, configuration from git exploration
  5. Create or update docs - Use the template to write documentation
  6. Validate - Use the checklist to ensure completeness

Key Innovation: Git-Driven Discovery

Instead of relying on memory or assumptions, this skill uses git commands to objectively discover:

  • Which files were created/modified
  • What dependencies were added
  • Configuration changes made
  • The actual scope of implementation

See: references/git-exploration-guide.md for git commands and examples.

Documentation Template

The template in assets/component-template.md includes sections for:

  • Overview (what and why)
  • Files & Locations (where the code is)
  • Technologies & Libraries (what was used)
  • Configuration (how to set it up)
  • How It Works (the implementation)
  • Related Documentation (external links)
  • Future Considerations (tech debt, improvements)

Workflows

1. Document a Component (New or Update)

File: references/workflows/document-component.md Checklist: references/checklists/component-docs-checklist.md

Complete guide for creating or updating a component document. Includes:

  • Git exploration strategy to discover implementation details
  • Template population based on findings
  • Validation steps to ensure quality

2. Quick Checklist for Validation

File: references/checklists/component-docs-checklist.md

Use this checklist to verify your component documentation is complete and ready.

Resources

references/

  • workflows/document-component.md - Detailed step-by-step workflow for documenting components
  • checklists/component-docs-checklist.md - Checklist to validate documentation completeness
  • git-exploration-guide.md - Guide to using git commands to discover implementation details

assets/

  • component-template.md - Markdown template showing all sections and example content for component docs

File Location

All component documentation goes in: docs/components/

Files follow naming convention: [component-name].md (kebab-case)

Examples:

  • docs/components/authentication.md
  • docs/components/database-schema.md
  • docs/components/api-routes.md
  • docs/components/styling-system.md

Template Sections at a Glance

SectionPurposeKey Info
OverviewWhat and why1-2 sentence summary
Files & LocationsWhere the code livesFile paths with descriptions
Technologies & LibrariesWhat was usedLibrary names, versions, docs links
ConfigurationHow to set it upEnv vars, config files, setup steps
How It WorksThe implementationFlow explanation with file references
API Endpoints(if applicable)Route documentation
Usage Examples(if applicable)Code snippets showing usage
Related DocumentationReference linksExternal docs, internal docs
Future Considerations(optional)Tech debt, planned improvements

Quick Start Example

User: "I just implemented database schema with Drizzle ORM, can you help me document it?"

What the skill does:

  1. Asks: "Component name?" → "database-schema"
  2. Runs git commands to find changed files in db/schema/, drizzle/, and package.json
  3. Checks if docs/components/database-schema.md exists (doesn't)
  4. Extracts from git:
    • Files: db/schema/index.ts, drizzle/migrations/, drizzle.config.ts
    • Libraries: drizzle-orm, @neondatabase/serverless
    • Config: Database connection setup
  5. Creates docs/components/database-schema.md using template
  6. Validates against checklist

Result: A complete, git-informed component document ready for the team.

Design Principles

  1. Git-Driven - Use git to discover facts, not opinions
  2. Template-Based - Consistency across all component docs
  3. Developer-Focused - Written for future developers to understand quickly
  4. Comprehensive - Include all context needed to work with the component
  5. Maintainable - Easy to update as components evolve

GitHub リポジトリ

majiayu000/claude-skill-registry
パス: skills/component-docs

関連スキル

content-collections

メタ

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

スキルを見る

creating-opencode-plugins

メタ

This skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.

スキルを見る

evaluating-llms-harness

テスト

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

スキルを見る

sglang

メタ

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

スキルを見る