Communitygithub.com

cdcoonce/Portfolio_Website

就地改寫 wiki 頁面的散文章節。讀取原始碼檔案以理解當前上下文,然後僅更新 <!-- claude:prose --> ... <!-- claude:prose:end --> 標記內的內容。絕不觸碰 <!-- generated:start --> ... <!-- generated:end --> 區塊。支援使用 /update-wiki {PageName} 指定單一頁面。

Portfolio_Website 是什麼?

此技能專為維護 wiki 文件中的手寫散文章節而設計,確保其精確反映當前程式碼庫的狀態。它會辨識 `<!-- claude:prose -->` 和 `<!-- claude:prose:end -->` 標記,僅改寫這些區塊內的內容,同時保留原始結構(如標題和段落順序)。它可透過頁面名稱參數(例如 `/update-wiki Architecture`)鎖定單一頁面,若未提供參數,則會排程所有包含散文的頁面進行更新。此技能嚴禁修改由 `<!-- generated:start -->` 和 `<!-- generated:end -->` 標記的區塊,這些區塊由 wiki 編排器腳本管理,以避免合併衝突。特別的是,`Architecture-Decision-Log.md` 完全由 Claude 負責維護,系統會追加新的架構決策記錄條目,但絕不修改現有條目。更新完成後,技能會提示使用者執行 `/commit` 以儲存變更。

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

在你喜歡的 AI 中提問

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

說明文件

更新 Wiki 技能

重新整理 wiki 頁面中手寫的散文章節,以反映當前的程式碼庫狀態。由編排器管理的產生式指標/資料區塊絕不可觸碰。

何時啟用

  • 使用者輸入 /update-wiki — 更新所有包含散文的頁面
  • 使用者輸入 /update-wiki Architecture — 僅更新 wiki/Architecture.md
  • 使用者說「重新整理 wiki 散文」、「更新入門敘述」、「改寫架構文件」
  • 在進行重大重構並改變系統設計敘述之後

此技能的步驟

  1. 確定範圍。 如果提供了頁面名稱引數(例如 Architecture),則解析為 wiki/{PageName}.md。否則,排程下方列出的所有包含散文的頁面。

  2. 針對每個目標頁面: a. 讀取 wiki 頁面檔案。 b. 找出每個 <!-- claude:prose --> ... <!-- claude:prose:end --> 區塊。 c. 讀取下方頁面登錄檔中列出的相關原始碼檔案,以建立上下文。 d. 改寫標記之間的內容,使其準確反映當前的程式碼庫 — 保留相同的整體結構(標題、段落順序),除非在事實上錯誤。 e. 將更新後的內容寫回檔案,並精確保留標記。

  3. 絕不觸碰產生的區塊。 <!-- generated:start --> ... <!-- generated:end --> 內的所有內容必須逐位元組保持相同。這些區塊由 wiki 編排器腳本維護。

  4. 架構決策記錄完全由 Claude 擁有。 wiki/Architecture-Decision-Log.md 沒有 generated 區塊,也沒有 claude:prose 標記。Claude 維護整個檔案。更新時,請針對自上次記錄條目以來所做的任何架構決策,追加新的 ADL 條目。請勿修改現有條目。

  5. 提交提示。 所有頁面更新完成後,提醒使用者:

    「Wiki 散文已更新。請執行 /commit 以儲存變更,然後推送到 wiki 遠端。」

包含散文的頁面及其原始碼檔案

wiki/Architecture.md

散文區塊用途: 系統設計敘述 — 說明模組職責、資料流程,以及靜態網站和 Lambda 聊天代理如何組合在一起。

要讀取的相關原始碼檔案:

  • WebContent/js/main.js
  • WebContent/js/filter.js
  • WebContent/js/carousel.js
  • WebContent/js/utils.js
  • lambda/lambda_function.py
  • index.html(用於頁面結構上下文)
  • projects.html(用於頁面結構上下文)

wiki/Lambda-Chat-Agent.md

散文區塊用途: 代理設計原理 — 說明 Lambda 架構、知識庫載入、提示建構和回應處理。

要讀取的相關原始碼檔案:

  • lambda/lambda_function.py
  • lambda/context/(所有 .md 檔案,如果存在)

wiki/Contributing.md

散文區塊用途: 入門敘述 — 為新貢獻者說明開發工作流程、測試理念和專案慣例。

要讀取的相關原始碼檔案:

  • CLAUDE.md
  • Makefile
  • package.json
  • pyproject.toml
  • .github/workflows/ci-cd.yml

wiki/Architecture-Decision-Log.md

特殊處理: 沒有 claude:prose 標記。Claude 擁有整個檔案。追加新的 ADL 條目;絕不修改現有條目。

要讀取的相關原始碼檔案:

  • 檢視近期的 git 紀錄,尋找重大的架構變更
  • CLAUDE.md 了解目前工具決策
  • lambda/lambda_function.py 了解後端決策

標記保留規則

<!-- claude:prose -->
[Claude 改寫此內容]
<!-- claude:prose:end -->
<!-- generated:start -->
[絕不觸碰 — 編排器管理的資料]
<!-- generated:end -->
  • 開頭和結尾標記必須各自獨立一行,且不得變更。
  • 請勿在標記內緊鄰處插入額外的空白行。
  • 請勿嵌套標記。

警告

絕不修改 <!-- generated:start --> ... <!-- generated:end --> 區塊。 這些區塊包含由 wiki 編排器產生的自動化指標和表格。修改它們將導致下一次編排器執行時產生合併衝突,或靜默覆寫您的變更。

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

Create a PRD through user interview, codebase exploration, and module design, then submit as a GitHub issue. Use when user wants to write a PRD, create a product requirements document, or plan a new feature.

相關技能