Technical document

Practical Operational Design to Make Claude Code a Member of the Development Team

CLAUDE.md, custom commands, permission design, and review system. We explain the practical operational design to elevate an AI coding agent from a 'convenient tool' to a 'member of the team'.
AI Development / Team Structure~13 minPublication Date September 22, 2026Update date September 22, 2026
Practical Operational Design to Make Claude Code a Member of the Development Team

Summary

Key points of this document

  • CLAUDE.md is written as an 'onboarding document for newcomers'.
  • Standardize routine tasks into a single command with custom commands.
  • Permissions are drawn along the lines of operational reversibility.

Overview

To elevate an AI coding agent from an 'occasionally useful tool' to a 'member of the team', environmental preparation is necessary. Just as you would give setup procedures and rules to a human newcomer, you provide standardized context and permission boundaries to an AI agent. We will specifically explain the settings actually in use at flares.jp.

CLAUDE.md is written as an 'onboarding document for newcomers'.

Claude Code reads CLAUDE.md directly under the repository in every session. What you write here determines the quality of the agent's work. Our principle is to 'make it a document that we wouldn't be ashamed to give to a human newcomer'.

There are four types of content to write. First, project structure. Second, a list of commands. Accurately write commands for starting development servers, running tests, linting, and building. The time an agent spends trial-and-erroring incorrect commands is pure waste. Third, conventions. Commit message format, naming conventions, and boundaries like 'do not touch this directory'. Fourth, domain knowledge. Definitions and relationships of terms like 'learner', 'organization', and 'course' in an LMS.

Conversely, what should not be written are frequently changing information and lengthy design documents. CLAUDE.md consumes context for each session, so the longer it is, the more it pressures other information. A guideline is within 200 lines. Details should be placed under docs/ and referenced by path from CLAUDE.md.

Another important operation is to update CLAUDE.md when the agent makes a mistake. If you see the same mistake twice, it's a flaw in the instructions. Just adding one line will eliminate the same mistake in all subsequent sessions. This has the same structure as 'revising a procedure manual' in human new employee training.

Standardize routine tasks into a single command with custom commands.

Placing Markdown files in the .claude/commands/ directory turns them into standardized prompts that can be invoked as slash commands. We will introduce three patterns actually in use.

The first is a review command. It standardizes instructions to review change differences from three perspectives: security, performance, and rule violations. It functions as a primary filter before human review. The second is an article creation command. It standardizes the generation of article data compliant with column article data structures and internal link settings. The third is a pre-deployment check. It executes build, test, environment variable difference confirmation, and migration existence confirmation with a single command.

The trick to design is a simple criterion: 'standardize a procedure if it's repeated three or more times'. If you try to create an exhaustive set from the beginning, unused commands will accumulate and management will become unclear.

Permissions are drawn along the lines of operational reversibility.

Claude Code has permission settings that control the extent to which file editing, command execution, and external communication are automatically approved.

The concept of boundaries is 'delegate reversible operations, and humans retain control over irreversible operations'. Local code changes can be rolled back indefinitely with git, but deployment to production and external publication cannot be rolled back. The key is to draw the line based on the reversibility of the operation, not the AI's accuracy.

  • Automatically permitted: file read/write within the repository, execution of tests, linting, and builds, git status checks and diffs.
  • Approval required: git push, commands that interact with the production environment (SSH, rsync, WP-CLI), adding/removing packages, executing migrations.
  • Forbidden: reading .env files, accessing directories containing authentication information.

AI deliverables are reviewed from a different perspective than human code.

While AI code is almost free of grammatical errors and typos, it causes problems such as 'plausible but deviates from requirements', 'confidently calls non-existent APIs', and 'tests merely trace the implementation'.

Our review procedure has three stages. First, before reading through the diff, we have the agent itself summarize the intent and scope of the changes. If this summary deviates from the actual diff, that itself is a red flag. Next, we read the test code before the implementation. If the tests correctly express the requirements, the details of the implementation can be trusted. Finally, we include real-world verification such as an rsync dry run or operational confirmation in a staging environment.

The principle of not deploying to production based solely on code review is becoming even more important in the age of AI.

There are 5 initial setup items for introduction.

Here are the initial setup items when introducing Claude Code to your team.

  • Create the first version of CLAUDE.md. Four items: structure, commands, conventions, domain terms, within 200 lines.
  • Define permission settings as 'reversible operations are permitted, irreversible operations require approval'.
  • Create a review command as the first custom command. Its effect is the easiest to understand.
  • Agree as a team on the operational rule: 'agent mistakes are corrected by revising CLAUDE.md'.
  • Document the review procedure (summary confirmation → test pre-reading → real-world verification).

The introduction of an AI agent is not the introduction of a tool, but the design of a system.

As a result of operating under this system, routine implementations can now be completed in a fraction of the time previously required. On the other hand, tasks with ambiguous requirements, cross-departmental specification decisions, and judgments like 'should this even be built?' cannot be entrusted to the agent.

CLAUDE.md as an 'educational document', custom commands as 'operational procedures', permission design as 'job authority regulations', and a review system as 'quality control'. Carefully applying to AI what has been commonplace in human organizations. That is the essence of making AI a member of the development team.

Technical documents

We will continue to increase technical documentation.

We will continue to organize our thoughts on AI, cloud, business app development, requirements definition, and operational design into documents.

Go to technical documentation list