home / skills / wwwzhouhui / skills_collection / siliconflow-api-skills

siliconflow-api-skills skill

/siliconflow-api-skills

This skill provides comprehensive SiliconFlow API guidance and debugging support to accelerate development and ensure correct usage.

npx playbooks add skill wwwzhouhui/skills_collection --skill siliconflow-api-skills

Review the files below or copy the command above to add this skill to your agents.

Files (12)
SKILL.md
2.4 KB
---
name: siliconflow-api-skills
description: 硅基流动(SiliconFlow)云服务平台文档。用于大语言模型 API 调用、图片生成、向量模型、在 Claude Code 中使用硅基流动、Chat Completions API、Stream 模式等。
---

# SiliconFlow API Skills

Comprehensive assistance with SiliconFlow API development, generated from official documentation.

## When to Use This Skill

This skill should be triggered when:
- Working with SiliconFlow API
- Asking about SiliconFlow features or APIs
- Implementing SiliconFlow solutions
- Debugging SiliconFlow code
- Learning SiliconFlow best practices

## Quick Reference

### Common Patterns

*Quick reference patterns will be added as you use the skill.*

## Reference Files

This skill includes comprehensive documentation in `references/`:

- **api_reference.md** - Api Reference documentation
- **deployment.md** - Deployment documentation
- **faqs.md** - Faqs documentation
- **features.md** - Features documentation
- **models.md** - Models documentation
- **other.md** - Other documentation
- **use_cases.md** - Use Cases documentation
- **userguide.md** - Userguide documentation

Use `view` to read specific reference files when detailed information is needed.

## Working with This Skill

### For Beginners
Start with the getting_started or tutorials reference files for foundational concepts.

### For Specific Features
Use the appropriate category reference file (api, guides, etc.) for detailed information.

### For Code Examples
The quick reference section above contains common patterns extracted from the official docs.

## Resources

### references/
Organized documentation extracted from official sources. These files contain:
- Detailed explanations
- Code examples with language annotations
- Links to original documentation
- Table of contents for quick navigation

### scripts/
Add helper scripts here for common automation tasks.

### assets/
Add templates, boilerplate, or example projects here.

## Notes

- This skill was automatically generated from official documentation
- Reference files preserve the structure and examples from source docs
- Code examples include language detection for better syntax highlighting
- Quick reference patterns are extracted from common usage examples in the docs

## Updating

To refresh this skill with updated documentation:
1. Re-run the scraper with the same configuration
2. The skill will be rebuilt with the latest information

Overview

This skill provides practical, condensed documentation and code patterns for using the SiliconFlow cloud API services. It gathers reference files, examples, and deployment notes to help developers call language, image, and vector APIs and to integrate with Claude Code. The content is organized for quick lookup and hands-on use.

How this skill works

The skill inspects and surfaces organized reference files extracted from SiliconFlow official docs, including API reference, models, deployment, and use cases. It offers quick patterns for API calls, code examples in common languages, and guidance for Stream and Chat Completions modes. Use the skill to fetch targeted sections, sample snippets, and troubleshooting tips.

When to use it

  • Implementing or debugging SiliconFlow API calls for LLM, image, or vector endpoints
  • Integrating SiliconFlow features into Claude Code v2.0+ projects
  • Looking up deployment, authentication, or streaming usage patterns
  • Searching for concise code examples and language-specific snippets
  • Refreshing local documentation before a release or demo

Best practices

  • Start from the getting_started or tutorials files for foundational setup and authentication
  • Use language-labeled code examples and adapt token/endpoint values before running
  • Prefer Stream mode for low-latency interactive responses and chunked outputs
  • Validate model names and parameters against the models reference to avoid runtime errors
  • Keep deployment and secrets separate from code; use environment variables or secrets manager

Example use cases

  • Make chat completions requests with Claude-compatible prompts using provided snippets
  • Generate images from prompts using the image-generation patterns and assets templates
  • Index and query vectors with the vector model examples for semantic search
  • Stream responses to a UI using the Stream mode examples for incremental rendering
  • Automate deployment or testing using the deployment helper scripts and CI tips

FAQ

Which files contain quick start instructions?

Begin with the getting_started and tutorials reference files for step-by-step setup and authentication examples.

Can I use these examples with Claude Code v2.0?

Yes. The examples include patterns and notes specifically targeted at Claude Code v2.0 and later integration scenarios.