Communitygithub.com

alfathafp/portofolio-web-design

在每次對話開始時使用,指定如何查找和使用技能,要求在做出任何回應(包括釐清問題)之前必須先調用技能。

portofolio-web-design 是什麼?

這是一個用於 AI 助手(如 Claude Code、Codex 等)的技能,其核心目的是建立嚴格的技能使用紀律。它強制要求助手在任何回應或動作(包括提出釐清問題、探索程式碼庫或檢查檔案)之前,都必須先檢查並調用相關技能。該技能詳細闡述了技能優先級規則:處理型技能(如腦力激盪、系統性除錯)優先於實作型技能(如前端設計)。它還提供了一個「紅旗」思維模式對照表,用於識別並阻止助手試圖合理化跳過技能檢查的行為。此外,該技能也涵蓋了不同平台的適配說明,並規定使用者指示(如 CLAUDE.md 檔案)的權限高於技能本身。簡單來說,此技能就像一個「強制安全檢查」,確保 AI 在處理任何任務前都遵循正確的工具使用流程。

相容平台✓Claude Code✓Codex CLI~Cursor✓Antigravity✓Gemini CLI
npx skills add https://github.com/alfathafp/portofolio-web-design/tree/HEAD/.agents/skills/using-superpowers

在你喜歡的 AI 中提問

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

說明文件

如果某個技能適用於你的任務,你別無選擇。你必須使用它。

這點沒有商量餘地。你無法為自己找藉口逃避。

規則

在任何回應或動作之前調用相關或要求的技能——包括提出釐清問題、探索程式碼庫或檢查檔案。如果事後證明技能不適用於該情境,你可以不使用它。

在進入計劃模式之前: 如果你尚未進行腦力激盪,請先調用腦力激盪技能。

然後宣告「正在使用 [技能名稱] 以 [目的]」,並嚴格遵循技能指示。如果技能包含檢查清單,請為每個項目建立一個待辦事項。

技能優先級

當多個技能都適用時,處理型技能優先——它們設定方法,然後實作型技能(如前端設計等)再執行。腦力激盪和系統性除錯是 Superpowers 中最常見的處理型技能,但此規則適用於所有技能。

  • 「我們來建構 X」 → 先使用 superpowers:brainstorming,再使用實作型技能。
  • 「修復這個錯誤」 → 先使用 superpowers:systematic-debugging,再使用領域相關技能。

紅旗

這些想法代表「停止」——你正在為自己找藉口:

想法現實
「這只是個簡單的問題」問題就是任務。檢查是否有技能可用。
「我需要更多背景資訊」技能檢查應在提出釐清問題之前。
「讓我先探索一下程式碼庫」技能會告訴你如何探索。先檢查。
「我可以快速檢查 git/檔案」檔案缺乏對話背景。檢查是否有技能可用。
「讓我先收集資訊」技能會告訴你如何收集資訊。
「這不需要正式的技能」如果有技能存在,就使用它。
「我記得這個技能」技能會演進。請閱讀當前版本。
「這不算是一個任務」動作 = 任務。檢查是否有技能可用。
「用這個技能小題大作了」簡單的事情會變複雜。使用它。
「我先做這一件小事就好」在做任何事情之前都要先檢查。
「這感覺很有生產力」無紀律的行動浪費時間。技能可以防止這種情況。
「我知道那是什麼意思」知道概念 ≠ 使用技能。調用它。

平台適配

如果你的執行環境出現在此處,請閱讀其參考檔案以取得特殊指示:

  • Claude Code:references/claude-code-tools.md
  • Codex:references/codex-tools.md
  • Pi:references/pi-tools.md
  • Antigravity:references/antigravity-tools.md
  • Hermes Agent:references/hermes-tools.md
  • Muse:references/muse-tools.md

使用者指示

使用者指示(CLAUDE.md、AGENTS.md、GEMINI.md 等檔案,或直接要求)的權限高於技能,而技能又覆蓋預設行為。只有在你的真人夥伴明確告知時,才能跳過技能工作流程或指示。

Individual skills in this repo

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

alfathafp/portofolio-web-design

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).

alfathafp/portofolio-web-design

Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured.

alfathafp/portofolio-web-design

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

alfathafp/portofolio-web-design

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch. Use when asked to review a diff or a pull request, even when the diff is pasted inline.

alfathafp/portofolio-web-design

Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.

alfathafp/portofolio-web-design

Establishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on which dimensions matter, supplies sane default thresholds when they have no number in mind, records everything in CONSTRAINTS.md, and watches the diff for a weakened bar — new @ts-ignore or eslint-disable suppressions, skipped or deleted tests, assertions stripped out, unimplemented stubs, thresholds edited down. Use when no quality bar is written down, when the user says "set up constraints" or "define our standards", when the user wants dimensions they care about — accessibility, web performance, coverage — set up as enforced constraints, when an agent keeps silencing checks or skipping tests to get to green, when you need a coverage or performance threshold and don't know what number to pick, or when an agent writes more code than anyone will read.

alfathafp/portofolio-web-design

Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.

alfathafp/portofolio-web-design

Guides systematic root-cause debugging. Use when tests fail, builds break, something that worked yesterday broke, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need to figure out what broke and why — a systematic approach to finding and fixing the root cause rather than guessing.

alfathafp/portofolio-web-design

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

alfathafp/portofolio-web-design

Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.

alfathafp/portofolio-web-design

Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

alfathafp/portofolio-web-design

Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

alfathafp/portofolio-web-design

Records decisions and documentation. Use when you need to document an architecture decision (ADR) or the reasoning behind a design choice, when changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.

alfathafp/portofolio-web-design

Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when you want every assumption cross-examined before proceeding, when stress-testing a plan for hidden failure modes, when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production auth, security-sensitive logic, a high-stakes migration, irreversible operations), or any time a confident output would be cheaper to verify now than to debug later.

alfathafp/portofolio-web-design

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

alfathafp/portofolio-web-design

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work

alfathafp/portofolio-web-design

Builds production-quality, accessible, responsive user-facing UIs. Use when building or modifying interfaces and pages, creating components, implementing layouts, meeting WCAG accessibility requirements, managing state, or when the output needs to look and feel production-quality rather than AI-generated.

alfathafp/portofolio-web-design

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple parallel streams. Use when cutting a release, choosing a semantic version bump, tagging, or writing a changelog.

alfathafp/portofolio-web-design

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or "stress-test my plan".

alfathafp/portofolio-web-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.

相關技能