# stormzhang/ai-coding-guide

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/stormzhang-ai-coding-guide).**

1,164 stars · 376 forks · MIT

## Links

- GitHub: https://github.com/stormzhang/ai-coding-guide
- Homepage: https://coding.stormzhang.ai
- awesome-repositories: https://awesome-repositories.com/repository/stormzhang-ai-coding-guide.md

## Topics

`agent` `ai-coding` `anthropic` `chinese-tutorial` `claude-code` `cli` `codex` `llm` `openai` `tutorial`

## Description

This project provides a comprehensive guide and framework for implementing autonomous AI coding assistants within local development environments. It focuses on orchestrating multi-agent teams that can plan, execute, and verify complex software engineering tasks, such as refactoring, bug resolution, and test generation, while maintaining deep awareness of project-specific context and memory.

The system distinguishes itself through a robust security-first architecture that enforces granular access controls, execution isolation, and mandatory human-in-the-loop approvals for all file modifications and external tool calls. It supports sophisticated workflow automation by allowing developers to define custom, reusable skills and hierarchical instructions that persist across sessions, ensuring consistent behavior and knowledge retention throughout the software development lifecycle.

Beyond core automation, the platform offers extensive observability and management tools, including real-time token usage tracking, interactive code diff visualization, and background session monitoring. It integrates directly into terminal-based workflows and supports diverse artificial intelligence providers, enabling users to optimize performance and operational costs through model selection and task-specific reasoning adjustments.

The repository serves as both an educational resource for mastering AI-integrated development and a functional toolkit for deploying autonomous agents that operate within defined security boundaries.

## Tags

### Artificial Intelligence & ML

