xiaohongshu
xiaohongshu
jj-clone-third-party
Clone external repositories into work/ directory for examination and source code research. Use when needing to understand third-party dependency implementations, debug upstream issues, or research API usage patterns. (project)
Full skill instructions
Clone external repositories into the work/ directory for examination without affecting the main repository. This workflow enables source code research, dependency exploration, and upstream debugging while keeping external code isolated and gitignored.
Use this skill when:
Determine the Git URL for the repository to examine. Common sources:
https://github.com/owner/repohttps://gitlab.com/owner/repoUse jj git clone to clone the repository into work/:
jj git clone <repository-url> work/<descriptive-name>
Examples:
# Clone tokio to understand async runtime internals
jj git clone https://github.com/tokio-rs/tokio work/tokio
# Clone serde to examine serialization implementation
jj git clone https://github.com/serde-rs/serde work/serde
# Clone Buck2 to understand build system behavior
jj git clone https://github.com/facebook/buck2 work/buck2
Important: The clone is completely isolated from the main repository's history. It's stored under work/ which is gitignored, so it won't affect version control.
Navigate into the cloned directory and use standard tools:
cd work/<repo-name>
# Search for specific functions or patterns
rg "pattern" .
# Read specific files
cat path/to/file
# Explore directory structure
tree -L 2
Alternatively, use absolute paths from the repository root:
# Search without changing directory
rg "pattern" work/<repo-name>
# Read files using absolute paths
cat work/<repo-name>/path/to/file
Remove the cloned repository when the examination is complete:
rm -rf work/<repo-name>
The repository is not tracked by version control, so deletion won't affect the main repository.
Choose clear directory names that indicate the purpose:
work/tokio - Good: immediately clear what it containswork/async-research - Better if examining multiple async librarieswork/temp - Poor: unclear purposePrefer absolute paths from the repository root over changing directories:
# Preferred: stay in repo root
rg "Runtime::new" work/tokio/tokio/src
# Alternative: change directory
cd work/tokio && rg "Runtime::new" tokio/src
Use Read, Grep, and Glob tools to examine cloned code efficiently:
When examining third-party code to solve a problem, document key findings before cleanup:
work/ until manually deletedjj-graft-third-party skill insteadjj-graft-third-party - For integrating third-party repos to test patchesjj-workspace-experiments - For creating isolated workspaces to test changesxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience