# Salesforce Metadata API Skill

Access comprehensive documentation for all **604 Salesforce Metadata API types**.

## What This Skill Provides

- Complete field definitions for every metadata type
- XML structure requirements and examples
- WSDL schema definitions
- File naming conventions
- Salesforce DX directory structure guidance
- Token optimization strategies

## Installation

This skill is designed for use with Claude Code. To use it:

1. Ensure this directory is in your Claude Code skills path
2. Reference metadata types by asking about specific types
3. Load only the metadata types you need (see SKILL.md for optimization tips)

## Usage

### Quick Examples

**Get information about a metadata type**:
```text
"Show me the CustomObject metadata type"
```

**Create a new metadata file**:
```text
"Help me create a Flow metadata file with these requirements..."
```

**Understand existing metadata**:
```text
"What does the sharingModel field in CustomObject do?"
```

## Version Information

- **API Version**: 67.0
- **Release**: Summer 26
- **Generated**: 2026-06-10 11:21:11
- **Total Types**: 604

## Documentation

- **SKILL.md**: Complete skill documentation with usage guidelines
- **references/metadata_index_table.md**: Index of all metadata types
- **assets/metadata_api/**: JSON files for each metadata type

## Token Optimization

⚠️ **Important**: Load only the metadata types you need!

- Loading all 604 files uses ~75,000 tokens
- Loading 1-5 specific types uses 500-5,000 tokens
- See SKILL.md for detailed optimization strategies

## Updates

This skill is automatically generated from Salesforce Metadata API WSDL files.

To update to a newer API version:
1. Contact the skill maintainer
2. Or use the generation script `skill-generator/scripts/generate_metadata_skill.py` in the [`metadata-api-emu/sfdc-apis-llm-context`](https://github.com/metadata-api-emu/sfdc-apis-llm-context) repo (not part of this repo)

## Support

For questions or issues:
- Review SKILL.md for comprehensive documentation
- Check the troubleshooting section
- Consult references/metadata_index_table.md for available types

---

*Generated by `skill-generator/scripts/generate_metadata_skill.py` in [`metadata-api-emu/sfdc-apis-llm-context`](https://github.com/metadata-api-emu/sfdc-apis-llm-context).*
