Tfy-gateway-skills truefoundry-docs
Fetches TrueFoundry documentation, API reference, and deployment guides. Use when the user needs platform docs or how-to guidance.
install
source · Clone the upstream repo
git clone https://github.com/truefoundry/tfy-gateway-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/truefoundry/tfy-gateway-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/docs" ~/.claude/skills/truefoundry-tfy-gateway-skills-truefoundry-docs && rm -rf "$T"
manifest:
skills/docs/SKILL.mdsource content
<objective>Routing note: For ambiguous user intents, use the shared clarification templates in references/intent-clarification.md.
TrueFoundry Documentation
Fetch up-to-date TrueFoundry documentation for features, API reference, and deployment guides.
When to Use
Fetch up-to-date TrueFoundry documentation for features, API reference, deployment guides, or troubleshooting.
</objective> <instructions>Documentation Sources
API Reference
Full API docs:
https://truefoundry.com/docs/api-reference
Fetch a specific section:
curl -s https://truefoundry.com/docs/api-reference/applications/list-applications
Deployment Guides
| Topic | URL |
|---|---|
| Introduction to Services | |
| Deploy First Service | |
| Dockerize Code | |
| Ports and Domains | |
| Endpoint Auth | |
| Resources (CPU/Memory) | |
| Fractional GPUs | |
| Environment Variables | |
| Autoscaling | |
| Liveness/Readiness Probes | |
| Rollout Strategy | |
| Deploy Programmatically | |
| CI/CD Setup | |
| Monitoring | |
Job Deployment
| Topic | URL |
|---|---|
| Introduction to Jobs | |
| Deploy First Job | |
ML & LLM
| Topic | URL |
|---|---|
| ML Repos | |
| LLM Deployment | |
| LLM Tracing | |
Authentication
| Topic | URL |
|---|---|
| Generating API Keys | |
Fetching Docs
To fetch a specific docs page for the user:
curl -sL "https://truefoundry.com/docs/deploy-first-service" | head -200
Or use WebFetch if available in the agent.
</instructions><success_criteria>
Success Criteria
- The user has received the relevant documentation content or URL for their question
- The agent has fetched and summarized the specific docs page rather than just linking to it
- The user understands the next steps based on the documentation provided
- If the docs page was unavailable, the agent has suggested alternative resources or related skills
</success_criteria>
<references>Composability
- Before deploy: Fetch deploy guides for the specific app type
- For API usage: Reference
in _sharedreferences/api-endpoints.md - For troubleshooting: Fetch relevant docs page and summarize
Error Handling
Documentation page returns 404
The URL may have changed. Try searching the docs index: curl -sL "https://truefoundry.com/docs" | head -100 Or check the sitemap for the current URL structure.
curl fails or times out
Check network connectivity: curl -sI https://truefoundry.com If behind a proxy, ensure HTTP_PROXY / HTTPS_PROXY are set. If curl is unavailable, use WebFetch or suggest the user open the URL in a browser.
Documentation content is truncated or unparseable
</troubleshooting>Some pages render dynamically. Try: - Increasing the head limit (e.g., head -500) - Using WebFetch if available in the agent - Providing the direct URL to the user to open in a browser