implemented steps 1-5
This commit is contained in:
@@ -2,6 +2,31 @@
|
||||
name: copilot-customization
|
||||
description: 'Plan, create, review, and debug GitHub Copilot and VS Code agent customizations, including instructions, prompt files, skills, custom agents, hooks, MCP servers, and repo-specific personal-mcp skill integration.'
|
||||
argument-hint: 'What Copilot behavior are you customizing, and should it be workspace-scoped, personal, or exposed as an MCP skill resource?'
|
||||
x-personal-mcp:
|
||||
id: copilot-customization
|
||||
version: 1.0.0
|
||||
tags:
|
||||
- copilot
|
||||
- vscode
|
||||
- customization
|
||||
- instructions
|
||||
- prompts
|
||||
- agent-skills
|
||||
- custom-agents
|
||||
- hooks
|
||||
- mcp
|
||||
- personal-mcp
|
||||
- skills
|
||||
capabilities:
|
||||
- resource://skills/copilot-customization/document
|
||||
depends_on:
|
||||
- new-skill
|
||||
- zensical-docs
|
||||
references:
|
||||
vscode-customization:
|
||||
path: references/vscode-customization.md
|
||||
mime_type: text/markdown
|
||||
title: VS Code Customization
|
||||
---
|
||||
|
||||
# Copilot Customization
|
||||
@@ -51,15 +76,14 @@ Use [VS Code customization references](./references/vscode-customization.md) for
|
||||
When adding a new skill to this `personal-mcp` repo, follow the resource-first pattern:
|
||||
|
||||
1. Search the catalog for `new skill` and load `resource://skills/new-skill/document`.
|
||||
2. Create authored docs under `docs/skills/<slug>/SKILL.md`, with optional one-level `references/` files.
|
||||
3. Choose consistent names: docs slug and resource id use kebab-case; Python namespace uses snake_case.
|
||||
4. Create `src/personal_mcp/skills/<python_namespace>/` with `__init__.py`, `server.py`, and `metadata.yaml`.
|
||||
5. Expose only `resource://skills/<skill-id>/document` from the per-skill server.
|
||||
6. Put discovery metadata in `metadata.yaml`, including `id`, `name`, `version`, `description`, `tags`, `capabilities`, and `depends_on`.
|
||||
7. Mount the skill server in `src/personal_mcp/mcp.py` using the Python namespace.
|
||||
8. Validate with the document loader and `uv run zensical build`.
|
||||
2. Create authored docs under `docs/skills/<skill-id>/SKILL.md`, with optional nested `references/` markdown files.
|
||||
3. Keep `skill-id` stable and consistent across directory name, `name`, and `x-personal-mcp.id`.
|
||||
4. Put discovery metadata in `SKILL.md` frontmatter under `x-personal-mcp`.
|
||||
5. Declare `resource://skills/<skill-id>/document` in `x-personal-mcp.capabilities`.
|
||||
6. Declare references in `x-personal-mcp.references` as `ref-id -> references/<file>.md` mappings.
|
||||
7. Validate with the registry loader and `uv run zensical build`.
|
||||
|
||||
Keep per-skill servers resource-only. Catalog-level discovery is the only place for thin fallback discovery tools.
|
||||
Keep runtime implementation registry-driven in `src/personal_mcp/mcp.py`; do not add per-skill Python server modules.
|
||||
|
||||
## Quality Checks
|
||||
|
||||
|
||||
@@ -2,6 +2,46 @@
|
||||
name: fastapi-async-sqlalchemy-modernization
|
||||
description: 'Create a step-by-step modernization plan for an existing FastAPI app using SQLAlchemy async patterns, context managers, and AsyncExitStack. Use when: planning migration from legacy DB setup, standardizing async engine/session lifecycles, defining transaction boundaries, and aligning with SQLAlchemy 2.x best practices.'
|
||||
argument-hint: 'What is your current FastAPI + SQLAlchemy setup (sync/async driver, session pattern, lifespan usage, and deployment model)?'
|
||||
x-personal-mcp:
|
||||
id: fastapi-async-sqlalchemy-modernization
|
||||
version: 1.0.0
|
||||
tags:
|
||||
- fastapi
|
||||
- sqlalchemy
|
||||
- async
|
||||
- modernization
|
||||
capabilities:
|
||||
- resource://skills/fastapi-async-sqlalchemy-modernization/document
|
||||
depends_on: []
|
||||
references:
|
||||
index:
|
||||
path: references/index.md
|
||||
mime_type: text/markdown
|
||||
title: Index
|
||||
engine:
|
||||
path: references/engine.md
|
||||
mime_type: text/markdown
|
||||
title: Engine
|
||||
session:
|
||||
path: references/session.md
|
||||
mime_type: text/markdown
|
||||
title: Session
|
||||
transactions:
|
||||
path: references/transactions.md
|
||||
mime_type: text/markdown
|
||||
title: Transactions
|
||||
implicit-io:
|
||||
path: references/implicit_io.md
|
||||
mime_type: text/markdown
|
||||
title: Implicit IO
|
||||
observability:
|
||||
path: references/observability.md
|
||||
mime_type: text/markdown
|
||||
title: Observability
|
||||
template:
|
||||
path: references/template.md
|
||||
mime_type: text/markdown
|
||||
title: Template
|
||||
---
|
||||
|
||||
# FastAPI Async SQLAlchemy Modernization Plan
|
||||
|
||||
@@ -2,6 +2,33 @@
|
||||
name: fastapi-uv-docker
|
||||
description: 'Audit and migrate an existing Python project to best practices for a cloud-native ASGI FastAPI app managed with uv and run with uvicorn in Docker. Use when: conforming a project to production standards, setting up src layout, configuring pyproject.toml, writing multi-stage Dockerfiles, wiring lifespan and settings, adding health endpoints, enforcing non-root container user, migrating from requirements.txt to uv.'
|
||||
argument-hint: 'What is the current state of the project (bare Python, requirements.txt, pip, etc.)?'
|
||||
x-personal-mcp:
|
||||
id: fastapi-uv-docker
|
||||
version: 1.0.0
|
||||
tags:
|
||||
- fastapi
|
||||
- uv
|
||||
- docker
|
||||
capabilities:
|
||||
- resource://skills/fastapi-uv-docker/document
|
||||
depends_on: []
|
||||
references:
|
||||
fastapi-best-practices:
|
||||
path: references/fastapi-best-practices.md
|
||||
mime_type: text/markdown
|
||||
title: FastAPI Best Practices
|
||||
uv-project-layout:
|
||||
path: references/uv-project-layout.md
|
||||
mime_type: text/markdown
|
||||
title: uv Project Layout
|
||||
uvicorn-settings:
|
||||
path: references/uvicorn-settings.md
|
||||
mime_type: text/markdown
|
||||
title: Uvicorn Settings
|
||||
docker-cloud-native:
|
||||
path: references/docker-cloud-native.md
|
||||
mime_type: text/markdown
|
||||
title: Docker Cloud Native
|
||||
---
|
||||
|
||||
# FastAPI Project Best Practices
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
---
|
||||
name: new-skill
|
||||
description: Provide a practical checklist and baseline template for creating a new docs-first MCP skill in this repository.
|
||||
argument-hint: What skill are you creating, and what problem should it solve?
|
||||
x-personal-mcp:
|
||||
id: new-skill
|
||||
version: 1.0.0
|
||||
tags:
|
||||
- fastmcp
|
||||
- bootstrap
|
||||
- scaffolding
|
||||
- skills
|
||||
- mcp
|
||||
capabilities:
|
||||
- resource://skills/new-skill/document
|
||||
depends_on: []
|
||||
references: {}
|
||||
---
|
||||
|
||||
# New Skill Bootstrap
|
||||
|
||||
Use this skill to bootstrap a new skill in the docs-first architecture.
|
||||
|
||||
## Scope
|
||||
|
||||
1. Create docs under docs/skills/<skill-id>/.
|
||||
2. Define SKILL frontmatter with Anthropic and x-personal-mcp fields.
|
||||
3. Declare references via x-personal-mcp.references when needed.
|
||||
4. Validate the docs build and MCP resource reads.
|
||||
|
||||
## Authoring Checklist
|
||||
|
||||
1. Create docs/skills/<skill-id>/SKILL.md.
|
||||
2. Add docs/skills/<skill-id>/references/ files as needed.
|
||||
3. Keep skill id and directory name aligned.
|
||||
4. Keep frontmatter name equal to x-personal-mcp.id.
|
||||
5. Include resource://skills/<skill-id>/document in capabilities.
|
||||
|
||||
## Validation
|
||||
|
||||
1. uv run zensical build
|
||||
2. uv run pytest -q
|
||||
@@ -2,6 +2,30 @@
|
||||
name: nicegui-ui-customization
|
||||
description: 'Design and implement production NiceGUI UIs with reusable components, Tailwind-first styling, event-driven interactions, and troubleshooting for uploads, state, and static assets. Use when building or refactoring NiceGUI pages and interaction flows.'
|
||||
argument-hint: 'What UI outcome should this workflow produce?'
|
||||
x-personal-mcp:
|
||||
id: nicegui-ui-customization
|
||||
version: 1.0.0
|
||||
tags:
|
||||
- nicegui
|
||||
- ui
|
||||
- customization
|
||||
- frontend
|
||||
capabilities:
|
||||
- resource://skills/nicegui-ui-customization/document
|
||||
depends_on: []
|
||||
references:
|
||||
architecture-and-styling:
|
||||
path: references/architecture-and-styling.md
|
||||
mime_type: text/markdown
|
||||
title: Architecture and Styling
|
||||
interaction-patterns:
|
||||
path: references/interaction-patterns.md
|
||||
mime_type: text/markdown
|
||||
title: Interaction Patterns
|
||||
troubleshooting-and-quality-gates:
|
||||
path: references/troubleshooting-and-quality-gates.md
|
||||
mime_type: text/markdown
|
||||
title: Troubleshooting and Quality Gates
|
||||
---
|
||||
|
||||
# NiceGUI UI Customization Workflow
|
||||
|
||||
@@ -2,6 +2,26 @@
|
||||
name: nicegui
|
||||
description: 'Design and scaffold a production-ready NiceGUI + FastAPI application architecture. Use for multi-page app planning, package boundaries, optional DB/LangGraph/docs integration, and implementation checklists.'
|
||||
argument-hint: 'What should this app include (pages, DB, AI, docs, constraints)?'
|
||||
x-personal-mcp:
|
||||
id: nicegui
|
||||
version: 1.0.0
|
||||
tags:
|
||||
- nicegui
|
||||
- fastapi
|
||||
- ui
|
||||
- architecture
|
||||
capabilities:
|
||||
- resource://skills/nicegui/document
|
||||
depends_on: []
|
||||
references:
|
||||
architecture:
|
||||
path: references/architecture.md
|
||||
mime_type: text/markdown
|
||||
title: Architecture
|
||||
source-documentation:
|
||||
path: references/source-documentation.md
|
||||
mime_type: text/markdown
|
||||
title: Source Documentation
|
||||
---
|
||||
|
||||
# NiceGUI
|
||||
|
||||
@@ -2,6 +2,29 @@
|
||||
name: pytest-scaffolding
|
||||
description: "Scaffold a maintainable, hierarchical pytest suite with fast defaults and clear escalation paths for FastAPI and SQLAlchemy tests. Use when creating or reorganizing tests, defining fixture/marker boundaries, or making test strategy progressively discoverable."
|
||||
argument-hint: "Target scope plus stack details (pure Python, FastAPI, SQLAlchemy sync, SQLAlchemy async, or mixed)"
|
||||
x-personal-mcp:
|
||||
id: pytest-scaffolding
|
||||
version: 1.0.0
|
||||
tags:
|
||||
- pytest
|
||||
- testing
|
||||
- python
|
||||
capabilities:
|
||||
- resource://skills/pytest-scaffolding/document
|
||||
depends_on: []
|
||||
references:
|
||||
pytest-docs:
|
||||
path: references/pytest-docs.md
|
||||
mime_type: text/markdown
|
||||
title: Pytest Docs
|
||||
fastapi-testing:
|
||||
path: references/fastapi-testing.md
|
||||
mime_type: text/markdown
|
||||
title: FastAPI Testing
|
||||
sqlalchemy-testing:
|
||||
path: references/sqlalchemy-testing.md
|
||||
mime_type: text/markdown
|
||||
title: SQLAlchemy Testing
|
||||
---
|
||||
|
||||
# Pytest Scaffolding
|
||||
|
||||
@@ -2,6 +2,21 @@
|
||||
name: python-logging-dictconfig
|
||||
description: 'Set up idiomatic Python logging with logging.config.dictConfig. Use when creating or refactoring logging setup, standardizing handlers/formatters, and enforcing centralized config.'
|
||||
argument-hint: 'Target context (single script, package, FastAPI app, or CLI) and desired log destinations'
|
||||
x-personal-mcp:
|
||||
id: python-logging-dictconfig
|
||||
version: 1.0.0
|
||||
tags:
|
||||
- logging
|
||||
- python
|
||||
- observability
|
||||
capabilities:
|
||||
- resource://skills/python-logging-dictconfig/document
|
||||
depends_on: []
|
||||
references:
|
||||
python-logging-docs:
|
||||
path: references/python-logging-docs.md
|
||||
mime_type: text/markdown
|
||||
title: Python Logging Docs
|
||||
---
|
||||
|
||||
# Idiomatic Python Logging with dictConfig
|
||||
|
||||
@@ -2,6 +2,33 @@
|
||||
name: vscode-configuration
|
||||
description: 'Create and troubleshoot VS Code workspace configuration for Python projects, with focused patterns for launch.json debugpy/FastAPI debugging and tasks.json task automation.'
|
||||
argument-hint: 'What do you need: debug setup, FastAPI debug run profile, tasks.json automation, or all of them?'
|
||||
x-personal-mcp:
|
||||
id: vscode-configuration
|
||||
version: 1.0.0
|
||||
tags:
|
||||
- vscode
|
||||
- launch-json
|
||||
- tasks-json
|
||||
- debugpy
|
||||
- fastapi
|
||||
- python
|
||||
- skills
|
||||
capabilities:
|
||||
- resource://skills/vscode-configuration/document
|
||||
depends_on: []
|
||||
references:
|
||||
debug-launch-configurations:
|
||||
path: references/debug-launch-configurations.md
|
||||
mime_type: text/markdown
|
||||
title: Debug Launch Configurations
|
||||
fastapi-debugpy-launch:
|
||||
path: references/fastapi-debugpy-launch.md
|
||||
mime_type: text/markdown
|
||||
title: FastAPI Debugpy Launch
|
||||
tasks-json-configuration:
|
||||
path: references/tasks-json-configuration.md
|
||||
mime_type: text/markdown
|
||||
title: Tasks JSON Configuration
|
||||
---
|
||||
|
||||
# VS Code Configuration
|
||||
|
||||
@@ -2,6 +2,49 @@
|
||||
name: zensical-docs
|
||||
description: 'Reference skill for Zensical documentation mechanics. Use for quick lookup of docs structure, feature options, and source links, then edit this skill over time to record project preferences for when each feature should be used.'
|
||||
argument-hint: 'What are you documenting, who is the audience, and what Zensical features are in scope?'
|
||||
x-personal-mcp:
|
||||
id: zensical-docs
|
||||
version: 1.0.0
|
||||
tags:
|
||||
- zensical
|
||||
- mkdocs
|
||||
- mkdocs-material
|
||||
- mkdocstrings
|
||||
- docs
|
||||
- documentation
|
||||
- information-architecture
|
||||
- skills
|
||||
- bootstrap
|
||||
- discovery
|
||||
- authoring
|
||||
capabilities:
|
||||
- resource://skills/zensical-docs/document
|
||||
depends_on: []
|
||||
references:
|
||||
index:
|
||||
path: references/index.md
|
||||
mime_type: text/markdown
|
||||
title: Source Map
|
||||
zensical-features:
|
||||
path: references/zensical-features.md
|
||||
mime_type: text/markdown
|
||||
title: Feature Catalog
|
||||
theme-customization-and-icons:
|
||||
path: references/theme-customization-and-icons.md
|
||||
mime_type: text/markdown
|
||||
title: Theme Customization and Icons
|
||||
documentation-quality:
|
||||
path: references/documentation-quality.md
|
||||
mime_type: text/markdown
|
||||
title: Documentation Quality
|
||||
discoverability-and-ia:
|
||||
path: references/discoverability-and-ia.md
|
||||
mime_type: text/markdown
|
||||
title: Discoverability and IA
|
||||
code-heavy-docs-and-mkdocstrings:
|
||||
path: references/code-heavy-docs-and-mkdocstrings.md
|
||||
mime_type: text/markdown
|
||||
title: Code-Heavy Docs and Mkdocstrings
|
||||
---
|
||||
|
||||
# Zensical Documentation Authoring
|
||||
|
||||
Reference in New Issue
Block a user