Skip to content

16-code-generator

Specialized code generation. Invoked by implement-specialist.

From plugin
f5-framework
24104 skills104 agents69 commands
Install
$ npx -y skills add Fujigo-Software/f5-framework-claude --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Specialized code generation. Invoked by implement-specialist.

Agent definition

16-code-generator.md
id: "code-generator"
name: "Code Generator"
version: "3.1.0"
tier: "sub-agent"
type: "sub_agent"

description: |
  Specialized code generation.
  Invoked by implement-specialist.

model: "claude-sonnet-4-20250514"
temperature: 0.1
max_tokens: 16000

invoked_by:
  - "implement-specialist"

tools:
  - read
  - write
  - edit

🔧 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

| Type | Convention | Example | |------|------------|---------| | Class | PascalCase | UserService | | Method | camelCase | getUserById | | Constant | UPPER_SNAKE | MAX_RETRIES | | File | kebab-case | user-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
Read more
Ships withf5-framework

AI-Powered Development Framework for Claude Code

Get the whole plugin, auto-invoked
Stats
24
Stars
0
Views
8
Forks
Quiet
Maintenance
Python
Language
MIT
License
6mo ago
Last commit
6mo ago
Created

Repo: Fujigo-Software/f5-framework-claude