gitlab-catalog-browser
v0.2.15
Published
CLI tool for AI agents to browse GitLab CI/CD Catalog, inspect component schemas, and validate pipeline configurations
Downloads
2,227
Maintainers
Readme
gitlab-catalog-browser
CLI tool for AI agents to browse GitLab CI/CD Catalog, inspect component schemas, validate pipeline configurations, and analyze pipeline structure. Inspired by agent-browser.
Status
Pre-product — specification phase.
Installation
# Install globally via npm
npm install -g gitlab-catalog-browser
# Or install the agent skill for AI workflows
npx skills add kouassives/gitlab-catalog-browserRelease Process
New versions are published to npm automatically via GitHub Actions using Trusted Publisher (OIDC) — no tokens required.
# 1. Update version
npm version patch # or minor, or major
# 2. Push the commit and tag
git push && git push --tagsThe publish.yml workflow triggers on any tag matching v*.*.*, builds, tests, and publishes with provenance attestations.
Spec-Driven Development
This project follows the OpenSpec framework for Spec-Driven Development.
Specification Structure
spec/
├── specs/ # Living specifications (capabilities)
│ ├── catalog/spec.md # Catalog browsing capability
│ ├── component/spec.md # Component schema inspection
│ ├── validate/spec.md # Pipeline validation
│ ├── pipeline/spec.md # Pipeline Knowledge Interface
│ ├── config/spec.md # Configuration management
│ ├── skills/spec.md # Agent skill integration
│ └── cli/spec.md # CLI overview & architecture
├── changes/ # Active change proposals (future)
└── archive/ # Archived changes (future)Capabilities
| Capability | Description | Spec |
|------------|-------------|------|
| Catalog | Browse and search GitLab CI/CD Catalog components | spec |
| Component | Inspect component schemas, inputs, jobs, workflows | spec |
| Validate | Validate .gitlab-ci.yml files via CI Lint API | spec |
| Pipeline PKI | Analyze pipeline dependencies, variables, stages, includes | spec |
| Config | Configuration loading, merging, and environment overrides | spec |
| Skills | Serve skill content for AI agent workflows | spec |
| CLI | Global architecture, command parsing, output formatting | spec |
Quick Start
# Install globally
npm install -g gitlab-catalog-browser
# Initialize project configuration
gitlab-catalog-browser init
# Browse catalog components
gitlab-catalog-browser catalog list --org to-be-continuous
# Inspect a component
gitlab-catalog-browser component schema to-be-continuous/docker-build
# Validate a pipeline
gitlab-catalog-browser validate .gitlab-ci.yml
# Analyze pipeline structure
gitlab-catalog-browser pipeline explain --jobs build,test,deploy
# Run diagnostics
gitlab-catalog-browser doctor
# Check for updates
gitlab-catalog-browser upgrade