git-reference-manager
Safely introduce external Git repositories as reference materials. Responsible for managing the `_reference` directory, ensuring external code is read-only and does not pollute the project's version control.
What this skill does
# Git Reference Manager This skill provides guidance on how to formally introduce external repositories into a project for reading and learning. This is crucial for understanding third-party library architectures or finding best practices. ## Core Rules > **Isolation Principle**: Reference code must be strictly isolated within the `_reference/` directory. It is strictly forbidden to commit it to the main project's Git history. ## Standard Workflow When you need to reference an external repository (e.g., `anthropics/skills` or `pandas`), you **must** strictly follow these three steps in order: ### 1. Prepare Sandbox First, ensure the dedicated directory for storing reference materials exists. - **Check**: Does the `_reference` directory exist in the project root? - **Action**: If not, create it. ```bash mkdir -p _reference ``` ### 2. Secure Boundary Before pulling any code, you must ensure that Git ignores this directory. - **Check**: Does the `.gitignore` file contain `_reference/`? - **Action**: If not, append it to the end of the file. ```bash # Check grep "_reference/" .gitignore # Append (if missing) echo -e "\n# External References\n_reference/" >> .gitignore ``` ### 3. Fetch References Clone the target repository into a subdirectory within the sandbox. - **Naming**: Use the repository name as the subdirectory name. - **Action**: Use `git clone`. ```bash git clone <REPO_URL> _reference/<REPO_NAME> ``` - **Note**: Deep history is not required; it is recommended to use `--depth 1` to save time and space. ```bash git clone --depth 1 https://github.com/anthropics/skills.git _reference/anthropics_skills ``` ## Best Practices - **Read-Only Mode**: Treat all files under `_reference/` as **read-only**. Do not modify them unless it is for testing certain changes (but be aware that changes will be lost). - **Search via grep**: Use `grep` or `ripgrep` to search for code patterns within the reference directory. - **Discard Anytime**: Since these files are ignored by git and can be re-cloned, you can delete them at any time to free up space after finishing your task. ## Example **User Request**: "I want to see how React's source code handles Hooks." **Agent Execution**: 1. `mkdir -p _reference` 2. `grep "_reference" .gitignore || echo "_reference/" >> .gitignore` 3. `git clone --depth 1 https://github.com/facebook/react.git _reference/react` 4. Start reading `_reference/react/packages/react-reconciler/...`
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.