- [Development Environment AI Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-agent-integrations/development-environment-ai-integrations.md) — Integrates directly into local development workflows via terminal and editor interfaces. ([source](https://github.com/stormzhang/ai-coding-guide/blob/main/README.md))
- [Autonomous Agent Orchestration](https://awesome-repositories.com/f/artificial-intelligence-ml/autonomous-agent-orchestration.md) — Orchestrates multi-agent teams to plan, implement, and verify code changes while maintaining project context and security.
- [Agentic File Editing](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-file-editing.md) — Enables autonomous AI agents to modify files and search knowledge bases using tool-based permissions. ([source](https://coding.stormzhang.ai/claude-code/10-desktop))
- [Agentic Execution Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-reasoning-loops/critic-agent-loops/agentic-execution-loops.md) — Performs tasks by iteratively collecting context, executing actions, and verifying results until the objective is met.
- [Natural Language Agent Controllers](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-orchestration-multi-agent/autonomous-agents/autonomous-browser-agents/natural-language-browser-control-platforms/natural-language-agent-controllers.md) — Enables users to direct team activities by issuing high-level instructions to a lead agent that handles task delegation and planning. ([source](https://coding.stormzhang.ai/claude-code/29-agent-teams))
- [Coding Agent Orchestrators](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-orchestration-multi-agent/coordination-and-routing/ai-agent-orchestrators/coding-agent-orchestrators.md) — Coordinates multiple AI coding assistants in parallel to manage complex software engineering tasks. ([source](https://coding.stormzhang.ai/claude-code/29-agent-teams))
- [AI Coding Assistant Configurations](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agent-configuration-tools/ai-coding-assistant-configurations.md) — Provides configuration profiles for managing authentication, model selection, and environment settings.
- [AI Command Line Automation](https://awesome-repositories.com/f/artificial-intelligence-ml/artificial-intelligence-tooling/agent-and-tool-integrations/ai-command-line-automation.md) — Leverages terminal-based AI assistants to automate coding tasks and manage project workflows.
- [Autonomous Agent Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/autonomous-agent-loops.md) — Executes iterative loops that collect context, perform actions, and verify results autonomously. ([source](https://coding.stormzhang.ai/claude-code/03-how-it-works))
- [Multi-Agent Orchestrators](https://awesome-repositories.com/f/artificial-intelligence-ml/multi-agent-orchestrators.md) — Assigns tasks to specialized sub-processes that operate independently with unique instructions and restricted permissions under a central leader.
- [Task Planning Systems](https://awesome-repositories.com/f/artificial-intelligence-ml/task-planning-systems.md) — Decomposes complex objectives into structured execution plans before applying code modifications. ([source](https://coding.stormzhang.ai/claude-code/06-coding-plan))
- [Automated Software Engineering Agents](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-architectures/ai-agents/software-engineering/automated-software-engineering-agents.md) — Coordinates specialized agents to perform refactoring, testing, and architectural analysis within local development environments.
- [Sub-Agent Task Delegation](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-delegation/sub-agent-task-delegation.md) — Offloads complex tasks to specialized functions that maintain their own context and tool sets. ([source](https://coding.stormzhang.ai/claude-code/23-subagents))
- [Agent Configurations](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-orchestration-multi-agent/autonomous-agents/agent-configurations.md) — Configures agent behavior, memory systems, and security permissions for project-specific interactions. ([source](https://github.com/stormzhang/ai-coding-guide#readme))
- [Worktree Session Isolation](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agentic-workflows/worktree-isolation/parallel-worktree-development-sessions/worktree-session-isolation.md) — Maintains independent AI session contexts across different Git worktrees to prevent interference. ([source](https://coding.stormzhang.ai/claude-code/10-desktop))
- [Skill & Persona Definitions](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/ai-agent-tooling/coding-agents/skill-persona-definitions.md) — Defines specialized agents with unique instructions and restricted tool access for recurring tasks. ([source](https://coding.stormzhang.ai/claude-code/23-subagents))
- [Agent Skill Definitions](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-workflow-automation/custom-prompted-agents/agent-skill-definitions.md) — Provides a system for defining reusable procedural workflows and custom skills for AI agents. ([source](https://coding.stormzhang.ai/claude-code/26-agent-skills))
- [Shared Skill Distribution](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-agent-skills/shared-skill-distribution.md) — Distributes reusable task instructions across a repository for agent discovery and team consistency. ([source](https://coding.stormzhang.ai/claude-code/27-skills-in-practice))
- [Model Selection Policies](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-model-configurations/model-selection-policies.md) — Assigns specific AI models to tasks based on complexity to balance reasoning capability, speed, and cost. ([source](https://coding.stormzhang.ai/claude-code/04-api-config))
- [Documentation Generation](https://awesome-repositories.com/f/artificial-intelligence-ml/code-generation-assistants/documentation-generation.md) — Automatically generates project documentation, build commands, and testing instructions from codebase analysis. ([source](https://coding.stormzhang.ai/claude-code/12-project-init))
- [Contextual Data Providers](https://awesome-repositories.com/f/artificial-intelligence-ml/contextual-data-providers.md) — Supplies precise code blocks and file context to ensure agents operate within the intended scope. ([source](https://coding.stormzhang.ai/claude-code/08-vscode))
- [Conversational History Modification](https://awesome-repositories.com/f/artificial-intelligence-ml/conversational-history-modification.md) — Allows reverting recent file changes through conversational commands or by restoring automatic checkpoints. ([source](https://coding.stormzhang.ai/claude-code/07-first-run))
- [Hierarchical Instruction Resolvers](https://awesome-repositories.com/f/artificial-intelligence-ml/instructional-prompting/hierarchical-instruction-resolvers.md) — Organizes behavior by applying hierarchical instructions across user, project, and module levels. ([source](https://coding.stormzhang.ai/claude-code/18-claude-md-guide))
- [Third-Party Model Integration](https://awesome-repositories.com/f/artificial-intelligence-ml/third-party-model-integration.md) — Allows configuration of external AI providers by mapping base URLs and model identifiers to augment default service endpoints. ([source](https://coding.stormzhang.ai/claude-code/05-third-party-models))

### Part of an Awesome List

- [Context and Memory Management](https://awesome-repositories.com/f/awesome-lists/ai/claude-skills/context-and-memory-management.md) — Injects project-specific knowledge and persistent session context to ensure AI agents remain consistent across development sessions.
- [Tool Execution Permissions](https://awesome-repositories.com/f/awesome-lists/security/security-and-sandboxing/tool-execution-permissions.md) — Enforces security through granular approval workflows for automated tasks and tool calls. ([source](https://coding.stormzhang.ai/claude-code/08-vscode))
- [AI Coding Assistants](https://awesome-repositories.com/f/awesome-lists/ai/ai-coding-assistants.md) — Offers comprehensive educational resources for mastering autonomous agents that automate software development tasks.
- [Task Success Criteria](https://awesome-repositories.com/f/awesome-lists/ai/evaluation-benchmarks/automation-success-metrics/task-success-criteria.md) — Enables users to define success conditions through test cases to facilitate model self-validation and iteration. ([source](https://coding.stormzhang.ai/claude-code/15-prompting))

### Data & Databases

- [Contextual Memory Recall](https://awesome-repositories.com/f/data-databases/indexing-and-search/recall-optimization/contextual-memory-recall.md) — Records and retrieves project-specific patterns and technical insights across sessions to maintain continuity. ([source](https://coding.stormzhang.ai/claude-code/13-project-structure))
- [Project Knowledge Retention](https://awesome-repositories.com/f/data-databases/technical-knowledge-bases/knowledge-retention-tools/project-knowledge-retention.md) — Learns project-specific preferences and debugging insights during interactions for automatic recall in future sessions. ([source](https://coding.stormzhang.ai/claude-code/25-memory))

### Development Tools & Productivity

- [CLI Workflow Automations](https://awesome-repositories.com/f/development-tools-productivity/cli-workflow-automations.md) — Executes complex coding workflows like refactoring and bug fixing through natural language commands and automated agent sub-tasks. ([source](https://github.com/stormzhang/ai-coding-guide/blob/main/README.md))
- [Developer Workflow Automation Rules](https://awesome-repositories.com/f/development-tools-productivity/developer-workflow-automation-rules.md) — Provides reusable behavioral configurations that guide automated assistants through repetitive development tasks.
- [File System Operations](https://awesome-repositories.com/f/development-tools-productivity/file-system-operations.md) — Provides utilities for creating, modifying, and managing files and directories programmatically. ([source](https://coding.stormzhang.ai/claude-code/03-how-it-works))
- [Isolated Execution Environments](https://awesome-repositories.com/f/development-tools-productivity/isolated-execution-environments.md) — Enforces operating system-level boundaries on subprocesses to prevent unauthorized access. ([source](https://coding.stormzhang.ai/claude-code/21-security))
- [Codebase Context Analyzers](https://awesome-repositories.com/f/development-tools-productivity/repository-automation-interfaces/ai-driven-repository-analysis/codebase-context-analyzers.md) — Provides full codebase context analysis by reading repository structure and files to answer technical questions and perform tasks. ([source](https://coding.stormzhang.ai/claude-code/07-first-run))
- [Skill Discovery](https://awesome-repositories.com/f/development-tools-productivity/automation-skills/skill-discovery.md) — Automatically identifies and invokes appropriate automation skills based on natural language context. ([source](https://coding.stormzhang.ai/claude-code/26-agent-skills))
- [CLI Command Extensions](https://awesome-repositories.com/f/development-tools-productivity/cli-command-extensions.md) — Allows users to extend functionality through custom slash commands and modular rules. ([source](https://coding.stormzhang.ai/claude-code/13-project-structure))
- [CLI Development Tools](https://awesome-repositories.com/f/development-tools-productivity/cli-development-tools.md) — Provides terminal-based assistants that execute code modifications, manage version control, and automate complex workflows.
- [Natural Language Codebase Exploration](https://awesome-repositories.com/f/development-tools-productivity/code-editors-ides/codebase-exploration-utilities/natural-language-codebase-exploration.md) — Enables natural language exploration of project structures and execution flows. ([source](https://coding.stormzhang.ai/claude-code/16-common-workflows))
- [Code Refactoring Assistants](https://awesome-repositories.com/f/development-tools-productivity/code-refactoring-assistants.md) — Automates code restructuring while ensuring functional consistency through pre- and post-refactoring tests. ([source](https://coding.stormzhang.ai/claude-code/16-common-workflows))
- [Interactive Diff Visualizers](https://awesome-repositories.com/f/development-tools-productivity/code-visualizers/interactive-diff-visualizers.md) — Displays generated code modifications in an interactive interface supporting line-by-line annotation and direct feedback. ([source](https://coding.stormzhang.ai/claude-code/10-desktop))
- [Ephemeral Execution Environments](https://awesome-repositories.com/f/development-tools-productivity/isolated-execution-environments/ephemeral-execution-environments.md) — Executes coding tasks in isolated, temporary environments that pre-install tools and automatically synchronize changes back to the repository.
- [Pull Request Monitors](https://awesome-repositories.com/f/development-tools-productivity/pull-request-monitors.md) — Tracks build status directly within the coding interface and enables automated fixes or merges. ([source](https://coding.stormzhang.ai/claude-code/10-desktop))
- [Agent Task Dependency Resolvers](https://awesome-repositories.com/f/development-tools-productivity/task-dependency-management/agent-task-dependency-resolvers.md) — Enforces execution order and manages task dependencies within multi-agent workflows. ([source](https://coding.stormzhang.ai/claude-code/29-agent-teams))
- [Version Control Automation](https://awesome-repositories.com/f/development-tools-productivity/version-control-repository-tools/version-control-managers/version-control-automation.md) — Performs automated version control tasks including staging, committing, branching, and pull request management. ([source](https://coding.stormzhang.ai/claude-code/01-what-is-claude-code))

### Hardware & IoT

- [Prompt Injection Classifiers](https://awesome-repositories.com/f/hardware-iot/cluster-operational-requests/operational-request-validation/prompt-injection-classifiers.md) — Uses an automated background model to intercept requests exceeding defined scopes or indicating malicious prompt injection. ([source](https://coding.stormzhang.ai/claude-code/21-security))

### Security & Cryptography

- [Tool Access Controls](https://awesome-repositories.com/f/security-cryptography/access-restrictions/group-based-access-controls/tool-access-controls.md) — Enforces multi-stage security checks requiring user approval before executing external tool calls. ([source](https://coding.stormzhang.ai/claude-code/22-mcp))
- [Command Access Rules](https://awesome-repositories.com/f/security-cryptography/permission-systems/command-access-rules.md) — Enables definition of specific allow, ask, or deny policies for shell commands, file operations, and network requests. ([source](https://coding.stormzhang.ai/claude-code/20-permissions))
- [Security and Access Control](https://awesome-repositories.com/f/security-cryptography/security-and-access-control.md) — Enforces granular access controls and security policies across local files, system commands, and network requests to ensure safe agent operation. ([source](https://github.com/stormzhang/ai-coding-guide/blob/main/README.md))
- [AI Token Spend Limits](https://awesome-repositories.com/f/security-cryptography/access-control/spending-limits/ai-token-spend-limits.md) — Enforces hard budget limits on AI model usage to prevent overspending and maintain control over operational costs. ([source](https://coding.stormzhang.ai/claude-code/06-coding-plan))
- [Subagent Permission Management](https://awesome-repositories.com/f/security-cryptography/subagent-permission-management.md) — Manages granular access rights for subagents to restrict their capabilities and prevent unauthorized modifications. ([source](https://coding.stormzhang.ai/claude-code/23-subagents))

### Software Engineering & Architecture

- [Execution Safety Guards](https://awesome-repositories.com/f/software-engineering-architecture/circuit-breakers/execution-safety-guards.md) — Implements hard-coded safety guards to prevent destructive actions like root-level execution or deletion of critical system directories. ([source](https://coding.stormzhang.ai/claude-code/21-security))
- [Human-in-the-Loop Workflows](https://awesome-repositories.com/f/software-engineering-architecture/human-in-the-loop-workflows.md) — Enforces security by requiring explicit user confirmation for file modifications and external tool executions before applying changes.
- [Context Persistence Files](https://awesome-repositories.com/f/software-engineering-architecture/file-based-project-storage/context-persistence-files.md) — Maintains project awareness by reading and writing configuration files and memory logs directly within the local repository structure.
- [Plugin Installation and Management](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/extensibility/plugin-architectures/plugin-installation-utilities/plugin-installation-and-management.md) — Supports the development, installation, and management of plugins to extend functionality with new skills. ([source](https://coding.stormzhang.ai/claude-code/24-plugins))
- [Parallel Subagent Orchestrators](https://awesome-repositories.com/f/software-engineering-architecture/parallel-subagent-orchestrators.md) — Spawns and coordinates multiple independent subagents to execute workstreams concurrently. ([source](https://coding.stormzhang.ai/claude-code/23-subagents))
- [Agent Rule Scoping](https://awesome-repositories.com/f/software-engineering-architecture/project-scoping/directory-scoped-file-processing/agent-rule-scoping.md) — Manages agent scope by organizing rules and instructions within project directories. ([source](https://coding.stormzhang.ai/claude-code/23-subagents))
- [Plan Approval Workflows](https://awesome-repositories.com/f/software-engineering-architecture/strategic-planning-workflows/implementation-planning/agentic-plan-and-execute-workflows/plan-approval-workflows.md) — Saves proposed agent implementation steps for human modification and approval before execution. ([source](https://coding.stormzhang.ai/claude-code/08-vscode))

### DevOps & Infrastructure

- [Ephemeral Cloud Execution Environments](https://awesome-repositories.com/f/devops-infrastructure/automation-orchestration/task-execution-frameworks/execution-flow-controls/cloud-container-execution/ephemeral-cloud-execution-environments.md) — Executes coding tasks in isolated, ephemeral cloud virtual machines that synchronize changes back to the repository. ([source](https://coding.stormzhang.ai/claude-code/11-web-and-cloud))

### Testing & Quality Assurance

- [Automated Code Review](https://awesome-repositories.com/f/testing-quality-assurance/code-quality-review/automated-code-review.md) — Triggers automated self-reviews of proposed changes to identify logic bugs and security vulnerabilities. ([source](https://coding.stormzhang.ai/claude-code/10-desktop))
- [AI-Driven Bug Fixing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/test-frameworks/browser-and-ui-testing/browser-automation-frameworks/web-testing-frameworks/ai-driven-bug-fixing.md) — Diagnoses root causes from error logs and applies automated fixes with regression testing. ([source](https://coding.stormzhang.ai/claude-code/16-common-workflows))
- [AI-Driven Test Generation](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/unit/unit-testing/ai-driven-test-generation.md) — Automatically generates unit tests covering edge cases and boundary conditions to ensure robust error handling. ([source](https://coding.stormzhang.ai/claude-code/16-common-workflows))

### User Interface & Experience

- [Code Diff Visualizers](https://awesome-repositories.com/f/user-interface-experience/code-diff-visualizers.md) — Displays proposed code changes in a native comparison view for review and application. ([source](https://coding.stormzhang.ai/claude-code/09-jetbrains))
- [Design-to-Code Generators](https://awesome-repositories.com/f/user-interface-experience/ui-architecture/design-utilities/workflow-automation-tools/design-to-code-tools/design-to-code-generators.md) — Converts visual mockups and interface screenshots into functional markup and styling structures to accelerate UI development. ([source](https://coding.stormzhang.ai/claude-code/17-images-multimodal))

### Web Development

- [Development Environment Synchronization](https://awesome-repositories.com/f/web-development/state-synchronization/development-environment-synchronization.md) — Maintains consistent configurations and project context across multiple development interfaces. ([source](https://coding.stormzhang.ai/claude-code/01-what-is-claude-code))
