搜索

PythonReactSEOPDF
OpenClaw

afrexai-claude-code-production

Complete Claude Code productivity system — project setup, prompting patterns, sub-agent orchestration, context management, debugging, refactoring, TDD, and shipping 10X faster. Zero scripts needed.

1kalin0 来源安装数☆ 0 仓库 Starsv1.0.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install 1kalin/afrexai-claude-code-production

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Claude Code Production Engineering

The complete methodology for shipping production code with Claude Code at 10X speed. Not installation scripts — actual patterns, workflows, and techniques that compound your output.


Quick Health Check (run mentally before every session)

Signal Healthy Fix
CLAUDE.md exists at project root ✅ Create one (see §1)
.claueignore configured ✅ Add noise directories
Session context under 60% ✅ /compact or start fresh
Clear task scope before prompting ✅ Write task brief first
Tests exist for target code ✅ Write tests first (§7)
Git clean before big changes ✅ Commit or stash
Sub-agents for parallel work ✅ Use /new or Task tool
Verifying output, not trusting blindly ✅ Always review diffs

Score: /8. Below 6 = slow, buggy sessions. Fix before coding.


1. Project Setup — CLAUDE.md Architecture

CLAUDE.md is your project's brain. Claude reads it at session start. A good one saves thousands of tokens per session.

Template
# Project: [name]

## Tech Stack
- Language: TypeScript (strict mode)
- Framework: Next.js 15 App Router
- Database: PostgreSQL via Drizzle ORM
- Testing: Vitest + Playwright
- Styling: Tailwind CSS v4

## Architecture Rules
- Max 50 lines per function, 300 lines per file
- One responsibility per file
- All exports typed — no `any`
- Errors as values (Result type), not thrown exceptions
- Database: migrations via `drizzle-kit generate` then `drizzle-kit push`

## File Structure
src/
  app/         → Next.js routes (thin — call services)
  lib/         → Business logic (pure functions)
  db/          → Schema, migrations, queries
  components/  → UI (server components default, 'use client' only when needed)
  types/       → Shared type definitions

## Commands
- `pnpm dev` — start dev server
- `pnpm test` — run vitest
- `pnpm test:e2e` — run playwright
- `pnpm lint` — eslint + tsc --n...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/1kalin/afrexai-claude-code-production
Version
1.0.0
Commit
1b6c22a9f91c3deb97f9bbf22cce08ed42c2e207
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Claude Code Production Engineering ⚡

Ship production code at 10X speed with Claude Code. Not installation scripts — actual patterns, workflows, and techniques.

Install

clawhub install afrexai-claude-code-production

