/devflow:agent-creatorfrom DevFlow Skills Collection
Creates composable AI agent systems in NestJS with orchestrator/planner/executor/evaluator components, DAG-based planning, and database-backed state persistence.
Ships in DevFlow Skills Collection. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Reference files (open one when a step points to it):
references/architecture.md: Agent Architecture Referencereferences/evaluators.md: Evaluators Referencereferences/nestjs-patterns.md: NestJS Patterns Referencereferences/prompts.md: System Prompts ReferenceCreate composable AI agent systems in NestJS with uniform tool interfaces, DAG-based planning, and database-backed state.
Every agent system exposes the same Tool interface as a simple tool. Callers don't know if they're calling a web search API or a complex research system. This enables arbitrary composition and nesting.
Ask the user:
Create this NestJS module structure:
src/agents/{agent-name}/
├── {agent-name}.module.ts # NestJS module
├── {agent-name}.tool.ts # Tool interface (public API)
├── services/
│ ├── orchestrator.service.ts # Workflow coordination
│ ├── planner.service.ts # Plan generation
│ ├── executor.service.ts # Tool execution
│ └── state.service.ts # State management
├── evaluators/
│ ├── evaluator.registry.ts # Registry service
│ └── {type}.evaluator.ts # Per evaluator type
├── tools/
│ └── tool.registry.ts # Available tools
├── entities/ # TypeORM entities
├── dto/ # Input/output DTOs
├── prompts/ # LLM prompts
├── config/
│ └── {agent-name}.config.ts
└── interfaces/
For each component, follow the patterns in:
@Module({
imports: [TypeOrmModule.forFeature([...entities])],
providers: [
OrchestratorService,
PlannerService,
ExecutorService,
StateService,
EvaluatorRegistry,
...evaluators,
ToolRegistry,
AgentTool,
],
exports: [AgentTool], // Only export the Tool interface
})
export class AgentNameModule {}
Tool.execute(input, context)interface Tool {
id: string;
name: string;
description: string;
inputSchema: JSONSchema;
outputSchema: JSONSchema;
execute(input: any, context?: ExecutionContext): Promise<ToolResult>;
}
interface Plan {
id: string;
goal: string;
success_criteria: string[];
steps: PlanStep[];
}
interface PlanStep {
id: string;
description: string;
tool_id: string;
input: any;
success_criteria: string[];
evaluator_type: string;
depends_on: string[]; // DAG dependencies
}
export const agentConfig = {
maxDepth: 3,
maxPlanIterations: 3,
maxStepRetries: 3,
timeoutMs: 300000,
llm: { model: 'claude-sonnet-4-20250514', maxTokens: 4096 },
};
After creating research-agent and document-generator:
// document-generator/tools/tool.registry.ts
@Injectable()
export class ToolRegistry {
constructor(private readonly researchTool: ResearchTool) {
this.register(this.researchTool);
}
}
The document generator's planner can now create steps using research-system-v1 as a tool_id.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mhylle/claude-skills-collection --plugin devflow35 skills in this plugin
/adrDocument architectural decisions in standardized ADR format. This skill should be used when making significant technical decisions, choosing between approaches, establishing patterns, or when other skills (create-plan, implement-plan, brainstorm) identify decisions that need documentation. Triggers on "document decision", "create ADR", "architectural decision", or automatically when invoked by other skills during planning and implementation./adversarial-reviewerAdversarial code review by three independent subagent personas (Saboteur, New Hire, Security Auditor) running in parallel, isolated contexts that know nothing of the author's intent or Claude's earlier conclusions. Reviews a diff by default (staged/unstaged, a ref or a file); --codebase reviews a whole repo or subtree for tech debt, attack surface and knowledge silos. Use before merging a PR; when the user asks for a hostile, harsh, critical, skeptical or second-opinion review; when a /devflow:code-review came back suspiciously clean; when the user is tired after a long session or has a gut feeling something is off; or for a quick audit of an inherited repo ("what am I inheriting"). Differs from /devflow:code-review (routine per-phase review, no isolation) and /devflow:security-review (single-lens OWASP depth).Other plugins' skills for the same job