Communitygithub.com

alfathafp/portofolio-web-design

在所有对话开始时使用——确立如何查找和使用技能,要求在任何回应(包括澄清性问题)之前必须先调用技能。

portofolio-web-design 是什么?

该技能定义了一条严格规则:在给出任何回应或执行任何操作之前,必须首先检查并调用相关的技能。它消除了AI在决定是否需要技能时的所有自由裁量权——即使只有1%的可能适用性,也必须使用技能。该技能明确了技能优先级:处理类技能(如头脑风暴、系统调试)优先于实现类技能(如前端设计),且必须按照特定顺序执行。它列出了一系列表明AI正在找借口不检查技能的“危险信号”想法,并针对不同平台(如Claude Code、Codex等)提供了特定指令的引用文件。主要用例是确保复杂任务(如构建项目、修复Bug)以系统化的技能驱动工作流开始,而非基于直觉的动作。

兼容平台✓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 的新对话。

文档

<极其重要> 如果你认为即使只有1%的可能性某项技能可能适用于你正在做的事情,你必须调用该技能。

如果某项技能适用于你的任务,你别无选择。你必须使用它。

这没有商量余地。你不能通过合理化来逃避这一点。 </极其重要>

规则

在任何回应或操作之前调用相关或被请求的技能——包括提出澄清性问题、探索代码库或检查文件。如果结果证明当前情况不适用,你可以不使用它。

在进入计划模式之前: 如果你尚未进行头脑风暴,请先调用头脑风暴技能。

然后宣布“使用[技能]来[目的]”,并严格遵循技能指导。如果技能包含清单,请为每个事项创建一个待办任务。

技能优先级

当多个技能适用时,处理类技能优先——它们设定方法,然后实现类技能(如前端设计等)执行具体工作。头脑风暴(brainstorming)和系统调试(systematic-debugging)是Superpowers中最常见的处理类技能,但该规则适用于任何此类技能。

  • “让我们构建X” → 先调用 superpowers:brainstorming,然后是实现类技能。
  • “修复这个Bug” → 先调用 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.

相关技能