/sdlc-workflow:study-sources [<git-url> | <package>@<version> | <ecosystem>] <what you need to learn>from sdlc-workflow
Reads the real source of a library, framework or SDK at the version the project resolved, so code is written against the actual API instead of a remembered one. Use this skill before writing code that calls a dependency API you have not read in this repo; whenever a compile or type error names a library symbol (Unresolved reference, has no exported member, cannot find symbol, has no attribute, is not a function); when a stack trace leads into node_modules, site-packages or a cached JAR; when a version may be newer than you know; or when the user asks how a library works or to pull down a repo. Reads the copy already on disk first (node_modules, Gradle and Maven sources jars, Android SDK sources, Cargo, Go, NuGet, pub caches) and clones into a gitignored .scratch/ only when it is missing. Read-only.
Ships in sdlc-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read _host-invocation.md first. It defines the invocation
spelling, <skill-dir>, and the $ARGUMENTS token for your host.
Ground your work in real upstream source rather than recalled API shapes. When a
task turns on how a library, framework, or SDK actually behaves — its exact function
signatures, its edge cases, an error string, a private helper, a version-specific change —
read the source. This skill maps where each ecosystem already keeps readable source on
disk, and how to fetch it into .scratch/ when it isn't local yet.
Two habits make this reliable:
node_modules/, ~/.m2, the Gradle/Cargo/NuGet/Go caches, the Android SDK's
sources/. Reading the version the project actually resolved is faster and more
correct than cloning main, which may be ahead of the pinned release..scratch/. This directory is gitignored (repo-wide),
so cloned repos and unpacked archives never pollute the working tree, git status, or
the project's history. Keep one sub-folder per source, e.g.
.scratch/sources/<ecosystem>/<name>@<version>/..scratch/ only. Never clone or unpack into the project tree. If .scratch/ is not
already ignored, add it to .gitignore before fetching (do not fetch into a tracked
path). Confirm with git check-ignore -q .scratch/ when unsure (the trailing slash
matters: a .scratch/ pattern matches only a directory, and the folder may not exist yet).HEAD.--depth 1 and, for large monorepos, a sparse or
blobless checkout (see references/git-sources.md). You want
the code to read, not the full history.package-lock.json/pnpm-lock.yaml,
requirements.txt/poetry.lock, pom.xml/*.gradle, go.mod, Cargo.lock,
*.csproj, Gemfile.lock, composer.lock, pubspec.lock, Package.resolved)..scratch/ if missing. Use the ecosystem's own "download source" path
(source JARs, pip download, go mod download, cargo vendor, npm pack, etc.), or
clone the Git repo at the matching tag. Land it under .scratch/sources/….file:line and the exact version you read, so any claim you make is traceable.| Ecosystem | Already-decompressed source on disk | Reference |
|---|---|---|
| Any Git host (GitHub/GitLab/Bitbucket/…) | — (clone into .scratch/) | git-sources.md |
| JavaScript / TypeScript | node_modules/<pkg>/; pnpm store ~/.local/share/pnpm/store / node_modules/.pnpm/; Yarn Berry .yarn/cache (zipped) | javascript.md |
| Python | active venv …/site-packages/<pkg>/; system site-packages; pip download --no-binary for sdist | python.md |
| Java / Kotlin / JVM | Maven ~/.m2/repository/… (-sources.jar); Gradle ~/.gradle/caches/modules-2/… | jvm.md |
| Android | SDK $ANDROID_HOME/sources/android-<api>/; AARs in Gradle cache; AndroidX / AOSP via cs.android.com | android.md |
| Go | module cache $GOPATH/pkg/mod/<module>@<version>/ (read-only) | go.md |
| Rust | registry ~/.cargo/registry/src/<index>/<crate>-<version>/ | rust.md |
| .NET / C# | NuGet ~/.nuget/packages/<pkg>/<version>/ (lib DLLs; source via SourceLink/decompile) | dotnet.md |
| Ruby / PHP / Swift / Dart | RubyGems $GEM_HOME/gems/; Composer vendor/; SwiftPM .build/checkouts/; Dart pub cache ~/.pub-cache/hosted/… | ruby-php-swift-dart.md |
| C / C++ / system | system headers /usr/include; vcpkg/conan caches; else clone upstream | native-c-cpp.md |
If $ARGUMENTS opens with a Git URL, treat it as a clone request →
git-sources.md. If it names a package@version or an
ecosystem keyword, route to that ecosystem's reference. Otherwise infer the ecosystem from
the project's manifests and the map above.
agents/openai.yaml (opens in a new tab)references/android.md (opens in a new tab)references/dotnet.md (opens in a new tab)references/git-sources.md (opens in a new tab)references/go.md (opens in a new tab)references/javascript.md (opens in a new tab)references/jvm.md (opens in a new tab)references/native-c-cpp.md (opens in a new tab)references/python.md (opens in a new tab)references/ruby-php-swift-dart.md (opens in a new tab)references/rust.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/consultConsult external models as READ-ONLY oracles — plan critique, code/implementation review, design analysis, diagnosis, second opinion. Fans out to all available providers by default (codex, claude, gemini, openai; a provider keyword narrows to one). Returns a panel of opinions and never edits the repo. The model may invoke it autonomously when a second opinion adds material value; model-initiated runs pin a free subscription CLI (codex/claude)./diataxisWrite or review documentation using the Diátaxis framework. Use when the user asks for a tutorial, how-to guide, technical reference, explanation/conceptual doc, README, a documentation plan, or a review/audit of existing docs. Classifies the request into the right quadrant and enforces boundary discipline between them (learning vs task vs lookup vs understanding). For documentation produced as a stage of an /wf lifecycle workflow, use /wf docs instead./wfnpx claudepluginhub jayteealao/agent-skills --plugin sdlc-workflow