BeClaude

zsh-agent-rules

New
3GitHub TrendingGeneralby Khalilzhang0825

中文 AI Coding Agent 工作流总纲:Codex AGENTS.md、Claude Code CLAUDE.md 与 zsh-agent-workflow skill,减少跑偏、上下文混乱、过度设计和无验证修改。

First seen 5/29/2026

Summary

md, and zsh-agent-workflow to prevent context drift, over-engineering, and unverified modifications.

  • It helps developers maintain focused, efficient, and validated AI-assisted development sessions.

Install & Usage

1
Create the agents directory
mkdir -p .claude/agents
2
Save the agent file

Add the configuration to .claude/agents/zsh-agent-rules.md

3
Invoke with @agent-name
@zsh-agent-rules

Use Cases

Prevent the AI agent from going off-topic or losing context during a long coding session.
Avoid over-engineering solutions by enforcing minimal, validated changes to the codebase.
Ensure all modifications are verified with tests before being committed.
Maintain consistent workflow rules across different AI coding tools like Codex and Claude Code.
Reduce the need for manual oversight by automating agent behavior guardrails.

Usage Examples

1

/zsh-agent-rules Start a new feature implementation with strict validation and context tracking.

2

/zsh-agent-rules Review the current codebase and suggest minimal changes to fix the bug without scope creep.

3

/zsh-agent-rules Run the test suite after each modification and report results before proceeding.

View source on GitHub
agent

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is zsh-agent-rules?

This skill provides a comprehensive workflow framework for AI coding agents, integrating Codex AGENTS.md, Claude Code CLAUDE.md, and zsh-agent-workflow to prevent context drift, over-engineering, and unverified modifications. It helps developers maintain focused, efficient, and validated AI-assisted development sessions.

How to install zsh-agent-rules?

To install zsh-agent-rules: create the agents directory (mkdir -p .claude/agents), then add the config to .claude/agents/zsh-agent-rules.md. Finally, @zsh-agent-rules in Claude Code.

What is zsh-agent-rules best for?

zsh-agent-rules is a agent categorized under General. It is designed for: agent. Created by Khalilzhang0825.

What can I use zsh-agent-rules for?

zsh-agent-rules is useful for: Prevent the AI agent from going off-topic or losing context during a long coding session.; Avoid over-engineering solutions by enforcing minimal, validated changes to the codebase.; Ensure all modifications are verified with tests before being committed.; Maintain consistent workflow rules across different AI coding tools like Codex and Claude Code.; Reduce the need for manual oversight by automating agent behavior guardrails..