Implement best practices for AI-assisted development, including context file management and workflow integration.
Install
mkdir -p .claude/skills/ai && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14299" && unzip -o skill.zip -d .claude/skills/ai && rm skill.zipInstalls to .claude/skills/ai
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
This skill should be used when the user asks about "AI development", "AI coding", "AI assistant", "CLAUDE.md", "AI context", "AI guidelines", "code generation", "AI workflow", "AI review", "AI configuration", or needs guidance on configuring AI assistants and AI-assisted development workflows.Key capabilities
- →Maintain context files like CLAUDE.md and .cursorrules
- →Include project overview, architecture, conventions, constraints, and key files in context files
- →Ensure AI-generated code is human-reviewed, tested, and compliant with standards
- →Verify AI-generated code meets quality standards like linting and testing
- →Integrate AI into planning, implementation, testing, review, and documentation phases
- →Review AI-generated code for security vulnerabilities and sensitive data
How it works
This skill establishes standards for AI-assisted development by defining requirements for context file content, AI-generated code quality, workflow integration, and security considerations. It guides the configuration of AI assistants and development processes.
Inputs & outputs
When to use ai
- →Configure project AI context
- →Setup CLAUDE.md
- →Establish AI coding guidelines
- →Integrate AI workflows
About this skill
AI-Assisted Development Standards
Guidance for implementing AI-assisted development requirements including context configuration, workflow integration, and quality practices.
Tooling
Available Tools: If using Claude Code, the
pr-review-toolkitprovides AI-powered code review agents. Thefeature-devplugin offers guided feature development workflows.
AI Context Configuration
Context Files (MUST)
Projects using AI assistants MUST maintain context files:
| File | Purpose | Location |
|---|---|---|
CLAUDE.md | Claude-specific instructions | Repository root |
.cursorrules | Cursor AI configuration | Repository root |
AI_CONTEXT.md | Generic AI context | Repository root |
.github/copilot-instructions.md | GitHub Copilot | .github/ |
Context File Content (MUST)
AI context files MUST include:
| Section | Content |
|---|---|
| Project overview | Brief description and purpose |
| Architecture | Key patterns and structures |
| Conventions | Naming, formatting, style rules |
| Constraints | What AI should NOT do |
| Key files | Important files to understand |
Context File Template
# Project Context for AI Assistants
## Overview
Brief project description and purpose.
## Architecture
- Pattern: [MVC/Clean Architecture/etc.]
- Key directories and their purposes
- Core abstractions
## Conventions
- Naming: camelCase for functions, PascalCase for types
- Error handling: Use Result types
- Testing: Unit tests alongside source
## Constraints
- Do NOT modify configuration files without asking
- Do NOT add new dependencies without approval
- Always run tests after changes
## Key Files
- `src/lib.rs` - Main library entry
- `src/config.rs` - Configuration handling
AI-Generated Code Requirements
Review Requirements (MUST)
All AI-generated code MUST be:
- Reviewed by a human developer
- Tested before merge
- Compliant with project standards
- Free of security vulnerabilities
Code Quality (MUST)
AI-generated code MUST meet the same standards as human-written code:
- Pass all linting rules
- Include appropriate tests
- Follow project conventions
- Be properly documented
Attribution (SHOULD)
AI-generated code SHOULD be attributable:
- Commit messages may indicate AI assistance
- Significant AI contributions noted in PR description
- License compliance verified
AI Workflow Integration
Development Workflow
| Phase | AI Integration |
|---|---|
| Planning | Use for architecture exploration |
| Implementation | Code generation with review |
| Testing | Test case generation |
| Review | AI-assisted code review |
| Documentation | Doc generation and review |
Review Workflow (MUST)
AI-assisted code reviews MUST:
- Run automated checks first
- Apply AI review as additional layer
- Require human final approval
- Document AI findings
Iterative Refinement (SHOULD)
When using AI for code generation:
- Start with clear requirements
- Review initial output
- Provide specific feedback
- Iterate until satisfactory
- Final human review
Security Considerations
Sensitive Data (MUST NOT)
AI context and prompts MUST NOT include:
- API keys or secrets
- Passwords or credentials
- Production database contents
- Customer data
- Internal security details
Code Review for Security (MUST)
AI-generated code MUST be reviewed for:
- Input validation
- Authentication/authorization
- Injection vulnerabilities
- Secure defaults
- Error handling that doesn't leak info
Dependency Addition (MUST)
AI-suggested dependencies MUST be:
- Reviewed for necessity
- Checked for security vulnerabilities
- Verified for license compatibility
- Approved before addition
Quality Assurance
Testing AI Code (MUST)
AI-generated code MUST:
- Have test coverage matching project standards
- Include edge case tests
- Be verified manually for logic correctness
- Pass all existing tests
Documentation (MUST)
AI-generated documentation MUST be:
- Reviewed for accuracy
- Checked for completeness
- Verified against actual code behavior
- Updated when code changes
Team Guidelines
Training (SHOULD)
Teams SHOULD:
- Establish AI usage guidelines
- Train developers on effective prompting
- Share successful patterns
- Document lessons learned
Consistency (MUST)
AI usage MUST:
- Follow team-agreed practices
- Use consistent context files
- Apply uniform quality standards
- Be transparent about AI involvement
Implementation Checklist
- Create AI context file (CLAUDE.md or equivalent)
- Document project conventions
- Define AI constraints and boundaries
- Establish review requirements
- Configure AI tools (if applicable)
- Train team on AI workflows
- Set up quality gates
Compliance Verification
# Check for AI context file
ls CLAUDE.md .cursorrules AI_CONTEXT.md 2>/dev/null
# Verify no secrets in context files
grep -r -i "api_key\|secret\|password" CLAUDE.md .cursorrules 2>/dev/null
# Should return nothing
# Check context file has required sections
grep -E "^##" CLAUDE.md | head -10
Context File Best Practices
Keep Updated (MUST)
Context files MUST be updated when:
- Architecture changes
- New conventions adopted
- Constraints modified
- Key files change
Be Specific (SHOULD)
Context files SHOULD:
- Provide concrete examples
- Reference specific files
- Explain the "why" behind rules
- Include anti-patterns to avoid
Be Concise (SHOULD)
Context files SHOULD:
- Focus on essential information
- Avoid redundant documentation
- Link to detailed docs rather than duplicate
- Target 500-2000 words
Additional Resources
Reference Files
references/ai-context-guide.md- Detailed context file guidereferences/ai-security.md- Security considerations
Examples
examples/CLAUDE.md- Example Claude context fileexamples/.cursorrules- Example Cursor configuration
When not to use it
- →When AI context and prompts include API keys or secrets
- →When AI context and prompts include production database contents or customer data
- →When AI context and prompts include internal security details
Limitations
- →AI context and prompts MUST NOT include API keys or secrets
- →AI context and prompts MUST NOT include production database contents
- →AI context and prompts MUST NOT include customer data
How it compares
This skill provides a structured framework for integrating AI into development, including specific file formats, content requirements, and review processes, which goes beyond general AI usage by enforcing consistency and quality standards.
Compared to similar skills
ai side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| ai (this skill) | 0 | 6mo | Review | Intermediate |
| skill-creator | 128 | 3mo | Review | Advanced |
| skill-development | 17 | 9mo | Review | Intermediate |
| agent-identifier | 15 | 9mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by zircote
View all by zircote →You might also like
skill-creator
anthropics
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
skill-development
anthropics
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.
agent-identifier
anthropics
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
llama-factory
zechenzhangAGI
Expert guidance for fine-tuning LLMs with LLaMA-Factory - WebUI no-code, 100+ models, 2/3/4/5/6/8-bit QLoRA, multimodal support
dify-dsl-generator
wwwzhouhui
专业的 Dify 工作流 DSL/YML 文件生成器,根据用户业务需求自动生成完整的 Dify 工作流配置文件,支持各种节点类型和复杂工作流逻辑
character-generator
Dexploarer
Generate complete elizaOS character configurations with personality, knowledge, and plugin setup. Triggers when user asks to "create character", "generate agent config", or "build elizaOS character"