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.zip

Installs 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.
294 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

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

You give it
AI development task or request for AI configuration guidance
You get back
Configured AI context files, AI-generated code, or AI workflow integration

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-toolkit provides AI-powered code review agents. The feature-dev plugin offers guided feature development workflows.

AI Context Configuration

Context Files (MUST)

Projects using AI assistants MUST maintain context files:

FilePurposeLocation
CLAUDE.mdClaude-specific instructionsRepository root
.cursorrulesCursor AI configurationRepository root
AI_CONTEXT.mdGeneric AI contextRepository root
.github/copilot-instructions.mdGitHub Copilot.github/

Context File Content (MUST)

AI context files MUST include:

SectionContent
Project overviewBrief description and purpose
ArchitectureKey patterns and structures
ConventionsNaming, formatting, style rules
ConstraintsWhat AI should NOT do
Key filesImportant 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

PhaseAI Integration
PlanningUse for architecture exploration
ImplementationCode generation with review
TestingTest case generation
ReviewAI-assisted code review
DocumentationDoc generation and review

Review Workflow (MUST)

AI-assisted code reviews MUST:

  1. Run automated checks first
  2. Apply AI review as additional layer
  3. Require human final approval
  4. Document AI findings

Iterative Refinement (SHOULD)

When using AI for code generation:

  1. Start with clear requirements
  2. Review initial output
  3. Provide specific feedback
  4. Iterate until satisfactory
  5. 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 guide
  • references/ai-security.md - Security considerations

Examples

  • examples/CLAUDE.md - Example Claude context file
  • examples/.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.

SkillInstallsUpdatedSafetyDifficulty
ai (this skill)06moReviewIntermediate
skill-creator1283moReviewAdvanced
skill-development179moReviewIntermediate
agent-identifier159moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

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.

128200

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.

17145

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.

15122

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

15112

dify-dsl-generator

wwwzhouhui

专业的 Dify 工作流 DSL/YML 文件生成器,根据用户业务需求自动生成完整的 Dify 工作流配置文件,支持各种节点类型和复杂工作流逻辑

18108

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"

583

Search skills

Search the agent skills registry