Communitygithub.com

AI優先工程

針對團隊流程中大量由AI代理生成實作輸出的工程運作模式。在設定團隊流程、審查關卡或程式碼庫擁有權規則時使用,特別適用於主要由代理撰寫的程式碼庫。

AI優先工程 是什麼?

AI優先工程 (AI-First Engineering) 是一套專為需要大規模使用AI輔助程式碼生成的團隊所設計的工程運作模式與技能。其核心在於轉變傳統的軟體開發流程,將重點從打字速度轉移到規劃品質,並建立更高的評估與審查標準。此技能支援所有主要的AI代理平台,如Claude Code、Cursor和Codex,並強調使用具備明確邊界、穩定合約、型別介面與確定性測試的架構,以確保AI生成的程式碼易於維護與整合。透過此技能,團隊可以更有效地進行程式碼審查,專注於行為回歸、安全假設、資料完整性與故障處理等關鍵面向,而非浪費時間在樣式問題上。此外,它還定義了AI優先工程師的關鍵特質,包括分解模糊工作、定義可衡量驗收標準、產出高品質提示與評估,以及在交付壓力下執行風險控制。最終,它要求對生成的程式碼提升測試標準,強制涵蓋回歸測試、明確邊界案例斷言,以及介面邊界的整合檢查,從而確保AI輔助開發的可靠性與安全性。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/ai-first-engineering

在你喜歡的 AI 中提問

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

說明文件

AI優先工程 是做什麼的?

在設計流程、審查與架構時,請使用此技能,特別是團隊採用AI輔助程式碼生成的情況下。

流程轉變

  1. 規劃品質比打字速度更重要。
  2. 評估覆蓋率比經驗信心更重要。
  3. 審查焦點從語法轉向系統行為。

架構要求

偏好對代理友善的架構:

  • 明確的邊界
  • 穩定的合約
  • 型別化的介面
  • 確定性的測試

避免透過隱藏慣例擴散隱含行為。

AI優先團隊的程式碼審查

審查重點:

  • 行為回歸
  • 安全假設
  • 資料完整性
  • 故障處理
  • 發布安全性

盡量減少花費在已被自動化涵蓋的樣式問題上的時間。

招聘與評估信號

優秀的AI優先工程師:

  • 能清晰分解模糊的工作
  • 定義可衡量的驗收標準
  • 產出高訊號的提示與評估
  • 在交付壓力下執行風險控制

測試標準

提升對生成程式碼的測試標準:

  • 強制涵蓋受影響領域的回歸測試
  • 明確的邊界案例斷言
  • 介面邊界的整合檢查

Individual skills in this repo

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

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

相關技能