Communitygithub.com

cdcoonce/Portfolio_Website

建立新的代理技能,具備適當結構、漸進式揭露和捆綁資源。當使用者想要建立、撰寫或建置新技能時使用。

Portfolio_Website 是什麼?

此技能提供一個四階段管線(收集 → 審問 → 規劃 → 實作),用於系統性地建立新的 AI 代理技能。它引導使用者逐步定義技能的用途、用例、結構和工具需求,透過有組織的提問收集領域相關的詳細資訊。接著,它會使用 `grill-me` 技能或直接提問來驗證需求,涵蓋意圖、範圍、設計和邊緣案例等領域。然後,它會根據範本產出一份結構化的技能藍圖,並在使用者核准後自動建立所有技能檔案,包括必要的 `SKILL.md`、參考文件和腳本。最後,它會執行審查階段,根據品質標準自動驗證技能,並透過主觀檢查清單確保技能完整、可維護,並遵循漸進式揭露和資源捆綁的最佳實踐。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cdcoonce/Portfolio_Website/tree/HEAD/.claude/skills/write-a-skill

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

撰寫技能

一個四階段管線:收集 → 審問 → 規劃 → 實作。

階段 1:收集

使用 AskUserQuestion 搭配領域分組的問題,橫跨 4 個領域。每個領域使用 1 次呼叫,包含 2-4 個選項和一個建議(第一個選項 = (推薦))。

  1. 目的 — 此技能涵蓋哪些任務/領域?誰會使用它?
  2. 用例 — 哪些特定情境會觸發此技能?哪些關鍵字?
  3. 結構 — 是否需要腳本?參考檔案?單一 SKILL.md 還是多檔案?
  4. 工具 — 應呼叫或參考哪些工具或其他技能?

階段 2:審問

呼叫 grill-me 技能,傳入已收集的需求。指示它使用 skill-grill-domains.md 中技能專屬的領域(意圖、範圍、設計、邊緣案例)。跳過不相關的領域(資料流程、相依性、部署、測試)。

備援方案(grill-me 不可用時): 直接使用 AskUserQuestion 執行內聯迷你審問。針對 skill-grill-domains.md 中的每個領域,每次呼叫批次處理 2-4 個問題,並附帶建議和選項。

階段 3:規劃

使用 blueprint-template.md 中的範本產出結構化的技能藍圖。在對話中呈現藍圖(不寫入磁碟)。使用者必須核准後才能繼續。如果使用者要求修改,則修訂並重新呈現。

階段 4:實作

根據核准的藍圖建立所有技能檔案。全自動化 —— 代理程式會撰寫所有內容。

然後執行階段 4b:審查,使用 quality-criteria.md 中的標準:

  1. 自動驗證 — 檢查可衡量的標準(行數、描述長度、觸發條件、參考深度)。在繼續之前修復任何失敗。
  2. 主觀審查 — 透過 AskUserQuestion 向使用者呈現檢查清單。如果使用者標記問題,則修訂並重新驗證。

技能結構

skill-name/
├── SKILL.md           # 主要指令(必要,少於 100 行)
├── references/        # 支援文件(如果需要)
│   └── domain-ref.md
└── scripts/           # 公用腳本(如果需要)
    └── helper.sh

備援方案(無 AskUserQuestion)

如果 AskUserQuestion 不可用,則回退到基於文字的提問:

[標頭] — [主題] 推薦: [您的推薦和原因] 替代方案: (A) [選項] — [取捨] | (B) [選項] — [取捨]

品質標準

請參閱 quality-criteria.md 了解描述要求、自動驗證標準、主觀審查檢查清單,以及何時新增腳本或分割檔案的指導方針。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cdcoonce/Portfolio_Website

Git commit workflow with enforced conventional commit style. Use when Claude needs to stage and commit changes, craft commit messages, or the user asks to commit, make a commit, or save their work. Ensures consistent commit message format, proper scoping, and atomic commits across the project.

cdcoonce/Portfolio_Website

AI-powered code quality analysis for Python, Markdown, and Mermaid diagrams. Use this skill when: (1) reviewing code for quality issues, (2) checking Python files for PEP8 violations, unused code, missing type hints, docstring problems, complexity issues, or potential runtime errors, (3) validating Markdown documentation for broken links, heading structure, or formatting issues, (4) validating Mermaid diagram syntax, (5) the user asks for a "code review" or "quality check", (6) analyzing code snippets pasted in conversation, or (7) suggesting and applying fixes for code quality issues.

