Creates and maintains AI instruction files like CLAUDE.md, .cursorrules, .windsurfrules for Claude Code, Cursor, Windsurf, separating universal standards from project-specific configurations. Use when configuring AI tools.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin asiaostrich-universal-dev-standardsThis skill uses the workspace's default tool permissions.
> **Language**: English | [繁體中文](../../locales/zh-TW/skills/ai-instruction-standards/SKILL.md)
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Language: English | 繁體中文
Version: 1.0.0 Last Updated: 2026-01-25 Applicability: Claude Code Skills
Core Standard: This skill implements AI Instruction File Standards. For comprehensive methodology documentation, refer to the core standard.
This skill is part of a three-layer AI collaboration system:
| Layer | Skill | Question it Answers | 回答的問題 |
|---|---|---|---|
| Behavior (Immediate) | /ai-collaboration | "How should AI respond accurately?" | 「AI 如何準確回應?」 |
| Configuration (Session) | /ai-instruction-standards (this) | "What to write in CLAUDE.md?" | 「CLAUDE.md 該寫什麼?」 |
| Architecture (Long-term) | /ai-friendly-architecture | "How to structure code for AI?" | 「如何讓專案對 AI 友善?」 |
This skill helps create and maintain AI instruction files with proper separation between universal standards and project-specific configurations.
| AI Tool | Instruction File | Format |
|---|---|---|
| Claude Code | CLAUDE.md | Markdown |
| Cursor | .cursorrules | Markdown |
| Windsurf | .windsurfrules | Markdown |
| Cline | .clinerules | Markdown |
| GitHub Copilot | .github/copilot-instructions.md | Markdown |
| OpenCode | .opencode/instructions.md | Markdown |
| Type | Contains | Example |
|---|---|---|
| Universal | Generic rules | "Run tests before committing" |
| Project-Specific | Concrete commands | "Run npm test before committing" |
# [Project Name] - AI Instructions
## Universal Standards
<!-- Rules applicable to ANY project -->
- Commit message format
- Code review checklist
- Testing standards
- Anti-hallucination rules
---
## Project-Specific Configuration
<!-- Unique to THIS project -->
### Tech Stack
[Your technologies here]
### Quick Commands
[Your build/test/deploy commands]
### File Structure
[Your project structure]
For complete standards, see:
For AI assistants, use the YAML format file for reduced token usage:
ai/standards/ai-instruction-standards.ai.yaml| Category | Good Examples |
|---|---|
| Commit Standards | "Follow Conventional Commits format" |
| Code Review | "Use BLOCKING, IMPORTANT, SUGGESTION prefixes" |
| Testing | "Maintain 80% coverage minimum" |
| AI Behavior | "Always read code before analyzing" |
Avoid in Universal Sections:
npm test, pytest)cli/src/, /var/www/)Node.js 18, Python 3.11)| Category | Examples |
|---|---|
| Tech Stack | Node.js 18, React 18, PostgreSQL 15 |
| Commands | npm run lint, ./scripts/deploy.sh |
| File Structure | src/, cli/, tests/ |
| Team Conventions | Traditional Chinese comments |
## Universal Standards
[universal content]
## Project-Specific Configuration
[project-specific content]
> ⚠️ **Project-Specific**: This section contains configuration unique to this project.
### Tech Stack
...
<!-- UNIVERSAL: The following applies to all projects -->
### Commit Message Format
...
<!-- PROJECT-SPECIFIC: Customize for your project -->
### Quick Commands
...
When using multiple AI tools, maintain consistency:
project/
├── CLAUDE.md # Claude Code instructions
├── .cursorrules # Cursor instructions (can import from CLAUDE.md)
├── .windsurfrules # Windsurf instructions
└── .github/
└── copilot-instructions.md # Copilot instructions
Best Practice: Create a shared docs/ai-standards.md and reference it from each tool's file to avoid duplication.
Before committing changes to AI instruction files:
This skill supports project-specific configuration.
CLAUDE.md or equivalent filesIf no AI instruction file found:
.gitignore if contains sensitive infoAfter /ai-instructions completes, the AI assistant should suggest:
AI 指令檔案標準已掌握。建議下一步 / AI instruction file standards understood. Suggested next steps:
- 建立或更新專案的
CLAUDE.md(或對應的 AI 指令檔案) ⭐ Recommended / 推薦 — 立即將標準應用到專案中 / Apply standards to the project immediately- 執行
/ai-friendly-architecture從架構層面優化 AI 協作 — 配合指令檔案提升 AI 理解力 / Enhance AI understanding alongside instruction files- 執行
/ai-collaboration複習 AI 行為準則 — 確保指令檔案中的規則與行為標準一致 / Ensure instruction file rules align with behavior standards
| Version | Date | Changes |
|---|---|---|
| 1.0.0 | 2026-01-25 | Initial release |
This skill is released under CC BY 4.0.
Source: universal-dev-standards