hugging-face-config
生成Hugging Face Spaces配置文件,包括运行时设置、环境变量和部署说明。
📖 中文导读:生成Hugging Face Spaces配置文件,包括运行时设置、环境变量和部署说明。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: Hugging Face Config description: Generate Hugging Face Spaces configuration files including runtime setup, environment variables, and deployment instructions.
Hugging Face Config
Instructions
Create Hugging Face Spaces configuration:
- Generate hf-space.yaml with runtime settings
- Create README.md with brief explanation
- Document environment variable requirements
- Include instructions for container execution
Configure for Docker runtime:
- Specify Docker as mandatory runtime
- Set proper port exposure (7860)
- Configure resource allocation
- Define startup commands
Document environment variables:
- List all required variables (GEMINI_API_KEY, QDRANT_URL, etc.)
- Provide example values and descriptions
- Include security recommendations
- Add validation requirements
Add deployment documentation:
- Explain how to deploy to Hugging Face Spaces
- Include troubleshooting steps
- Document scaling considerations
- Provide monitoring recommendations
Follow Context7 MCP documentation:
- Ensure Docker runtime compatibility
- Follow deterministic configuration patterns
- Include proper error handling
- Document all configuration parameters
Examples
Input: "Create Hugging Face Spaces configuration" Output: Creates hf-space.yaml and README.md with proper configuration for Docker deployment.