claudient 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +42 -0
- package/CONTEXT.md +58 -0
- package/README.md +165 -0
- package/agents/build-resolvers/de/python-resolver.md +64 -0
- package/agents/build-resolvers/de/typescript-resolver.md +65 -0
- package/agents/build-resolvers/es/python-resolver.md +64 -0
- package/agents/build-resolvers/es/typescript-resolver.md +65 -0
- package/agents/build-resolvers/fr/python-resolver.md +64 -0
- package/agents/build-resolvers/fr/typescript-resolver.md +65 -0
- package/agents/build-resolvers/nl/python-resolver.md +64 -0
- package/agents/build-resolvers/nl/typescript-resolver.md +65 -0
- package/agents/build-resolvers/python-resolver.md +62 -0
- package/agents/build-resolvers/typescript-resolver.md +63 -0
- package/agents/core/architect.md +64 -0
- package/agents/core/code-reviewer.md +78 -0
- package/agents/core/de/architect.md +66 -0
- package/agents/core/de/code-reviewer.md +80 -0
- package/agents/core/de/planner.md +63 -0
- package/agents/core/de/security-reviewer.md +93 -0
- package/agents/core/es/architect.md +66 -0
- package/agents/core/es/code-reviewer.md +80 -0
- package/agents/core/es/planner.md +63 -0
- package/agents/core/es/security-reviewer.md +93 -0
- package/agents/core/fr/architect.md +66 -0
- package/agents/core/fr/code-reviewer.md +80 -0
- package/agents/core/fr/planner.md +63 -0
- package/agents/core/fr/security-reviewer.md +93 -0
- package/agents/core/nl/architect.md +66 -0
- package/agents/core/nl/code-reviewer.md +80 -0
- package/agents/core/nl/planner.md +63 -0
- package/agents/core/nl/security-reviewer.md +93 -0
- package/agents/core/planner.md +61 -0
- package/agents/core/security-reviewer.md +91 -0
- package/guides/agent-orchestration.md +231 -0
- package/guides/de/agent-orchestration.md +174 -0
- package/guides/de/getting-started.md +164 -0
- package/guides/de/hooks-cookbook.md +160 -0
- package/guides/de/memory-management.md +153 -0
- package/guides/de/security.md +180 -0
- package/guides/de/skill-authoring.md +214 -0
- package/guides/de/token-optimization.md +156 -0
- package/guides/es/agent-orchestration.md +174 -0
- package/guides/es/getting-started.md +164 -0
- package/guides/es/hooks-cookbook.md +160 -0
- package/guides/es/memory-management.md +153 -0
- package/guides/es/security.md +180 -0
- package/guides/es/skill-authoring.md +214 -0
- package/guides/es/token-optimization.md +156 -0
- package/guides/fr/agent-orchestration.md +174 -0
- package/guides/fr/getting-started.md +164 -0
- package/guides/fr/hooks-cookbook.md +227 -0
- package/guides/fr/memory-management.md +169 -0
- package/guides/fr/security.md +180 -0
- package/guides/fr/skill-authoring.md +214 -0
- package/guides/fr/token-optimization.md +158 -0
- package/guides/getting-started.md +164 -0
- package/guides/hooks-cookbook.md +423 -0
- package/guides/memory-management.md +192 -0
- package/guides/nl/agent-orchestration.md +174 -0
- package/guides/nl/getting-started.md +164 -0
- package/guides/nl/hooks-cookbook.md +160 -0
- package/guides/nl/memory-management.md +153 -0
- package/guides/nl/security.md +180 -0
- package/guides/nl/skill-authoring.md +214 -0
- package/guides/nl/token-optimization.md +156 -0
- package/guides/security.md +229 -0
- package/guides/skill-authoring.md +226 -0
- package/guides/token-optimization.md +169 -0
- package/hooks/lifecycle/cost-tracker.md +49 -0
- package/hooks/lifecycle/cost-tracker.sh +59 -0
- package/hooks/lifecycle/pre-compact-save.md +56 -0
- package/hooks/lifecycle/pre-compact-save.sh +37 -0
- package/hooks/lifecycle/session-start.md +50 -0
- package/hooks/lifecycle/session-start.sh +47 -0
- package/hooks/post-tool-use/audit-log.md +53 -0
- package/hooks/post-tool-use/audit-log.sh +53 -0
- package/hooks/post-tool-use/prettier.md +53 -0
- package/hooks/post-tool-use/prettier.sh +49 -0
- package/hooks/pre-tool-use/block-dangerous.md +48 -0
- package/hooks/pre-tool-use/block-dangerous.sh +76 -0
- package/hooks/pre-tool-use/git-push-confirm.md +46 -0
- package/hooks/pre-tool-use/git-push-confirm.sh +36 -0
- package/mcp/configs/github.json +11 -0
- package/mcp/configs/postgres.json +11 -0
- package/mcp/de/recommended-servers.md +170 -0
- package/mcp/es/recommended-servers.md +170 -0
- package/mcp/fr/recommended-servers.md +170 -0
- package/mcp/nl/recommended-servers.md +170 -0
- package/mcp/recommended-servers.md +168 -0
- package/package.json +45 -0
- package/prompts/project-starters/de/fastapi-project.md +62 -0
- package/prompts/project-starters/de/nextjs-project.md +82 -0
- package/prompts/project-starters/es/fastapi-project.md +62 -0
- package/prompts/project-starters/es/nextjs-project.md +82 -0
- package/prompts/project-starters/fastapi-project.md +60 -0
- package/prompts/project-starters/fr/fastapi-project.md +62 -0
- package/prompts/project-starters/fr/nextjs-project.md +82 -0
- package/prompts/project-starters/nextjs-project.md +80 -0
- package/prompts/project-starters/nl/fastapi-project.md +62 -0
- package/prompts/project-starters/nl/nextjs-project.md +82 -0
- package/prompts/system-prompts/ai-product.md +80 -0
- package/prompts/system-prompts/data-pipeline.md +76 -0
- package/prompts/system-prompts/de/ai-product.md +82 -0
- package/prompts/system-prompts/de/data-pipeline.md +78 -0
- package/prompts/system-prompts/de/saas-backend.md +71 -0
- package/prompts/system-prompts/es/ai-product.md +82 -0
- package/prompts/system-prompts/es/data-pipeline.md +78 -0
- package/prompts/system-prompts/es/saas-backend.md +71 -0
- package/prompts/system-prompts/fr/ai-product.md +82 -0
- package/prompts/system-prompts/fr/data-pipeline.md +78 -0
- package/prompts/system-prompts/fr/saas-backend.md +71 -0
- package/prompts/system-prompts/nl/ai-product.md +82 -0
- package/prompts/system-prompts/nl/data-pipeline.md +78 -0
- package/prompts/system-prompts/nl/saas-backend.md +71 -0
- package/prompts/system-prompts/saas-backend.md +69 -0
- package/prompts/task-specific/changelog.md +81 -0
- package/prompts/task-specific/de/changelog.md +83 -0
- package/prompts/task-specific/de/debugging.md +78 -0
- package/prompts/task-specific/de/pr-description.md +69 -0
- package/prompts/task-specific/debugging.md +76 -0
- package/prompts/task-specific/es/changelog.md +83 -0
- package/prompts/task-specific/es/debugging.md +78 -0
- package/prompts/task-specific/es/pr-description.md +69 -0
- package/prompts/task-specific/fr/changelog.md +83 -0
- package/prompts/task-specific/fr/debugging.md +78 -0
- package/prompts/task-specific/fr/pr-description.md +69 -0
- package/prompts/task-specific/nl/changelog.md +83 -0
- package/prompts/task-specific/nl/debugging.md +78 -0
- package/prompts/task-specific/nl/pr-description.md +69 -0
- package/prompts/task-specific/pr-description.md +67 -0
- package/rules/common/coding-style.md +45 -0
- package/rules/common/de/coding-style.md +47 -0
- package/rules/common/de/git.md +48 -0
- package/rules/common/de/performance.md +40 -0
- package/rules/common/de/security.md +45 -0
- package/rules/common/de/testing.md +45 -0
- package/rules/common/es/coding-style.md +47 -0
- package/rules/common/es/git.md +48 -0
- package/rules/common/es/performance.md +40 -0
- package/rules/common/es/security.md +45 -0
- package/rules/common/es/testing.md +45 -0
- package/rules/common/fr/coding-style.md +47 -0
- package/rules/common/fr/git.md +48 -0
- package/rules/common/fr/performance.md +40 -0
- package/rules/common/fr/security.md +45 -0
- package/rules/common/fr/testing.md +45 -0
- package/rules/common/git.md +46 -0
- package/rules/common/nl/coding-style.md +47 -0
- package/rules/common/nl/git.md +48 -0
- package/rules/common/nl/performance.md +40 -0
- package/rules/common/nl/security.md +45 -0
- package/rules/common/nl/testing.md +45 -0
- package/rules/common/performance.md +38 -0
- package/rules/common/security.md +43 -0
- package/rules/common/testing.md +43 -0
- package/rules/language-specific/de/go.md +48 -0
- package/rules/language-specific/de/python.md +38 -0
- package/rules/language-specific/de/typescript.md +51 -0
- package/rules/language-specific/es/go.md +48 -0
- package/rules/language-specific/es/python.md +38 -0
- package/rules/language-specific/es/typescript.md +51 -0
- package/rules/language-specific/fr/go.md +48 -0
- package/rules/language-specific/fr/python.md +38 -0
- package/rules/language-specific/fr/typescript.md +51 -0
- package/rules/language-specific/go.md +46 -0
- package/rules/language-specific/nl/go.md +48 -0
- package/rules/language-specific/nl/python.md +38 -0
- package/rules/language-specific/nl/typescript.md +51 -0
- package/rules/language-specific/python.md +36 -0
- package/rules/language-specific/typescript.md +49 -0
- package/scripts/cli.js +161 -0
- package/scripts/link-skills.sh +35 -0
- package/scripts/list-skills.sh +34 -0
- package/skills/ai-engineering/agent-construction.md +285 -0
- package/skills/ai-engineering/claude-api.md +248 -0
- package/skills/ai-engineering/de/agent-construction.md +287 -0
- package/skills/ai-engineering/de/claude-api.md +250 -0
- package/skills/ai-engineering/es/agent-construction.md +287 -0
- package/skills/ai-engineering/es/claude-api.md +250 -0
- package/skills/ai-engineering/fr/agent-construction.md +287 -0
- package/skills/ai-engineering/fr/claude-api.md +250 -0
- package/skills/ai-engineering/nl/agent-construction.md +287 -0
- package/skills/ai-engineering/nl/claude-api.md +250 -0
- package/skills/backend/dotnet/csharp.md +304 -0
- package/skills/backend/dotnet/de/csharp.md +306 -0
- package/skills/backend/dotnet/es/csharp.md +306 -0
- package/skills/backend/dotnet/fr/csharp.md +306 -0
- package/skills/backend/dotnet/nl/csharp.md +306 -0
- package/skills/backend/go/de/go.md +307 -0
- package/skills/backend/go/es/go.md +307 -0
- package/skills/backend/go/fr/go.md +307 -0
- package/skills/backend/go/go.md +305 -0
- package/skills/backend/go/nl/go.md +307 -0
- package/skills/backend/nodejs/de/nestjs.md +274 -0
- package/skills/backend/nodejs/de/nextjs.md +222 -0
- package/skills/backend/nodejs/es/nestjs.md +274 -0
- package/skills/backend/nodejs/es/nextjs.md +222 -0
- package/skills/backend/nodejs/fr/nestjs.md +274 -0
- package/skills/backend/nodejs/fr/nextjs.md +222 -0
- package/skills/backend/nodejs/nestjs.md +272 -0
- package/skills/backend/nodejs/nextjs.md +220 -0
- package/skills/backend/nodejs/nl/nestjs.md +274 -0
- package/skills/backend/nodejs/nl/nextjs.md +222 -0
- package/skills/backend/python/de/django.md +285 -0
- package/skills/backend/python/de/fastapi.md +244 -0
- package/skills/backend/python/django.md +283 -0
- package/skills/backend/python/es/django.md +285 -0
- package/skills/backend/python/es/fastapi.md +244 -0
- package/skills/backend/python/fastapi.md +242 -0
- package/skills/backend/python/fr/django.md +285 -0
- package/skills/backend/python/fr/fastapi.md +244 -0
- package/skills/backend/python/nl/django.md +285 -0
- package/skills/backend/python/nl/fastapi.md +244 -0
- package/skills/data-ml/dbt-data-pipelines.md +155 -0
- package/skills/data-ml/de/dbt-data-pipelines.md +157 -0
- package/skills/data-ml/de/pandas-polars.md +147 -0
- package/skills/data-ml/de/pytorch-tensorflow.md +171 -0
- package/skills/data-ml/es/dbt-data-pipelines.md +157 -0
- package/skills/data-ml/es/pandas-polars.md +147 -0
- package/skills/data-ml/es/pytorch-tensorflow.md +171 -0
- package/skills/data-ml/fr/dbt-data-pipelines.md +157 -0
- package/skills/data-ml/fr/pandas-polars.md +147 -0
- package/skills/data-ml/fr/pytorch-tensorflow.md +171 -0
- package/skills/data-ml/nl/dbt-data-pipelines.md +157 -0
- package/skills/data-ml/nl/pandas-polars.md +147 -0
- package/skills/data-ml/nl/pytorch-tensorflow.md +171 -0
- package/skills/data-ml/pandas-polars.md +145 -0
- package/skills/data-ml/pytorch-tensorflow.md +169 -0
- package/skills/database/de/graphql.md +181 -0
- package/skills/database/es/graphql.md +181 -0
- package/skills/database/fr/graphql.md +181 -0
- package/skills/database/graphql.md +179 -0
- package/skills/database/nl/graphql.md +181 -0
- package/skills/devops-infra/de/docker.md +133 -0
- package/skills/devops-infra/de/github-actions.md +179 -0
- package/skills/devops-infra/de/kubernetes.md +129 -0
- package/skills/devops-infra/de/terraform.md +130 -0
- package/skills/devops-infra/docker.md +131 -0
- package/skills/devops-infra/es/docker.md +133 -0
- package/skills/devops-infra/es/github-actions.md +179 -0
- package/skills/devops-infra/es/kubernetes.md +129 -0
- package/skills/devops-infra/es/terraform.md +130 -0
- package/skills/devops-infra/fr/docker.md +133 -0
- package/skills/devops-infra/fr/github-actions.md +179 -0
- package/skills/devops-infra/fr/kubernetes.md +129 -0
- package/skills/devops-infra/fr/terraform.md +130 -0
- package/skills/devops-infra/github-actions.md +177 -0
- package/skills/devops-infra/kubernetes.md +127 -0
- package/skills/devops-infra/nl/docker.md +133 -0
- package/skills/devops-infra/nl/github-actions.md +179 -0
- package/skills/devops-infra/nl/kubernetes.md +129 -0
- package/skills/devops-infra/nl/terraform.md +130 -0
- package/skills/devops-infra/terraform.md +128 -0
- package/skills/finance-payments/de/stripe.md +187 -0
- package/skills/finance-payments/es/stripe.md +187 -0
- package/skills/finance-payments/fr/stripe.md +187 -0
- package/skills/finance-payments/nl/stripe.md +187 -0
- package/skills/finance-payments/stripe.md +185 -0
- package/workflows/code-review.md +151 -0
- package/workflows/de/code-review.md +153 -0
- package/workflows/de/debugging-session.md +146 -0
- package/workflows/de/feature-development.md +155 -0
- package/workflows/de/new-project-bootstrap.md +175 -0
- package/workflows/de/refactor-safely.md +150 -0
- package/workflows/debugging-session.md +144 -0
- package/workflows/es/code-review.md +153 -0
- package/workflows/es/debugging-session.md +146 -0
- package/workflows/es/feature-development.md +155 -0
- package/workflows/es/new-project-bootstrap.md +175 -0
- package/workflows/es/refactor-safely.md +150 -0
- package/workflows/feature-development.md +153 -0
- package/workflows/fr/code-review.md +153 -0
- package/workflows/fr/debugging-session.md +146 -0
- package/workflows/fr/feature-development.md +155 -0
- package/workflows/fr/new-project-bootstrap.md +175 -0
- package/workflows/fr/refactor-safely.md +150 -0
- package/workflows/new-project-bootstrap.md +173 -0
- package/workflows/nl/code-review.md +153 -0
- package/workflows/nl/debugging-session.md +146 -0
- package/workflows/nl/feature-development.md +155 -0
- package/workflows/nl/new-project-bootstrap.md +175 -0
- package/workflows/nl/refactor-safely.md +150 -0
- package/workflows/refactor-safely.md +148 -0
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
# Agent Orchestration Guide
|
|
2
|
+
|
|
3
|
+
How to delegate, parallelize, and specialize work using Claude Code's subagent system.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## What Subagents Are
|
|
8
|
+
|
|
9
|
+
A subagent is a separate Claude instance spawned by the parent session to handle a specific, bounded task. It gets:
|
|
10
|
+
- A fresh context window (no session history)
|
|
11
|
+
- A specific tool subset (if configured)
|
|
12
|
+
- A model selection (can differ from the parent)
|
|
13
|
+
- A prompt you write explicitly
|
|
14
|
+
|
|
15
|
+
The parent session continues. When the subagent finishes, it returns a result. The parent uses that result and moves on.
|
|
16
|
+
|
|
17
|
+
Subagents are not magic — they are a specific tool for specific problems. Used correctly, they reduce context bloat, enable parallelism, and allow model specialization. Used incorrectly, they add overhead for no benefit.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## When to Use a Subagent
|
|
22
|
+
|
|
23
|
+
Use a subagent when the task has **clear inputs** and **clear outputs** and is **independent of the current session state**.
|
|
24
|
+
|
|
25
|
+
**Good candidates:**
|
|
26
|
+
- Reviewing 10 files for security issues — self-contained, read-only, repeatable
|
|
27
|
+
- Running a specific search across the codebase to locate a pattern
|
|
28
|
+
- Generating boilerplate for a new module given a spec
|
|
29
|
+
- Analyzing a log file and returning a summary
|
|
30
|
+
- Writing tests for a function given its signature and behaviour description
|
|
31
|
+
|
|
32
|
+
**Bad candidates:**
|
|
33
|
+
- Tasks that require the full session context to do correctly
|
|
34
|
+
- Tasks where the output will immediately change what the parent session does next (just do it inline)
|
|
35
|
+
- Tasks that need back-and-forth — subagents are one-shot
|
|
36
|
+
- Anything where the overhead of spawning + prompting exceeds the work itself
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## 1. Delegation Pattern
|
|
41
|
+
|
|
42
|
+
The simplest pattern: the parent identifies a bounded task and hands it off.
|
|
43
|
+
|
|
44
|
+
**Structure:**
|
|
45
|
+
```
|
|
46
|
+
Parent session:
|
|
47
|
+
→ Identifies task (e.g., "find all places where we use the deprecated API")
|
|
48
|
+
→ Writes a self-contained prompt
|
|
49
|
+
→ Spawns subagent with that prompt + relevant file paths
|
|
50
|
+
→ Subagent returns findings
|
|
51
|
+
→ Parent uses findings to continue
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Key rule:** The subagent prompt must be self-contained. It has no access to what the parent session has been doing. Brief it like a colleague who just walked into the room — include the context they need, nothing more.
|
|
55
|
+
|
|
56
|
+
**What to include in the subagent prompt:**
|
|
57
|
+
- What you're trying to accomplish and why
|
|
58
|
+
- The specific files or directories to look at
|
|
59
|
+
- What format you want the result in
|
|
60
|
+
- Any constraints or decisions already made
|
|
61
|
+
|
|
62
|
+
**What NOT to include:**
|
|
63
|
+
- The entire session history (defeats the purpose)
|
|
64
|
+
- Information the subagent doesn't need
|
|
65
|
+
- Open-ended questions (subagents are one-shot — make the task precise)
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
## 2. Parallelization Pattern
|
|
70
|
+
|
|
71
|
+
Multiple subagents running simultaneously on independent tasks. This is the highest-leverage use of the subagent system.
|
|
72
|
+
|
|
73
|
+
**When to parallelize:**
|
|
74
|
+
- You need the same operation applied to many files/modules (review, lint, test generation)
|
|
75
|
+
- Two genuinely independent tasks that both need to complete before you can proceed
|
|
76
|
+
- Research tasks that cover different areas (e.g., "search for auth patterns" + "search for error handling patterns" simultaneously)
|
|
77
|
+
|
|
78
|
+
**Using git worktrees for parallel code changes:**
|
|
79
|
+
```bash
|
|
80
|
+
git worktree add ../feature-branch-a feature-a
|
|
81
|
+
git worktree add ../feature-branch-b feature-b
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Each subagent works in its own worktree — they can't conflict. The parent merges the results.
|
|
85
|
+
|
|
86
|
+
**Parallelization anti-patterns:**
|
|
87
|
+
- Parallelizing tasks that share state (both agents write to the same file — conflict)
|
|
88
|
+
- Spawning more agents than you have independent tasks (overhead without benefit)
|
|
89
|
+
- Parallel tasks where one depends on the output of the other (run sequentially instead)
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 3. Specialization Pattern (cavecrew)
|
|
94
|
+
|
|
95
|
+
Match the subagent's model and tool set to the nature of the task. Not every subagent needs Opus. Not every subagent needs all tools.
|
|
96
|
+
|
|
97
|
+
Inspired by the **cavecrew** pattern (source: [JuliusBrussee/caveman](https://github.com/JuliusBrussee/caveman)):
|
|
98
|
+
|
|
99
|
+
| Role | Model | Tools | Use when |
|
|
100
|
+
|---|---|---|---|
|
|
101
|
+
| Investigator | Haiku 4.5 | Read, Bash (grep/find only) | Locating things in the codebase — read-only, fast |
|
|
102
|
+
| Builder | Sonnet 4.6 | Read, Edit, Write, Bash | Making surgical 1–2 file changes |
|
|
103
|
+
| Reviewer | Haiku 4.5 | Read | Reviewing a diff or a set of files for issues |
|
|
104
|
+
| Orchestrator | Opus 4.7 | All | Complex multi-step coordination, architecture decisions |
|
|
105
|
+
|
|
106
|
+
This pattern saves ~60% tokens compared to using Opus for every subagent task.
|
|
107
|
+
|
|
108
|
+
**Practical example:**
|
|
109
|
+
```
|
|
110
|
+
Parent (Sonnet): "Find all API endpoints that don't validate auth."
|
|
111
|
+
→ Investigator (Haiku): Searches the codebase. Returns list of 6 files + line numbers.
|
|
112
|
+
Parent (Sonnet): Reviews the list, decides which ones are real issues.
|
|
113
|
+
→ Builder (Sonnet): Fixes each real issue, one at a time.
|
|
114
|
+
→ Reviewer (Haiku): Confirms the fix looks correct before the parent moves on.
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## 4. Context Handoff Pattern
|
|
120
|
+
|
|
121
|
+
When a session has accumulated significant context and you need to hand work off to a new agent without losing what was learned.
|
|
122
|
+
|
|
123
|
+
**Pre-handoff checklist:**
|
|
124
|
+
1. Save the current task state to `.claude/memory/session-state.md`
|
|
125
|
+
2. Document decisions made during the session
|
|
126
|
+
3. List files modified and why
|
|
127
|
+
4. Write the handoff prompt explicitly — include everything the next agent needs
|
|
128
|
+
|
|
129
|
+
**Handoff prompt structure:**
|
|
130
|
+
```
|
|
131
|
+
## Context
|
|
132
|
+
[What this project does, briefly]
|
|
133
|
+
[What we were working on]
|
|
134
|
+
[Decisions made during this session]
|
|
135
|
+
|
|
136
|
+
## Files modified
|
|
137
|
+
[List with brief reason for each change]
|
|
138
|
+
|
|
139
|
+
## Current state
|
|
140
|
+
[What's done, what's not done, what's blocking]
|
|
141
|
+
|
|
142
|
+
## Your task
|
|
143
|
+
[Specific, bounded task for the new agent]
|
|
144
|
+
|
|
145
|
+
## Constraints
|
|
146
|
+
[Decisions that were made and should not be revisited]
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
This is the same pattern used by the `handoff` skill in mattpocock/skills.
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## 5. Hard vs Soft Dependencies
|
|
154
|
+
|
|
155
|
+
When orchestrating multiple agents or skills, some downstream tasks require upstream setup to work correctly. Others degrade gracefully.
|
|
156
|
+
|
|
157
|
+
**Hard dependency:** The downstream task explicitly fails without the upstream setup.
|
|
158
|
+
- Example: A skill that posts to GitHub Issues requires the issue tracker to be configured. If it's not, it should halt and tell the user to run the setup skill first.
|
|
159
|
+
- Signal this explicitly in the skill: "This skill requires setup — run `/setup` first if you haven't."
|
|
160
|
+
|
|
161
|
+
**Soft dependency:** The downstream task works but produces lower-quality output without upstream setup.
|
|
162
|
+
- Example: A code review skill that uses domain terminology from `CONTEXT.md`. Without `CONTEXT.md`, it still reviews code — just less precisely.
|
|
163
|
+
- Don't halt. Don't require setup. Degrade gracefully and note the gap.
|
|
164
|
+
|
|
165
|
+
Design your agent workflows to be honest about which dependencies are hard and which are soft.
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## 6. Scope Control for Subagents
|
|
170
|
+
|
|
171
|
+
Every subagent should have an explicit scope limit. Without one, the subagent may take actions that conflict with the parent session or exceed what was intended.
|
|
172
|
+
|
|
173
|
+
**What to include in every subagent prompt:**
|
|
174
|
+
```
|
|
175
|
+
## Scope
|
|
176
|
+
- Read: yes
|
|
177
|
+
- Write/Edit: [specific files only OR no]
|
|
178
|
+
- Shell commands: [specific commands allowed OR none]
|
|
179
|
+
- Network: [yes/no]
|
|
180
|
+
|
|
181
|
+
## Do not
|
|
182
|
+
- Do not modify files outside [directory]
|
|
183
|
+
- Do not make git commits
|
|
184
|
+
- Do not install packages
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
This is especially important for builder-type subagents with write access.
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## 7. Returning Results from Subagents
|
|
192
|
+
|
|
193
|
+
Subagents communicate back to the parent in two ways:
|
|
194
|
+
1. **Return message** — the final text response. Good for short structured results.
|
|
195
|
+
2. **Files** — the subagent writes its findings/output to a file. The parent reads it. Better for larger outputs that need to survive compaction.
|
|
196
|
+
|
|
197
|
+
**Prefer files for:**
|
|
198
|
+
- Lists of findings that the parent will iterate over
|
|
199
|
+
- Generated code that the parent will review
|
|
200
|
+
- Reports that will be referenced multiple times
|
|
201
|
+
|
|
202
|
+
**Prefer return messages for:**
|
|
203
|
+
- Simple yes/no answers
|
|
204
|
+
- Short structured data (a JSON object, a list of 3–5 items)
|
|
205
|
+
- Status reports ("task complete, 3 files modified: X, Y, Z")
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## Quick Reference
|
|
210
|
+
|
|
211
|
+
| Goal | Pattern |
|
|
212
|
+
|---|---|
|
|
213
|
+
| Bounded, self-contained task | Delegation |
|
|
214
|
+
| Same task on many files | Parallelization |
|
|
215
|
+
| Read-only search/locate | Investigator (Haiku) |
|
|
216
|
+
| Surgical code change | Builder (Sonnet) |
|
|
217
|
+
| Diff/file review | Reviewer (Haiku) |
|
|
218
|
+
| Complex multi-step coordination | Orchestrator (Opus) |
|
|
219
|
+
| Session handoff | Context Handoff pattern |
|
|
220
|
+
| Task requires prior setup | Hard dependency — halt + instruct |
|
|
221
|
+
| Task works better with setup | Soft dependency — degrade gracefully |
|
|
222
|
+
| Large subagent output | Write to file, parent reads it |
|
|
223
|
+
| Small structured result | Return message |
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
## Work With Us
|
|
228
|
+
|
|
229
|
+
Claudient is backed by [Uitbreiden](https://uitbreiden.com/) — we build AI products with developer communities and deliver B2B AI solutions. If you're designing multi-agent systems, autonomous workflows, or production-grade Claude Code orchestration — we've built this in production and can help you do the same.
|
|
230
|
+
|
|
231
|
+
**[uitbreiden.com](https://uitbreiden.com/)**
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
# Leitfaden zur Agentenorchestrierung
|
|
2
|
+
|
|
3
|
+
Wie man Arbeit mit dem Unter-Agenten-System von Claude Code delegiert, parallelisiert und spezialisiert.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Was Unter-Agenten sind
|
|
8
|
+
|
|
9
|
+
Ein Unter-Agent ist eine separate Claude-Instanz, die von der Elternsitzung gestartet wird, um eine spezifische, begrenzte Aufgabe zu erledigen. Er erhält:
|
|
10
|
+
- Ein frisches Kontextfenster (kein Sitzungsverlauf)
|
|
11
|
+
- Einen spezifischen Tool-Subset (wenn konfiguriert)
|
|
12
|
+
- Eine Modellauswahl (kann vom Elternteil abweichen)
|
|
13
|
+
- Einen Prompt, den Sie explizit schreiben
|
|
14
|
+
|
|
15
|
+
Unter-Agenten sind keine Magie — sie sind ein spezifisches Werkzeug für spezifische Probleme.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Wann einen Unter-Agenten verwenden
|
|
20
|
+
|
|
21
|
+
Verwenden Sie einen Unter-Agenten, wenn die Aufgabe **klare Eingaben** und **klare Ausgaben** hat und **unabhängig vom aktuellen Sitzungszustand** ist.
|
|
22
|
+
|
|
23
|
+
**Gute Kandidaten:**
|
|
24
|
+
- 10 Dateien auf Sicherheitsprobleme überprüfen
|
|
25
|
+
- Eine spezifische Suche in der Codebasis durchführen
|
|
26
|
+
- Boilerplate für ein neues Modul generieren
|
|
27
|
+
- Eine Logdatei analysieren und eine Zusammenfassung zurückgeben
|
|
28
|
+
|
|
29
|
+
**Schlechte Kandidaten:**
|
|
30
|
+
- Aufgaben, die den vollständigen Sitzungskontext erfordern
|
|
31
|
+
- Aufgaben, die Hin-und-Her erfordern — Unter-Agenten sind einmalig
|
|
32
|
+
- Aufgaben, bei denen der Start-Overhead die Arbeit übersteigt
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 1. Delegationsmuster
|
|
37
|
+
|
|
38
|
+
Die Elternsitzung identifiziert eine begrenzte Aufgabe und übergibt sie.
|
|
39
|
+
|
|
40
|
+
**Schlüsselregel:** Der Unter-Agenten-Prompt muss eigenständig sein. Er hat keinen Zugang dazu, was die Elternsitzung getan hat. Briefen Sie ihn wie einen Kollegen, der gerade den Raum betreten hat.
|
|
41
|
+
|
|
42
|
+
**Was in den Unter-Agenten-Prompt einzuschließen ist:**
|
|
43
|
+
- Was Sie zu erreichen versuchen und warum
|
|
44
|
+
- Die spezifischen Dateien oder Verzeichnisse
|
|
45
|
+
- Das gewünschte Ergebnisformat
|
|
46
|
+
- Bereits getroffene Entscheidungen
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## 2. Parallelisierungsmuster
|
|
51
|
+
|
|
52
|
+
Mehrere Unter-Agenten laufen gleichzeitig an unabhängigen Aufgaben.
|
|
53
|
+
|
|
54
|
+
**Wann parallelisieren:**
|
|
55
|
+
- Dieselbe Operation auf viele Dateien/Module angewendet werden soll
|
|
56
|
+
- Zwei wirklich unabhängige Aufgaben beide abgeschlossen werden müssen
|
|
57
|
+
- Forschungsaufgaben verschiedene Bereiche abdecken
|
|
58
|
+
|
|
59
|
+
**Git-Worktrees für parallele Code-Änderungen:**
|
|
60
|
+
```bash
|
|
61
|
+
git worktree add ../feature-branch-a feature-a
|
|
62
|
+
git worktree add ../feature-branch-b feature-b
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**Parallelisierungs-Anti-Muster:**
|
|
66
|
+
- Parallelisieren von Aufgaben, die Zustand teilen (Schreibkonflikte)
|
|
67
|
+
- Parallele Aufgaben, bei denen eine von der Ausgabe der anderen abhängt
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## 3. Spezialisierungsmuster (cavecrew)
|
|
72
|
+
|
|
73
|
+
Passen Sie Modell und Tools des Unter-Agenten an die Natur der Aufgabe an. Inspiriert vom **cavecrew**-Muster (Quelle: [JuliusBrussee/caveman](https://github.com/JuliusBrussee/caveman)) — spart ~60% Tokens im Vergleich zur Verwendung von Opus für jeden Unter-Agenten.
|
|
74
|
+
|
|
75
|
+
| Rolle | Modell | Tools | Verwenden wenn |
|
|
76
|
+
|---|---|---|---|
|
|
77
|
+
| Ermittler | Haiku 4.5 | Read, Bash (nur grep/find) | Dinge in der Codebasis lokalisieren — nur lesen, schnell |
|
|
78
|
+
| Ersteller | Sonnet 4.6 | Read, Edit, Write, Bash | Chirurgische 1–2 Datei-Änderungen |
|
|
79
|
+
| Prüfer | Haiku 4.5 | Read | Einen Diff oder eine Dateigruppe prüfen |
|
|
80
|
+
| Orchestrator | Opus 4.7 | Alle | Komplexe mehrstufige Koordination, Architekturentscheidungen |
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## 4. Kontextübergabemuster
|
|
85
|
+
|
|
86
|
+
Wenn eine Sitzung bedeutenden Kontext angesammelt hat und Sie die Arbeit an einen neuen Agenten übergeben müssen.
|
|
87
|
+
|
|
88
|
+
**Struktur des Übergabe-Prompts:**
|
|
89
|
+
```
|
|
90
|
+
## Context
|
|
91
|
+
[Was dieses Projekt macht, kurz]
|
|
92
|
+
[Woran wir gearbeitet haben]
|
|
93
|
+
[In dieser Sitzung getroffene Entscheidungen]
|
|
94
|
+
|
|
95
|
+
## Files modified
|
|
96
|
+
[Liste mit kurzem Grund für jede Änderung]
|
|
97
|
+
|
|
98
|
+
## Current state
|
|
99
|
+
[Was erledigt, was nicht, was blockiert]
|
|
100
|
+
|
|
101
|
+
## Your task
|
|
102
|
+
[Spezifische, begrenzte Aufgabe für den neuen Agenten]
|
|
103
|
+
|
|
104
|
+
## Constraints
|
|
105
|
+
[Getroffene Entscheidungen, die nicht neu diskutiert werden sollen]
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## 5. Harte vs. weiche Abhängigkeiten
|
|
111
|
+
|
|
112
|
+
**Harte Abhängigkeit:** Die nachgelagerte Aufgabe schlägt ohne die vorgelagerte Einrichtung explizit fehl.
|
|
113
|
+
- Signalisieren Sie dies explizit: "Diese Skill erfordert Einrichtung — führen Sie zuerst `/setup` aus."
|
|
114
|
+
|
|
115
|
+
**Weiche Abhängigkeit:** Die Aufgabe funktioniert, produziert aber ohne Einrichtung eine Ausgabe geringerer Qualität.
|
|
116
|
+
- Nicht anhalten. Elegant degradieren und die Lücke notieren.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## 6. Umfangskontrolle für Unter-Agenten
|
|
121
|
+
|
|
122
|
+
Jeder Unter-Agent sollte ein explizites Umfangslimit haben.
|
|
123
|
+
|
|
124
|
+
**In jeden Unter-Agenten-Prompt einschließen:**
|
|
125
|
+
```
|
|
126
|
+
## Scope
|
|
127
|
+
- Read: yes
|
|
128
|
+
- Write/Edit: [nur spezifische Dateien ODER nein]
|
|
129
|
+
- Shell commands: [spezifische erlaubte Befehle ODER keine]
|
|
130
|
+
- Network: [ja/nein]
|
|
131
|
+
|
|
132
|
+
## Do not
|
|
133
|
+
- Do not modify files outside [directory]
|
|
134
|
+
- Do not make git commits
|
|
135
|
+
- Do not install packages
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## 7. Ergebnisse von Unter-Agenten zurückgeben
|
|
141
|
+
|
|
142
|
+
**Dateien bevorzugen für:**
|
|
143
|
+
- Ergebnislisten, über die der Elternteil iterieren wird
|
|
144
|
+
- Generierten Code, den der Elternteil prüfen wird
|
|
145
|
+
- Mehrfach referenzierte Berichte
|
|
146
|
+
|
|
147
|
+
**Rückgabemeldungen bevorzugen für:**
|
|
148
|
+
- Einfache Ja/Nein-Antworten
|
|
149
|
+
- Kurze strukturierte Daten
|
|
150
|
+
- Statusberichte
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## Schnellreferenz
|
|
155
|
+
|
|
156
|
+
| Ziel | Muster |
|
|
157
|
+
|---|---|
|
|
158
|
+
| Begrenzte, eigenständige Aufgabe | Delegation |
|
|
159
|
+
| Gleiche Aufgabe auf vielen Dateien | Parallelisierung |
|
|
160
|
+
| Schreibgeschützte Suche/Lokalisierung | Ermittler (Haiku) |
|
|
161
|
+
| Chirurgische Code-Änderung | Ersteller (Sonnet) |
|
|
162
|
+
| Diff/Datei-Prüfung | Prüfer (Haiku) |
|
|
163
|
+
| Komplexe mehrstufige Koordination | Orchestrator (Opus) |
|
|
164
|
+
| Sitzungsübergabe | Kontextübergabemuster |
|
|
165
|
+
| Große Unter-Agenten-Ausgabe | In Datei schreiben, Elternteil liest |
|
|
166
|
+
| Kurzes strukturiertes Ergebnis | Rückgabemeldung |
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## Arbeiten Sie mit uns
|
|
171
|
+
|
|
172
|
+
Claudient wird unterstützt von [Uitbreiden](https://uitbreiden.com/) — wir entwickeln KI-Produkte mit Entwickler-Communities und liefern B2B-KI-Lösungen. Wenn Sie Multi-Agenten-Systeme, autonome Workflows oder Claude Code-Orchestrierung in Produktionsqualität entwerfen — wir haben das in der Produktion gebaut und können Ihnen helfen.
|
|
173
|
+
|
|
174
|
+
**[uitbreiden.com](https://uitbreiden.com/)**
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# Erste Schritte mit Claudient
|
|
2
|
+
|
|
3
|
+
Dieser Leitfaden bringt Sie in weniger als 10 Minuten von null zu einer funktionierenden Claude Code-Umgebung mit Ihrer ersten Skill, Ihrem ersten Agenten und Ihrem ersten Hook.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Voraussetzungen
|
|
8
|
+
|
|
9
|
+
- [Claude Code](https://claude.ai/code) installiert und authentifiziert
|
|
10
|
+
- Ein Projektverzeichnis, an dem Sie aktiv arbeiten
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Schritt 1 — Claudient klonen
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
git clone https://github.com/Claudient/Claudient.git ~/Claudient
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Sie haben jetzt die vollständige Bibliothek lokal. Es wird nichts automatisch ausgeführt — Sie wählen aus, was Sie benötigen.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Schritt 2 — Das `.claude/`-Verzeichnis Ihres Projekts einrichten
|
|
25
|
+
|
|
26
|
+
Claude Code sucht nach Konfiguration in `.claude/` im Projektstammverzeichnis.
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
mkdir -p your-project/.claude/skills
|
|
30
|
+
mkdir -p your-project/.claude/hooks
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Ihre Projektstruktur sollte wie folgt aussehen:
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
your-project/
|
|
37
|
+
├── .claude/
|
|
38
|
+
│ ├── skills/ ← Skills kommen hierher (aktueller Standard)
|
|
39
|
+
│ ├── hooks/ ← Hook-Skripte kommen hierher
|
|
40
|
+
│ └── settings.json ← Hook-Konfiguration kommt hierher
|
|
41
|
+
├── CLAUDE.md ← Regeln kommen hierher
|
|
42
|
+
└── src/
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Schritt 3 — Ihre erste Skill hinzufügen
|
|
48
|
+
|
|
49
|
+
Skills sind Slash-Befehle. Kopieren Sie eine beliebige `.md`-Datei aus `skills/` in `.claude/skills/`:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
# Beispiel: FastAPI-Skill hinzufügen
|
|
53
|
+
cp ~/Claudient/skills/backend/python/fastapi.md your-project/.claude/skills/
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Öffnen Sie jetzt Claude Code in Ihrem Projekt und tippen Sie `/fastapi` — die Skill wird aktiviert.
|
|
57
|
+
|
|
58
|
+
> **Hinweis:** `.claude/commands/` funktioniert weiterhin (veralteter Pfad), aber `.claude/skills/` ist der aktuelle Standard. Wenn beide existieren, haben Skills Vorrang.
|
|
59
|
+
|
|
60
|
+
**So wählen Sie eine Skill aus:**
|
|
61
|
+
- Durchsuchen Sie `skills/` nach Kategorie
|
|
62
|
+
- Lesen Sie den Abschnitt "When to activate" am Anfang jeder Datei
|
|
63
|
+
- Wenn sie zu Ihrer aktuellen Aufgabe passt, kopieren Sie sie hinein
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Schritt 4 — Eine Regel hinzufügen
|
|
68
|
+
|
|
69
|
+
Regeln befinden sich in `CLAUDE.md` im Projektstammverzeichnis. Claude liest diese Datei zu Beginn jeder Sitzung.
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# Einen gemeinsamen Regelsatz in die CLAUDE.md Ihres Projekts kopieren
|
|
73
|
+
cat ~/Claudient/rules/common/coding-style.md >> your-project/CLAUDE.md
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Oder öffnen Sie `rules/common/` und kopieren Sie manuell die für Ihr Projekt relevanten Abschnitte.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Schritt 5 — Ihren ersten Hook hinzufügen
|
|
81
|
+
|
|
82
|
+
Hooks werden automatisch bei Claude Code-Ereignissen ausgeführt. Sie befinden sich in `.claude/settings.json`.
|
|
83
|
+
|
|
84
|
+
Erstellen oder öffnen Sie `.claude/settings.json` in Ihrem Projekt:
|
|
85
|
+
|
|
86
|
+
```json
|
|
87
|
+
{
|
|
88
|
+
"hooks": {}
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Kopieren Sie einen Hook aus `hooks/` — jede Hook-Datei enthält das genaue JSON zum Einfügen. Zum Beispiel der Kostenverfolgung-Hook:
|
|
93
|
+
|
|
94
|
+
```json
|
|
95
|
+
{
|
|
96
|
+
"hooks": {
|
|
97
|
+
"PostToolUse": [
|
|
98
|
+
{
|
|
99
|
+
"matcher": "",
|
|
100
|
+
"hooks": [
|
|
101
|
+
{
|
|
102
|
+
"type": "command",
|
|
103
|
+
"command": "${CLAUDE_PROJECT_DIR}/.claude/hooks/cost-tracker.sh"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Dann kopieren Sie das zugehörige Skript:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
cp ~/Claudient/hooks/lifecycle/cost-tracker.sh your-project/.claude/hooks/
|
|
116
|
+
chmod +x your-project/.claude/hooks/cost-tracker.sh
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Schritt 6 — (Optional) Einen Agenten hinzufügen
|
|
122
|
+
|
|
123
|
+
Agenten sind Unter-Agenten-Definitionen, die Sie in Ihren Claude-Sitzungen referenzieren. Sie erfordern kein Kopieren von Dateien — Sie rufen sie über `subagent_type` in einem Agent-Tool-Aufruf auf.
|
|
124
|
+
|
|
125
|
+
Durchsuchen Sie `agents/`, um zu verstehen, was verfügbar ist. Wenn Sie möchten, dass Claude eine Aufgabe an einen Spezialisten delegiert (z.B. einen Sicherheitsprüfer, einen Datenbankspezialisten), referenzieren Sie die Agentendefinition, um zu verstehen, was er erwartet und was er zurückgibt.
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Was als nächstes zu tun ist
|
|
130
|
+
|
|
131
|
+
| Ziel | Wo nachschlagen |
|
|
132
|
+
|---|---|
|
|
133
|
+
| Eine eigene Skill schreiben | [guides/skill-authoring.md](skill-authoring.md) |
|
|
134
|
+
| Token-Kosten reduzieren | [guides/token-optimization.md](token-optimization.md) |
|
|
135
|
+
| Speicher und Sitzungszustand verstehen | [guides/memory-management.md](memory-management.md) |
|
|
136
|
+
| Claude Code-Setup absichern | [guides/security.md](security.md) |
|
|
137
|
+
| Mehrstufige automatisierte Workflows erstellen | [guides/agent-orchestration.md](agent-orchestration.md) |
|
|
138
|
+
| Qualität mit Hooks automatisieren | [guides/hooks-cookbook.md](hooks-cookbook.md) |
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## Fehlerbehebung
|
|
143
|
+
|
|
144
|
+
**Skill erscheint nicht als Slash-Befehl**
|
|
145
|
+
— Prüfen Sie, ob die Datei in `.claude/skills/` ist (oder `.claude/commands/` für den alten Pfad)
|
|
146
|
+
— Prüfen Sie, ob die Dateiendung `.md` ist
|
|
147
|
+
— Starten Sie Claude Code neu
|
|
148
|
+
|
|
149
|
+
**Hook wird nicht ausgelöst**
|
|
150
|
+
— Überprüfen Sie, ob der Ereignisname exakt übereinstimmt: `PreToolUse`, `PostToolUse`, `PreCompact`, `Notification`
|
|
151
|
+
— Prüfen Sie, ob der Skriptpfad relativ zum Projektstamm ist
|
|
152
|
+
— Prüfen Sie, ob das Skript ausführbar ist (`chmod +x`)
|
|
153
|
+
|
|
154
|
+
**CLAUDE.md wird nicht gelesen**
|
|
155
|
+
— Sie muss im Projektstammverzeichnis liegen (auf gleicher Ebene wie `src/`, `package.json`, etc.)
|
|
156
|
+
— Starten Sie die Claude Code-Sitzung nach dem Bearbeiten neu
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Arbeiten Sie mit uns
|
|
161
|
+
|
|
162
|
+
Claudient wird unterstützt von [Uitbreiden](https://uitbreiden.com/) — wir entwickeln KI-Produkte mit Entwickler-Communities und liefern B2B-KI-Lösungen. Wenn Sie etwas Ernsthaftes mit Claude Code aufbauen und Expertenunterstützung, einen technischen Partner oder einfach Teil der Community sein möchten — kommen Sie zu uns.
|
|
163
|
+
|
|
164
|
+
**[uitbreiden.com](https://uitbreiden.com/)**
|