gitlab-docs
Files
SKILL.mdagentsreferences
Install
Install the containing plugin
/plugin install ci-cd@llm-skills
Invoke this skill after installation
/ci-cd:gitlab-docs
This skill is bundled inside ci-cd. Install the plugin once, then Claude Code can use any of its included skills. Browse the full plugin repository at github.com/alisonaquinas/llm-ci-dev.
SKILL.md
name: gitlab-docs description: > Look up GitLab documentation at docs.gitlab.com using WebFetch. Teaches URL patterns, site navigation, and how to fetch specific docs pages.
GitLab Docs Lookup
Navigate and fetch documentation from docs.gitlab.com to answer questions about GitLab features, CI/CD pipelines, runners, API, and administration. This skill encodes the GitLab docs structure so the agent can construct direct links and retrieve relevant documentation.
Intent Router
Load reference files for depth on specific topics:
| Topic | File | Load when... |
|---|---|---|
| Site Navigation | references/navigation.md | Understanding the docs structure and top-level sections |
| Quick Reference | references/quick-reference.md | Looking up the most frequently needed pages |
| CI/CD Reference | references/ci-cd-reference.md | Configuring GitLab CI/CD pipelines and .gitlab-ci.yml |
| Troubleshooting | references/troubleshooting.md | Finding error-specific docs or version-specific information |
Quick Start
Key URL Patterns
The GitLab docs are organized around these top-level sections:
- Base:
https://docs.gitlab.com/ - CI/CD:
https://docs.gitlab.com/ci/ - Pipeline config:
https://docs.gitlab.com/ci/yaml/ - Runners:
https://docs.gitlab.com/runner/ - API:
https://docs.gitlab.com/api/rest/ - User docs:
https://docs.gitlab.com/user/ - Administration:
https://docs.gitlab.com/administration/
How to Look Up Documentation
- Identify the topic (CI/CD, runners, API, user features, admin tasks)
- Start with the appropriate section URL from above
- Use WebFetch to load the page and extract relevant details
- When the specific page is unknown, load the quick-reference to find the most common pages
- For version-specific docs, append
/17.x/(current version) to the base URL if needed
# Navigate to a specific CI/CD keyword by constructing its URL
# Pattern: https://docs.gitlab.com/ci/yaml/#<keyword>
Use WebFetch on https://docs.gitlab.com/ci/yaml/ to browse all .gitlab-ci.yml keywords
Common WebFetch Patterns
Use WebFetch on https://docs.gitlab.com/ci/yaml/ to fetch the .gitlab-ci.yml reference
Use WebFetch on https://docs.gitlab.com/ci/variables/ to look up predefined variables
Use WebFetch on https://docs.gitlab.com/runner/install/ to find runner installation guides
Use WebFetch on https://docs.gitlab.com/api/rest/users.html to retrieve API endpoint docs
Related References
- Load Site Navigation to understand docs.gitlab.com structure and version handling
- Load Quick Reference for the top 30 most frequently needed documentation pages
- Load CI/CD Reference for complete .gitlab-ci.yml configuration and pipeline patterns
- Load Troubleshooting when searching for error-specific docs or navigating version-specific pages