What's Inside

  • CLAUDE.md architecture — template + rules for maximum context efficiency
  • 5 prompting patterns that actually work (task brief, show don't tell, incremental, evidence-based, architecture discussion)
  • Context management system — when to compact, when to start fresh, habits that save tokens
  • Sub-agent orchestration — parallel productivity with Task tool and handoff documents
  • DEBUG protocol — systematic debugging, not random guessing
  • Safe refactoring — multi-file changes without breaking anything
  • TDD loop with Claude — tests as acceptance criteria, minimum code to pass
  • Git workflow — commit strategy, PR creation, branch management
  • Code review mode — use Claude as reviewer before PRs
  • Production checklist — P0/P1/P2 checks before deploying AI-generated code
  • Speed multipliers — model selection, slash commands, session stacking
  • 4 workflow templates — new feature, bug fix, refactoring, research spike
  • Productivity metrics — track and improve your output weekly

Quick Start

  1. Install the skill
  2. Run: "Set up my project for Claude Code"
  3. Start coding with Task Brief prompts (see §2)

vs. Other Claude Code Skills

Other skills install Claude Code and create subagent configs. This skill teaches you the methodology — how to prompt, manage context, debug, refactor, test, and ship. Zero scripts, pure knowledge.

⚡ Level Up

Want production-grade AI context for your specific industry?

AfrexAI Context Packs — $47 — Complete agent configurations for SaaS, Fintech, Healthcare, Legal, Ecommerce, and 5 more verticals.

🔗 More Free Skills by AfrexAI

来源内容

SKILL.md
# Claude Code Production Engineering

The complete methodology for shipping production code with Claude Code at 10X speed. Not installation scripts — actual patterns, workflows, and techniques that compound your output.

---

## Quick Health Check (run mentally before every session)

| Signal | Healthy | Fix |
|--------|---------|-----|
| CLAUDE.md exists at project root | ✅ | Create one (see §1) |
| .claueignore configured | ✅ | Add noise directories |
| Session context under 60% | ✅ | `/compact` or start fresh |
| Clear task scope before prompting | ✅ | Write task brief first |
| Tests exist for target code | ✅ | Write tests first (§7) |
| Git clean before big changes | ✅ | Commit or stash |
| Sub-agents for parallel work | ✅ | Use `/new` or Task tool |
| Verifying output, not trusting blindly | ✅ | Always review diffs |

Score: /8. Below 6 = slow, buggy sessions. Fix before coding.

---

## 1. Project Setup — CLAUDE.md Architecture

CLAUDE.md is your project's brain. Claude reads it at session start. A good one saves thousands of tokens per session.

### Template

```markdown
# Project: [name]

## Tech Stack
- Language: TypeScript (strict mode)
- Framework: Next.js 15 App Router
- Database: PostgreSQL via Drizzle ORM
- Testing: Vitest + Playwright
- Styling: Tailwind CSS v4

## Architecture Rules
- Max 50 lines per function, 300 lines per file
- One responsibility per file
- All exports typed — no `any`
- Errors as values (Result type), not thrown exceptions
- Database: migrations via `drizzle-kit generate` then `drizzle-kit push`

## File Structure
src/
  app/         → Next.js routes (thin — call services)
  lib/         → Business logic (pure functions)
  db/          → Schema, migrations, queries
  components/  → UI (server components default, 'use client' only when needed)
  types/       → Shared type definitions

## Commands
- `pnpm dev` — start dev server
- `pnpm test` — run vitest
- `pnpm test:e2e` — run playwright
- `pnpm lint` — eslint + tsc --n...
README
# Claude Code Production Engineering ⚡

Ship production code at 10X speed with Claude Code. Not installation scripts — actual patterns, workflows, and techniques.

## Install

```bash
clawhub install afrexai-claude-code-production
```

## What's Inside

- **CLAUDE.md architecture** — template + rules for maximum context efficiency
- **5 prompting patterns** that actually work (task brief, show don't tell, incremental, evidence-based, architecture discussion)
- **Context management system** — when to compact, when to start fresh, habits that save tokens
- **Sub-agent orchestration** — parallel productivity with Task tool and handoff documents
- **DEBUG protocol** — systematic debugging, not random guessing
- **Safe refactoring** — multi-file changes without breaking anything
- **TDD loop with Claude** — tests as acceptance criteria, minimum code to pass
- **Git workflow** — commit strategy, PR creation, branch management
- **Code review mode** — use Claude as reviewer before PRs
- **Production checklist** — P0/P1/P2 checks before deploying AI-generated code
- **Speed multipliers** — model selection, slash commands, session stacking
- **4 workflow templates** — new feature, bug fix, refactoring, research spike
- **Productivity metrics** — track and improve your output weekly

## Quick Start

1. Install the skill
2. Run: "Set up my project for Claude Code"
3. Start coding with Task Brief prompts (see §2)

## vs. Other Claude Code Skills

Other skills install Claude Code and create subagent configs. This skill teaches you the **methodology** — how to prompt, manage context, debug, refactor, test, and ship. Zero scripts, pure knowledge.

## ⚡ Level Up

Want production-grade AI context for your specific industry?

**[AfrexAI Context Packs — $47](https://afrexai-cto.github.io/context-packs/)** — Complete agent configurations for SaaS, Fintech, Healthcare, Legal, Ecommerce, and 5 more verticals.

## 🔗 More Free Skills by AfrexAI

- [afrexai-prompt-engineering](https://cl...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.