cdcoonce/Portfolio_Website

Deploy the portfolio chat agent Lambda function to AWS. Use when the user asks to deploy, redeploy, push to Lambda, update the chat agent, or after updating context files or lambda_function.py. Rebuilds the knowledge base, packages dependencies, and deploys to AWS Lambda.

cdcoonce/Portfolio_Website

Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".

cdcoonce/Portfolio_Website

Orchestrate the full GitHub-issues-driven development lifecycle. 7-phase pipeline from brainstorm through PR with state tracking and cross-conversation resume. Use when user says "dev cycle", "development workflow", "full development pipeline", or invokes /dev-cycle.

cdcoonce/Portfolio_Website

Production Python coding standards with automatic version detection (3.10-3.13). Use when writing, reviewing, or refactoring Python to ensure adherence to modern type syntax, LBYL exception handling, pathlib operations, ABC-based interfaces, and production-tested patterns. Not Dagster-specific - applies to any Python project.

cdcoonce/Portfolio_Website

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

cdcoonce/Portfolio_Website

GitHub CLI (gh) integration for managing issues, pull requests, branches,

cdcoonce/Portfolio_Website

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".

cdcoonce/Portfolio_Website

Explore a codebase to find opportunities for architectural improvement, focusing on making the codebase more testable by deepening shallow modules. Use when user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more AI-navigable.

cdcoonce/Portfolio_Website

CEO/founder-mode plan review. Rethink the problem, find the 10-star product, challenge premises, expand scope when it creates a better product. Three modes: SCOPE EXPANSION (dream big), HOLD SCOPE (maximum rigor), SCOPE REDUCTION (strip to essentials). Use when the user asks for a plan review, CEO review, mega review, or wants a plan challenged/stress-tested before implementation.

cdcoonce/Portfolio_Website

Break a PRD into independently-grabbable GitHub issues using tracer-bullet vertical slices. Use when user wants to convert a PRD to issues, create implementation tickets, or break down a PRD into work items.

cdcoonce/Portfolio_Website

Turn a PRD into a multi-phase implementation plan using tracer-bullet vertical slices, saved as a local Markdown file in docs/plans/. Use when user wants to break down a PRD, create an implementation plan, plan phases from a PRD, or mentions "tracer bullets".

cdcoonce/Portfolio_Website

Generate or update the `.claude/docs/project.md` file that gives Claude project-specific context. Use this skill when the user asks to create, update, regenerate, or refresh project context, or says things like "update project.md", "generate project context", "this repo needs a project.md", or "Claude doesn't know about this project". Also trigger when onboarding Claude to a new repository for the first time.

cdcoonce/Portfolio_Website

Generate comprehensive, high-quality README.md files for code repositories. Use this skill whenever the user asks to create, write, generate, update, or improve a README for any project or repository. Also trigger when the user says things like "document this project", "write docs for this repo", "this repo needs a README", "help me onboard developers to this codebase", or asks for project documentation in markdown. Even if the user just says "README" or "readme" in the context of a codebase, use this skill.

cdcoonce/Portfolio_Website

Create a detailed refactor plan with tiny commits via user interview, then file it as a GitHub issue. Use when user wants to plan a refactor, create a refactoring RFC, or break a refactor into safe incremental steps.

cdcoonce/Portfolio_Website

Set up pre-commit hooks for the current repo. Use when user wants to add pre-commit hooks, configure commit-time linting, formatting, type checking, or testing. Triggers on "pre-commit", "git hooks", "linting hooks", or /setup-pre-commit.

cdcoonce/Portfolio_Website

Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.

cdcoonce/Portfolio_Website

Triage a bug or issue by exploring the codebase to find root cause, then create a GitHub issue with a TDD-based fix plan. Use when user reports a bug, wants to file an issue, mentions "triage", or wants to investigate and plan a fix for a problem.

cdcoonce/Portfolio_Website

Rewrites the prose sections of wiki pages in-place. Reads source files to understand current context, then updates only the content inside <!-- claude:prose --> ... <!-- claude:prose:end --> markers. Never touches <!-- generated:start --> ... <!-- generated:end --> blocks. Supports targeting a single page with /update-wiki {PageName}.

相關技能