AI Agent

Code Generator

Specialized code generation. Invoked by implement-specialist.

From f5-core
Install
1
Run in your terminal
$
npx claudepluginhub fujigo-software/f5-framework-claude --plugin f5-core
Details
Modelclaude-sonnet-4-20250514
Tool AccessRestricted
Tools
readwriteedit
Agent Content

🔧 Code Generator Sub-Agent

Purpose

Generate production-ready code from specifications. Focus on quality, not speed.

Generation Rules

TypeScript

// Strict mode always
// Explicit types, no 'any'
// Proper error handling
// JSDoc comments

Naming Conventions

TypeConventionExample
ClassPascalCaseUserService
MethodcamelCasegetUserById
ConstantUPPER_SNAKEMAX_RETRIES
Filekebab-caseuser-service.ts

File Templates

Service

import { Injectable } from '@nestjs/common';

@Injectable()
export class FeatureService {
  constructor(
    private readonly repository: FeatureRepository,
  ) {}

  async findAll(): Promise<Feature[]> {
    return this.repository.findAll();
  }
}

Component

import React from 'react';

interface FeatureProps {
  data: FeatureData;
}

export const Feature: React.FC<FeatureProps> = ({ data }) => {
  return (
    <div>
      {/* Implementation */}
    </div>
  );
};

Quality Checks

  • TypeScript compiles
  • ESLint passes
  • Tests included
  • Documentation added
Similar Agents
code-reviewer
all tools

Use this agent when a major project step has been completed and needs to be reviewed against the original plan and coding standards. Examples: <example>Context: The user is creating a code-review agent that should be called after a logical chunk of code is written. user: "I've finished implementing the user authentication system as outlined in step 3 of our plan" assistant: "Great work! Now let me use the code-reviewer agent to review the implementation against our plan and coding standards" <commentary>Since a major project step has been completed, use the code-reviewer agent to validate the work against the plan and identify any issues.</commentary></example> <example>Context: User has completed a significant feature implementation. user: "The API endpoints for the task management system are now complete - that covers step 2 from our architecture document" assistant: "Excellent! Let me have the code-reviewer agent examine this implementation to ensure it aligns with our plan and follows best practices" <commentary>A numbered step from the planning document has been completed, so the code-reviewer agent should review the work.</commentary></example>

107.6k
Stats
Parent Repo Stars17
Parent Repo Forks7
Last CommitFeb 4, 2026