Communityライティング&編集github.com

chonamdoo/code-generation-discipline

コード生成とコード変更のための共通規律(agent-flow向け)。実装前、実装中、実装後のチェックを強制し、TDDのred/green/refactor、修正ループ、バグ修正、機能開発など、Codex、Claude、OMP、その他のエージェントがコードを書いたり変更したりするあらゆるタスクで使用します。採点基準はありません。

code-generation-discipline とは?

このスキルは、エージェント(Codex、Claude、OMPなど)がコードの生成や変更を行う際の共通の規律を定義します。実装前、実装中、実装後の各フェーズでチェックを強制し、TDD(red/green/refactor)サイクルやバグ修正、機能開発など、あらゆるコード関連タスクに一貫した品質と規律を提供します。採点基準に依存しないため、シンプルかつ厳格にエージェントの動作を制御できます。agent-flow環境で動作し、コード生成における破損や不整合を防ぎます。

対応✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/chonamdoo/agent-flow/tree/main/skills/code-generation-discipline

Installed? Explore more ライティング&編集 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

code-generation-discipline は何をしますか?

エージェントフロー(agent-flow)のための共通コード生成・コード変更規律です。実装前、実装中、実装後のチェックを強制します。TDDのred/green/refactor、修正ループ、バグ修正、機能開発など、Codex、Claude、OMP、その他のエージェントがコードを書いたり変更したりするあらゆるタスクで使用します。採点基準はなく、開始前、実装中、実装後のチェックを強制します。

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

chonamdoo/comment-authoring-discipline

Apply comment-quality criteria during implementation and the final comment-quality pass before final-review, multi-review, or architecture-review after code changes. Applies equally in Codex, Claude, and OMP for Python, Kotlin, React Web, React Native, iOS, Swift, and SwiftUI.

chonamdoo/flutter-development-guide

Flutter implementation and review checklist. Use only when writing, modifying, or reviewing Flutter widget code, layout constraints, adaptive sizing, navigation and routing, platform channels, platform views, background entry points, list and image performance, async gaps across `BuildContext`, disposal, theme and design tokens, accessibility, localization, offline and error states, or Flutter test and golden coverage. Do not use for Dart language generalities, native Android or iOS internals beyond the engine and channel-registration seam a Dart entry point depends on, or broad rewrites.

chonamdoo/ios-app-shell-error-handling

Use when implementing or reviewing iOS app-wide error handling where SwiftUI views/ViewModels notify common errors and an @main App, WindowGroup AppShell, NavigationStack coordinator, or UIKit AppCoordinator owns root navigation, tab/session flow switching, alerts, sheets, toast hosts, SessionExpired handling, Maintenance handling, and root reset behavior.

chonamdoo/ios-clean-presentation-architecture

Use when creating, modifying, or reviewing an iOS Clean Architecture presentation layer with SwiftUI/UIKit state holders, explicit UiState, UiModel mapping, dependency injection, and state-based presentation code review.

chonamdoo/to-prd

Synthesizes the current conversation and codebase context into a PRD, then writes or publishes it according to the caller's requested output target. Use when the user asks to turn an already-discussed idea, plan, or conversation into a PRD; use `grilling` first if key decisions are still unresolved.

関連スキル