pkg/embedded/templates/specledger/skills/sl-deps/SKILL.md
# sl Dependency Management **When to Load**: Triggered when tasks involve cross-repo specification dependencies, `sl deps` commands, artifact caching, or multi-repo dependency resolution. ## Overview `sl deps` manages external specification dependencies between repositories. Dependencies are declared in `specledger.yaml`, cached locally at `~/.specledger/cache/`, and optionally symlinked into your project's artifacts directory for direct access. ## Subcommands | Command | Purpose | Output M
npx skillsauth add specledger/specledger pkg/embedded/templates/specledger/skills/sl-depsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When to Load: Triggered when tasks involve cross-repo specification dependencies, sl deps commands, artifact caching, or multi-repo dependency resolution.
sl deps manages external specification dependencies between repositories. Dependencies are declared in specledger.yaml, cached locally at ~/.specledger/cache/, and optionally symlinked into your project's artifacts directory for direct access.
| Command | Purpose | Output Mode |
|---------|---------|-------------|
| sl deps add <url> [branch] -a <alias> [--link] | Declare a new dependency | Progress + confirmation |
| sl deps list | Show all declared dependencies | Table (repo, version, resolved status) |
| sl deps remove <url> | Remove dependency declaration (cache kept) | Confirmation |
| sl deps resolve | Download and cache all dependencies | Progress per dependency |
| sl deps update [url] | Pull latest versions (all if no URL) | Progress + confirmation |
| sl deps link | Symlink cached deps into project artifacts | Confirmation per link |
| sl deps unlink [alias] | Remove symlinks (all if no alias) | Confirmation |
These are fundamentally different concepts:
Use sl deps for repository-level artifact dependencies:
Use sl issue link for work-item relationships within a project:
Resolve only (sl deps resolve):
Resolve + link (sl deps resolve --link):
<artifact_path>/deps/<alias>/resolve downloads to ~/.specledger/cache/ (reuses cache by default)resolve --no-cache / -n forces fresh downloadremove removes the declaration but keeps the cacheupdate fetches latest versions and refreshes cache# SpecLedger repos: artifact_path auto-detected
sl deps add [email protected]:org/api-spec --alias api
# Non-SpecLedger repos: specify artifact path manually
sl deps add https://github.com/org/api-docs --alias docs --artifact-path docs/openapi/
# Resolve and symlink in one step
sl deps resolve --link
sl deps update # Update all to latest
sl deps update [email protected]:org/spec # Update one
sl deps link # Re-link after update
sl deps unlink api # Remove symlink for one
sl deps unlink # Remove all symlinks
sl deps remove [email protected]:org/api-spec # Remove declaration (cache remains)
| Error | Cause | Solution |
|-------|-------|----------|
| "failed to find project root" | No specledger.yaml in parent dirs | Run from within a SpecLedger project, or sl init first |
| "invalid repository URL" | URL doesn't match git URL patterns | Use git@host:org/repo or https://host/org/repo format |
| "Could not auto-detect artifact_path" | Remote repo lacks specledger.yaml | Add --artifact-path flag to specify manually |
| Symlink errors | Missing cache or permissions | Run sl deps resolve first, check directory permissions |
For full flag details, run sl deps <subcommand> --help.
testing
Manage agent skills from the skills.sh registry — search, install, audit, and remove community-built skills
testing
# sl Issue Tracking ## Overview `sl issue` is the built-in issue tracker for SpecLedger. Use it for multi-session work with complex dependencies; use TodoWrite for simple single-session tasks. ## When to Use sl issue vs TodoWrite ### Use sl issue when: - **Multi-session work** - Tasks spanning multiple compaction cycles or days - **Complex dependencies** - Work with blockers, prerequisites, or hierarchical structure - **Knowledge work** - Strategic documents, research, or tasks with fuzzy bo
tools
# sl-comment Skill **When to Load**: Triggered when AI commands mention "review comments", "comment", or reference `sl comment` CLI. ## Overview The `sl comment` CLI provides review comment management for SpecLedger projects. Comments are stored in Supabase and accessed via the PostgREST API. ## Subcommands | Command | Purpose | Output Mode | |---------|---------|-------------| | `sl comment list [branch-name] [-R owner/repo]` | List all comments (compact) | Truncated previews, reply counts
development
# sl Audit Skill ## Overview Codebase reconnaissance skill for understanding project structure, tech stack, and module organization. This skill provides patterns for efficient codebase exploration without AI orchestration overhead. **Layer**: L3 (Skill) - Passive context injection **Use when**: You need to understand an unfamiliar codebase or validate architecture assumptions ## When to Load Load this skill when: - First encounter with an unfamiliar codebase - Need to understand project str