[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AFCE9GWFXTD54BNAKHHPPX":3,"skill-same:01M6AFCE9GWFXTD54BNAKHHPPX":113},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M6AFCE9GWFXTD54BNAKHHPPX","deeptools","NGS测序数据质控与可视化","NGS analysis toolkit. BAM to bigWig conversion, QC (correlation, PCA, fingerprints), heatmaps\u002Fprofiles (TSS, peaks), for ChIP-seq, RNA-seq, ATAC-seq visualization.","下一代测序（NGS）分析工具包，支持 BAM 转 bigWig、质量控制（相关性、PCA、指纹图谱）、热图与剖面图（TSS、peaks），用于 ChIP-seq、RNA-seq、ATAC-seq 的可视化。","davila7\u002Fclaude-code-templates","davila7","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6216945?v=4","01M6ADEWWFPS191NFM0Y1EX1JH","Daniel Avila","01M6ADJHGM78PHQRD3XZTFDVKK",33602,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdeeptools\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C99FDBYPR98XGE4CR0C14H","生物信息学分析","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C99FE7CJ3FKWKFJZ3VHJC4","生物信息工程师","PROFESSION","适用职业",[5,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"ngs analysis","Heatmaps","Fingerprints","for","seq","profiles","chip-seq","atac-seq","bam","qc","toolkit","NGS","PCA","atac","RNA","conversion","analysis","correlation","visualization","2026-11-10 10:12:30",false,"---\nname: deeptools\ndescription: \"NGS analysis toolkit. BAM to bigWig conversion, QC (correlation, PCA, fingerprints), heatmaps\u002Fprofiles (TSS, peaks), for ChIP-seq, RNA-seq, ATAC-seq visualization.\"\n---\n\n# deepTools: NGS Data Analysis Toolkit\n\n## Overview\n\ndeepTools is a comprehensive suite of Python command-line tools designed for processing and analyzing high-throughput sequencing data. Use deepTools to perform quality control, normalize data, compare samples, and generate publication-quality visualizations for ChIP-seq, RNA-seq, ATAC-seq, MNase-seq, and other NGS experiments.\n\n**Core capabilities:**\n- Convert BAM alignments to normalized coverage tracks (bigWig\u002FbedGraph)\n- Quality control assessment (fingerprint, correlation, coverage)\n- Sample comparison and correlation analysis\n- Heatmap and profile plot generation around genomic features\n- Enrichment analysis and peak region visualization\n\n## When to Use This Skill\n\nThis skill should be used when:\n\n- **File conversion**: \"Convert BAM to bigWig\", \"generate coverage tracks\", \"normalize ChIP-seq data\"\n- **Quality control**: \"check ChIP quality\", \"compare replicates\", \"assess sequencing depth\", \"QC analysis\"\n- **Visualization**: \"create heatmap around TSS\", \"plot ChIP signal\", \"visualize enrichment\", \"generate profile plot\"\n- **Sample comparison**: \"compare treatment vs control\", \"correlate samples\", \"PCA analysis\"\n- **Analysis workflows**: \"analyze ChIP-seq data\", \"RNA-seq coverage\", \"ATAC-seq analysis\", \"complete workflow\"\n- **Working with specific file types**: BAM files, bigWig files, BED region files in genomics context\n\n## Quick Start\n\nFor users new to deepTools, start with file validation and common workflows:\n\n### 1. Validate Input Files\n\nBefore running any analysis, validate BAM, bigWig, and BED files using the validation script:\n\n```bash\npython scripts\u002Fvalidate_files.py --bam sample1.bam sample2.bam --bed regions.bed\n```\n\nThis checks file existence, BAM indices, and format correctness.\n\n### 2. Generate Workflow Template\n\nFor standard analyses, use the workflow generator to create customized scripts:\n\n```bash\n# List available workflows\npython scripts\u002Fworkflow_generator.py --list\n\n# Generate ChIP-seq QC workflow\npython scripts\u002Fworkflow_generator.py chipseq_qc -o qc_workflow.sh \\\n    --input-bam Input.bam --chip-bams \"ChIP1.bam ChIP2.bam\" \\\n    --genome-size 2913022398\n\n# Make executable and run\nchmod +x qc_workflow.sh\n.\u002Fqc_workflow.sh\n```\n\n### 3. Most Common Operations\n\nSee `assets\u002Fquick_reference.md` for frequently used commands and parameters.\n\n## Installation\n\n```bash\nuv pip install deeptools\n```\n\n## Core Workflows\n\ndeepTools workflows typically follow this pattern: **QC → Normalization → Comparison\u002FVisualization**\n\n### ChIP-seq Quality Control Workflow\n\nWhen users request ChIP-seq QC or quality assessment:\n\n1. **Generate workflow script** using `scripts\u002Fworkflow_generator.py chipseq_qc`\n2. **Key QC steps**:\n   - Sample correlation (multiBamSummary + plotCorrelation)\n   - PCA analysis (plotPCA)\n   - Coverage assessment (plotCoverage)\n   - Fragment size validation (bamPEFragmentSize)\n   - ChIP enrichment strength (plotFingerprint)\n\n**Interpreting results:**\n- **Correlation**: Replicates should cluster together with high correlation (>0.9)\n- **Fingerprint**: Strong ChIP shows steep rise; flat diagonal indicates poor enrichment\n- **Coverage**: Assess if sequencing depth is adequate for analysis\n\nFull workflow details in `references\u002Fworkflows.md` → \"ChIP-seq Quality Control Workflow\"\n\n### ChIP-seq Complete Analysis Workflow\n\nFor full ChIP-seq analysis from BAM to visualizations:\n\n1. **Generate coverage tracks** with normalization (bamCoverage)\n2. **Create comparison tracks** (bamCompare for log2 ratio)\n3. **Compute signal matrices** around features (computeMatrix)\n4. **Generate visualizations** (plotHeatmap, plotProfile)\n5. **Enrichment analysis** at peaks (plotEnrichment)\n\nUse `scripts\u002Fworkflow_generator.py chipseq_analysis` to generate template.\n\nComplete command sequences in `references\u002Fworkflows.md` → \"ChIP-seq Analysis Workflow\"\n\n### RNA-seq Coverage Workflow\n\nFor strand-specific RNA-seq coverage tracks:\n\nUse bamCoverage with `--filterRNAstrand` to separate forward and reverse strands.\n\n**Important:** NEVER use `--extendReads` for RNA-seq (would extend over splice junctions).\n\nUse normalization: CPM for fixed bins, RPKM for gene-level analysis.\n\nTemplate available: `scripts\u002Fworkflow_generator.py rnaseq_coverage`\n\nDetails in `references\u002Fworkflows.md` → \"RNA-seq Coverage Workflow\"\n\n### ATAC-seq Analysis Workflow\n\nATAC-seq requires Tn5 offset correction:\n\n1. **Shift reads** using alignmentSieve with `--ATACshift`\n2. **Generate coverage** with bamCoverage\n3. **Analyze fragment sizes** (expect nucleosome ladder pattern)\n4. **Visualize at peaks** if available\n\nTemplate: `scripts\u002Fworkflow_generator.py atacseq`\n\nFull workflow in `references\u002Fworkflows.md` → \"ATAC-seq Workflow\"\n\n## Tool Categories and Common Tasks\n\n### BAM\u002FbigWig Processing\n\n**Convert BAM to normalized coverage:**\n```bash\nbamCoverage --bam input.bam --outFileName output.bw \\\n    --normalizeUsing RPGC --effectiveGenomeSize 2913022398 \\\n    --binSize 10 --numberOfProcessors 8\n```\n\n**Compare two samples (log2 ratio):**\n```bash\nbamCompare -b1 treatment.bam -b2 control.bam -o ratio.bw \\\n    --operation log2 --scaleFactorsMethod readCount\n```\n\n**Key tools:** bamCoverage, bamCompare, multiBamSummary, multiBigwigSummary, correctGCBias, alignmentSieve\n\nComplete reference: `references\u002Ftools_reference.md` → \"BAM and bigWig File Processing Tools\"\n\n### Quality Control\n\n**Check ChIP enrichment:**\n```bash\nplotFingerprint -b input.bam chip.bam -o fingerprint.png \\\n    --extendReads 200 --ignoreDuplicates\n```\n\n**Sample correlation:**\n```bash\nmultiBamSummary bins --bamfiles *.bam -o counts.npz\nplotCorrelation -in counts.npz --corMethod pearson \\\n    --whatToShow heatmap -o correlation.png\n```\n\n**Key tools:** plotFingerprint, plotCoverage, plotCorrelation, plotPCA, bamPEFragmentSize\n\nComplete reference: `references\u002Ftools_reference.md` → \"Quality Control Tools\"\n\n### Visualization\n\n**Create heatmap around TSS:**\n```bash\n# Compute matrix\ncomputeMatrix reference-point -S signal.bw -R genes.bed \\\n    -b 3000 -a 3000 --referencePoint TSS -o matrix.gz\n\n# Generate heatmap\nplotHeatmap -m matrix.gz -o heatmap.png \\\n    --colorMap RdBu --kmeans 3\n```\n\n**Create profile plot:**\n```bash\nplotProfile -m matrix.gz -o profile.png \\\n    --plotType lines --colors blue red\n```\n\n**Key tools:** computeMatrix, plotHeatmap, plotProfile, plotEnrichment\n\nComplete reference: `references\u002Ftools_reference.md` → \"Visualization Tools\"\n\n## Normalization Methods\n\nChoosing the correct normalization is critical for valid comparisons. Consult `references\u002Fnormalization_methods.md` for comprehensive guidance.\n\n**Quick selection guide:**\n\n- **ChIP-seq coverage**: Use RPGC or CPM\n- **ChIP-seq comparison**: Use bamCompare with log2 and readCount\n- **RNA-seq bins**: Use CPM\n- **RNA-seq genes**: Use RPKM (accounts for gene length)\n- **ATAC-seq**: Use RPGC or CPM\n\n**Normalization methods:**\n- **RPGC**: 1× genome coverage (requires --effectiveGenomeSize)\n- **CPM**: Counts per million mapped reads\n- **RPKM**: Reads per kb per million (accounts for region length)\n- **BPM**: Bins per million\n- **None**: Raw counts (not recommended for comparisons)\n\nFull explanation: `references\u002Fnormalization_methods.md`\n\n## Effective Genome Sizes\n\nRPGC normalization requires effective genome size. Common values:\n\n| Organism | Assembly | Size | Usage |\n|----------|----------|------|-------|\n| Human | GRCh38\u002Fhg38 | 2,913,022,398 | `--effectiveGenomeSize 2913022398` |\n| Mouse | GRCm38\u002Fmm10 | 2,652,783,500 | `--effectiveGenomeSize 2652783500` |\n| Zebrafish | GRCz11 | 1,368,780,147 | `--effectiveGenomeSize 1368780147` |\n| *Drosophila* | dm6 | 142,573,017 | `--effectiveGenomeSize 142573017` |\n| *C. elegans* | ce10\u002Fce11 | 100,286,401 | `--effectiveGenomeSize 100286401` |\n\nComplete table with read-length-specific values: `references\u002Feffective_genome_sizes.md`\n\n## Common Parameters Across Tools\n\nMany deepTools commands share these options:\n\n**Performance:**\n- `--numberOfProcessors, -p`: Enable parallel processing (always use available cores)\n- `--region`: Process specific regions for testing (e.g., `chr1:1-1000000`)\n\n**Read Filtering:**\n- `--ignoreDuplicates`: Remove PCR duplicates (recommended for most analyses)\n- `--minMappingQuality`: Filter by alignment quality (e.g., `--minMappingQuality 10`)\n- `--minFragmentLength` \u002F `--maxFragmentLength`: Fragment length bounds\n- `--samFlagInclude` \u002F `--samFlagExclude`: SAM flag filtering\n\n**Read Processing:**\n- `--extendReads`: Extend to fragment length (ChIP-seq: YES, RNA-seq: NO)\n- `--centerReads`: Center at fragment midpoint for sharper signals\n\n## Best Practices\n\n### File Validation\n**Always validate files first** using `scripts\u002Fvalidate_files.py` to check:\n- File existence and readability\n- BAM indices present (.bai files)\n- BED format correctness\n- File sizes reasonable\n\n### Analysis Strategy\n\n1. **Start with QC**: Run correlation, coverage, and fingerprint analysis before proceeding\n2. **Test on small regions**: Use `--region chr1:1-10000000` for parameter testing\n3. **Document commands**: Save full command lines for reproducibility\n4. **Use consistent normalization**: Apply same method across samples in comparisons\n5. **Verify genome assembly**: Ensure BAM and BED files use matching genome builds\n\n### ChIP-seq Specific\n\n- **Always extend reads** for ChIP-seq: `--extendReads 200`\n- **Remove duplicates**: Use `--ignoreDuplicates` in most cases\n- **Check enrichment first**: Run plotFingerprint before detailed analysis\n- **GC correction**: Only apply if significant bias detected; never use `--ignoreDuplicates` after GC correction\n\n### RNA-seq Specific\n\n- **Never extend reads** for RNA-seq (would span splice junctions)\n- **Strand-specific**: Use `--filterRNAstrand forward\u002Freverse` for stranded libraries\n- **Normalization**: CPM for bins, RPKM for genes\n\n### ATAC-seq Specific\n\n- **Apply Tn5 correction**: Use alignmentSieve with `--ATACshift`\n- **Fragment filtering**: Set appropriate min\u002Fmax fragment lengths\n- **Check nucleosome pattern**: Fragment size plot should show ladder pattern\n\n### Performance Optimization\n\n1. **Use multiple processors**: `--numberOfProcessors 8` (or available cores)\n2. **Increase bin size** for faster processing and smaller files\n3. **Process chromosomes separately** for memory-limited systems\n4. **Pre-filter BAM files** using alignmentSieve to create reusable filtered files\n5. **Use bigWig over bedGraph**: Compressed and faster to process\n\n## Troubleshooting\n\n### Common Issues\n\n**BAM index missing:**\n```bash\nsamtools index input.bam\n```\n\n**Out of memory:**\nProcess chromosomes individually using `--region`:\n```bash\nbamCoverage --bam input.bam -o chr1.bw --region chr1\n```\n\n**Slow processing:**\nIncrease `--numberOfProcessors` and\u002For increase `--binSize`\n\n**bigWig files too large:**\nIncrease bin size: `--binSize 50` or larger\n\n### Validation Errors\n\nRun validation script to identify issues:\n```bash\npython scripts\u002Fvalidate_files.py --bam *.bam --bed regions.bed\n```\n\nCommon errors and solutions explained in script output.\n\n## Reference Documentation\n\nThis skill includes comprehensive reference documentation:\n\n### references\u002Ftools_reference.md\nComplete documentation of all deepTools commands organized by category:\n- BAM and bigWig processing tools (9 tools)\n- Quality control tools (6 tools)\n- Visualization tools (3 tools)\n- Miscellaneous tools (2 tools)\n\nEach tool includes:\n- Purpose and overview\n- Key parameters with explanations\n- Usage examples\n- Important notes and best practices\n\n**Use this reference when:** Users ask about specific tools, parameters, or detailed usage.\n\n### references\u002Fworkflows.md\nComplete workflow examples for common analyses:\n- ChIP-seq quality control workflow\n- ChIP-seq complete analysis workflow\n- RNA-seq coverage workflow\n- ATAC-seq analysis workflow\n- Multi-sample comparison workflow\n- Peak region analysis workflow\n- Troubleshooting and performance tips\n\n**Use this reference when:** Users need complete analysis pipelines or workflow examples.\n\n### references\u002Fnormalization_methods.md\nComprehensive guide to normalization methods:\n- Detailed explanation of each method (RPGC, CPM, RPKM, BPM, etc.)\n- When to use each method\n- Formulas and interpretation\n- Selection guide by experiment type\n- Common pitfalls and solutions\n- Quick reference table\n\n**Use this reference when:** Users ask about normalization, comparing samples, or which method to use.\n\n### references\u002Feffective_genome_sizes.md\nEffective genome size values and usage:\n- Common organism values (human, mouse, fly, worm, zebrafish)\n- Read-length-specific values\n- Calculation methods\n- When and how to use in commands\n- Custom genome calculation instructions\n\n**Use this reference when:** Users need genome size for RPGC normalization or GC bias correction.\n\n## Helper Scripts\n\n### scripts\u002Fvalidate_files.py\n\nValidates BAM, bigWig, and BED files for deepTools analysis. Checks file existence, indices, and format.\n\n**Usage:**\n```bash\npython scripts\u002Fvalidate_files.py --bam sample1.bam sample2.bam \\\n    --bed peaks.bed --bigwig signal.bw\n```\n\n**When to use:** Before starting any analysis, or when troubleshooting errors.\n\n### scripts\u002Fworkflow_generator.py\n\nGenerates customizable bash script templates for common deepTools workflows.\n\n**Available workflows:**\n- `chipseq_qc`: ChIP-seq quality control\n- `chipseq_analysis`: Complete ChIP-seq analysis\n- `rnaseq_coverage`: Strand-specific RNA-seq coverage\n- `atacseq`: ATAC-seq with Tn5 correction\n\n**Usage:**\n```bash\n# List workflows\npython scripts\u002Fworkflow_generator.py --list\n\n# Generate workflow\npython scripts\u002Fworkflow_generator.py chipseq_qc -o qc.sh \\\n    --input-bam Input.bam --chip-bams \"ChIP1.bam ChIP2.bam\" \\\n    --genome-size 2913022398 --threads 8\n\n# Run generated workflow\nchmod +x qc.sh\n.\u002Fqc.sh\n```\n\n**When to use:** Users request standard workflows or need template scripts to customize.\n\n## Assets\n\n### assets\u002Fquick_reference.md\n\nQuick reference card with most common commands, effective genome sizes, and typical workflow pattern.\n\n**When to use:** Users need quick command examples without detailed documentation.\n\n## Handling User Requests\n\n### For New Users\n\n1. Start with installation verification\n2. Validate input files using `scripts\u002Fvalidate_files.py`\n3. Recommend appropriate workflow based on experiment type\n4. Generate workflow template using `scripts\u002Fworkflow_generator.py`\n5. Guide through customization and execution\n\n### For Experienced Users\n\n1. Provide specific tool commands for requested operations\n2. Reference appropriate sections in `references\u002Ftools_reference.md`\n3. Suggest optimizations and best practices\n4. Offer troubleshooting for issues\n\n### For Specific Tasks\n\n**\"Convert BAM to bigWig\":**\n- Use bamCoverage with appropriate normalization\n- Recommend RPGC or CPM based on use case\n- Provide effective genome size for organism\n- Suggest relevant parameters (extendReads, ignoreDuplicates, binSize)\n\n**\"Check ChIP quality\":**\n- Run full QC workflow or use plotFingerprint specifically\n- Explain interpretation of results\n- Suggest follow-up actions based on results\n\n**\"Create heatmap\":**\n- Guide through two-step process: computeMatrix → plotHeatmap\n- Help choose appropriate matrix mode (reference-point vs scale-regions)\n- Suggest visualization parameters and clustering options\n\n**\"Compare samples\":**\n- Recommend bamCompare for two-sample comparison\n- Suggest multiBamSummary + plotCorrelation for multiple samples\n- Guide normalization method selection\n\n### Referencing Documentation\n\nWhen users need detailed information:\n- **Tool details**: Direct to specific sections in `references\u002Ftools_reference.md`\n- **Workflows**: Use `references\u002Fworkflows.md` for complete analysis pipelines\n- **Normalization**: Consult `references\u002Fnormalization_methods.md` for method selection\n- **Genome sizes**: Reference `references\u002Feffective_genome_sizes.md`\n\nSearch references using grep patterns:\n```bash\n# Find tool documentation\ngrep -A 20 \"^### toolname\" references\u002Ftools_reference.md\n\n# Find workflow\ngrep -A 50 \"^## Workflow Name\" references\u002Fworkflows.md\n\n# Find normalization method\ngrep -A 15 \"^### Method Name\" references\u002Fnormalization_methods.md\n```\n\n## Example Interactions\n\n**User: \"I need to analyze my ChIP-seq data\"**\n\nResponse approach:\n1. Ask about files available (BAM files, peaks, genes)\n2. Validate files using validation script\n3. Generate chipseq_analysis workflow template\n4. Customize for their specific files and organism\n5. Explain each step as script runs\n\n**User: \"Which normalization should I use?\"**\n\nResponse approach:\n1. Ask about experiment type (ChIP-seq, RNA-seq, etc.)\n2. Ask about comparison goal (within-sample or between-sample)\n3. Consult `references\u002Fnormalization_methods.md` selection guide\n4. Recommend appropriate method with justification\n5. Provide command example with parameters\n\n**User: \"Create a heatmap around TSS\"**\n\nResponse approach:\n1. Verify bigWig and gene BED files available\n2. Use computeMatrix with reference-point mode at TSS\n3. Generate plotHeatmap with appropriate visualization parameters\n4. Suggest clustering if dataset is large\n5. Offer profile plot as complement\n\n## Key Reminders\n\n- **File validation first**: Always validate input files before analysis\n- **Normalization matters**: Choose appropriate method for comparison type\n- **Extend reads carefully**: YES for ChIP-seq, NO for RNA-seq\n- **Use all cores**: Set `--numberOfProcessors` to available cores\n- **Test on regions**: Use `--region` for parameter testing\n- **Check QC first**: Run quality control before detailed analysis\n- **Document everything**: Save commands for reproducibility\n- **Reference documentation**: Use comprehensive references for detailed guidance\n","# deepTools: NGS Data Analysis Toolkit\n\n## Overview\n\ndeepTools is a comprehensive suite of Python command-line tools designed for processing and analyzing high-throughput sequencing data. Use deepTools to perform quality control, normalize data, compare samples, and generate publication-quality visualizations for ChIP-seq, RNA-seq, ATAC-seq, MNase-seq, and other NGS experiments.\n\n**Core capabilities:**\n- Convert BAM alignments to normalized coverage tracks (bigWig\u002FbedGraph)\n- Quality control assessment (fingerprint, correlation, coverage)\n- Sample comparison and correlation analysis\n- Heatmap and profile plot generation around genomic features\n- Enrichment analysis and peak region visualization\n\n## When to Use This Skill\n\nThis skill should be used when:\n\n- **File conversion**: \"Convert BAM to bigWig\", \"generate coverage tracks\", \"normalize ChIP-seq data\"\n- **Quality control**: \"check ChIP quality\", \"compare replicates\", \"assess sequencing depth\", \"QC analysis\"\n- **Visualization**: \"create heatmap around TSS\", \"plot ChIP signal\", \"visualize enrichment\", \"generate profile plot\"\n- **Sample comparison**: \"compare treatment vs control\", \"correlate samples\", \"PCA analysis\"\n- **Analysis workflows**: \"analyze ChIP-seq data\", \"RNA-seq coverage\", \"ATAC-seq analysis\", \"complete workflow\"\n- **Working with specific file types**: BAM files, bigWig files, BED region files in genomics context\n\n## Quick Start\n\nFor users new to deepTools, start with file validation and common workflows:\n\n### 1. Validate Input Files\n\nBefore running any analysis, validate BAM, bigWig, and BED files using the validation script:\n\n```bash\npython scripts\u002Fvalidate_files.py --bam sample1.bam sample2.bam --bed regions.bed\n```\n\nThis checks file existence, BAM indices, and format correctness.\n\n### 2. Generate Workflow Template\n\nFor standard analyses, use the workflow generator to create customized scripts:\n\n```bash\n# List available workflows\npython scripts\u002Fworkflow_generator.py --list\n\n# Generate ChIP-seq QC workflow\npython scripts\u002Fworkflow_generator.py chipseq_qc -o qc_workflow.sh \\\n    --input-bam Input.bam --chip-bams \"ChIP1.bam ChIP2.bam\" \\\n    --genome-size 2913022398\n\n# Make executable and run\nchmod +x qc_workflow.sh\n.\u002Fqc_workflow.sh\n```\n\n### 3. Most Common Operations\n\nSee `assets\u002Fquick_reference.md` for frequently used commands and parameters.\n\n## Installation\n\n```bash\nuv pip install deeptools\n```\n\n## Core Workflows\n\ndeepTools workflows typically follow this pattern: **QC → Normalization → Comparison\u002FVisualization**\n\n### ChIP-seq Quality Control Workflow\n\nWhen users request ChIP-seq QC or quality assessment:\n\n1. **Generate workflow script** using `scripts\u002Fworkflow_generator.py chipseq_qc`\n2. **Key QC steps**:\n   - Sample correlation (multiBamSummary + plotCorrelation)\n   - PCA analysis (plotPCA)\n   - Coverage assessment (plotCoverage)\n   - Fragment size validation (bamPEFragmentSize)\n   - ChIP enrichment strength (plotFingerprint)\n\n**Interpreting results:**\n- **Correlation**: Replicates should cluster together with high correlation (>0.9)\n- **Fingerprint**: Strong ChIP shows steep rise; flat diagonal indicates poor enrichment\n- **Coverage**: Assess if sequencing depth is adequate for analysis\n\nFull workflow details in `references\u002Fworkflows.md` → \"ChIP-seq Quality Control Workflow\"\n\n### ChIP-seq Complete Analysis Workflow\n\nFor full ChIP-seq analysis from BAM to visualizations:\n\n1. **Generate coverage tracks** with normalization (bamCoverage)\n2. **Create comparison tracks** (bamCompare for log2 ratio)\n3. **Compute signal matrices** around features (computeMatrix)\n4. **Generate visualizations** (plotHeatmap, plotProfile)\n5. **Enrichment analysis** at peaks (plotEnrichment)\n\nUse `scripts\u002Fworkflow_generator.py chipseq_analysis` to generate template.\n\nComplete command sequences in `references\u002Fworkflows.md` → \"ChIP-seq Analysis Workflow\"\n\n### RNA-seq Coverage Workflow\n\nFor strand-specific RNA-seq coverage tracks:\n\nUse bamCoverage with `--filterRNAstrand` to separate forward and reverse strands.\n\n**Important:** NEVER use `--extendReads` for RNA-seq (would extend over splice junctions).\n\nUse normalization: CPM for fixed bins, RPKM for gene-level analysis.\n\nTemplate available: `scripts\u002Fworkflow_generator.py rnaseq_coverage`\n\nDetails in `references\u002Fworkflows.md` → \"RNA-seq Coverage Workflow\"\n\n### ATAC-seq Analysis Workflow\n\nATAC-seq requires Tn5 offset correction:\n\n1. **Shift reads** using alignmentSieve with `--ATACshift`\n2. **Generate coverage** with bamCoverage\n3. **Analyze fragment sizes** (expect nucleosome ladder pattern)\n4. **Visualize at peaks** if available\n\nTemplate: `scripts\u002Fworkflow_generator.py atacseq`\n\nFull workflow in `references\u002Fworkflows.md` → \"ATAC-seq Workflow\"\n\n## Tool Categories and Common Tasks\n\n### BAM\u002FbigWig Processing\n\n**Convert BAM to normalized coverage:**\n```bash\nbamCoverage --bam input.bam --outFileName output.bw \\\n    --normalizeUsing RPGC --effectiveGenomeSize 2913022398 \\\n    --binSize 10 --numberOfProcessors 8\n```\n\n**Compare two samples (log2 ratio):**\n```bash\nbamCompare -b1 treatment.bam -b2 control.bam -o ratio.bw \\\n    --operation log2 --scaleFactorsMethod readCount\n```\n\n**Key tools:** bamCoverage, bamCompare, multiBamSummary, multiBigwigSummary, correctGCBias, alignmentSieve\n\nComplete reference: `references\u002Ftools_reference.md` → \"BAM and bigWig File Processing Tools\"\n\n### Quality Control\n\n**Check ChIP enrichment:**\n```bash\nplotFingerprint -b input.bam chip.bam -o fingerprint.png \\\n    --extendReads 200 --ignoreDuplicates\n```\n\n**Sample correlation:**\n```bash\nmultiBamSummary bins --bamfiles *.bam -o counts.npz\nplotCorrelation -in counts.npz --corMethod pearson \\\n    --whatToShow heatmap -o correlation.png\n```\n\n**Key tools:** plotFingerprint, plotCoverage, plotCorrelation, plotPCA, bamPEFragmentSize\n\nComplete reference: `references\u002Ftools_reference.md` → \"Quality Control Tools\"\n\n### Visualization\n\n**Create heatmap around TSS:**\n```bash\n# Compute matrix\ncomputeMatrix reference-point -S signal.bw -R genes.bed \\\n    -b 3000 -a 3000 --referencePoint TSS -o matrix.gz\n\n# Generate heatmap\nplotHeatmap -m matrix.gz -o heatmap.png \\\n    --colorMap RdBu --kmeans 3\n```\n\n**Create profile plot:**\n```bash\nplotProfile -m matrix.gz -o profile.png \\\n    --plotType lines --colors blue red\n```\n\n**Key tools:** computeMatrix, plotHeatmap, plotProfile, plotEnrichment\n\nComplete reference: `references\u002Ftools_reference.md` → \"Visualization Tools\"\n\n## Normalization Methods\n\nChoosing the correct normalization is critical for valid comparisons. Consult `references\u002Fnormalization_methods.md` for comprehensive guidance.\n\n**Quick selection guide:**\n\n- **ChIP-seq coverage**: Use RPGC or CPM\n- **ChIP-seq comparison**: Use bamCompare with log2 and readCount\n- **RNA-seq bins**: Use CPM\n- **RNA-seq genes**: Use RPKM (accounts for gene length)\n- **ATAC-seq**: Use RPGC or CPM\n\n**Normalization methods:**\n- **RPGC**: 1× genome coverage (requires --effectiveGenomeSize)\n- **CPM**: Counts per million mapped reads\n- **RPKM**: Reads per kb per million (accounts for region length)\n- **BPM**: Bins per million\n- **None**: Raw counts (not recommended for comparisons)\n\nFull explanation: `references\u002Fnormalization_methods.md`\n\n## Effective Genome Sizes\n\nRPGC normalization requires effective genome size. Common values:\n\n| Organism | Assembly | Size | Usage |\n|----------|----------|------|-------|\n| Human | GRCh38\u002Fhg38 | 2,913,022,398 | `--effectiveGenomeSize 2913022398` |\n| Mouse | GRCm38\u002Fmm10 | 2,652,783,500 | `--effectiveGenomeSize 2652783500` |\n| Zebrafish | GRCz11 | 1,368,780,147 | `--effectiveGenomeSize 1368780147` |\n| *Drosophila* | dm6 | 142,573,017 | `--effectiveGenomeSize 142573017` |\n| *C. elegans* | ce10\u002Fce11 | 100,286,401 | `--effectiveGenomeSize 100286401` |\n\nComplete table with read-length-specific values: `references\u002Feffective_genome_sizes.md`\n\n## Common Parameters Across Tools\n\nMany deepTools commands share these options:\n\n**Performance:**\n- `--numberOfProcessors, -p`: Enable parallel processing (always use available cores)\n- `--region`: Process specific regions for testing (e.g., `chr1:1-1000000`)\n\n**Read Filtering:**\n- `--ignoreDuplicates`: Remove PCR duplicates (recommended for most analyses)\n- `--minMappingQuality`: Filter by alignment quality (e.g., `--minMappingQuality 10`)\n- `--minFragmentLength` \u002F `--maxFragmentLength`: Fragment length bounds\n- `--samFlagInclude` \u002F `--samFlagExclude`: SAM flag filtering\n\n**Read Processing:**\n- `--extendReads`: Extend to fragment length (ChIP-seq: YES, RNA-seq: NO)\n- `--centerReads`: Center at fragment midpoint for sharper signals\n\n## Best Practices\n\n### File Validation\n**Always validate files first** using `scripts\u002Fvalidate_files.py` to check:\n- File existence and readability\n- BAM indices present (.bai files)\n- BED format correctness\n- File sizes reasonable\n\n### Analysis Strategy\n\n1. **Start with QC**: Run correlation, coverage, and fingerprint analysis before proceeding\n2. **Test on small regions**: Use `--region chr1:1-10000000` for parameter testing\n3. **Document commands**: Save full command lines for reproducibility\n4. **Use consistent normalization**: Apply same method across samples in comparisons\n5. **Verify genome assembly**: Ensure BAM and BED files use matching genome builds\n\n### ChIP-seq Specific\n\n- **Always extend reads** for ChIP-seq: `--extendReads 200`\n- **Remove duplicates**: Use `--ignoreDuplicates` in most cases\n- **Check enrichment first**: Run plotFingerprint before detailed analysis\n- **GC correction**: Only apply if significant bias detected; never use `--ignoreDuplicates` after GC correction\n\n### RNA-seq Specific\n\n- **Never extend reads** for RNA-seq (would span splice junctions)\n- **Strand-specific**: Use `--filterRNAstrand forward\u002Freverse` for stranded libraries\n- **Normalization**: CPM for bins, RPKM for genes\n\n### ATAC-seq Specific\n\n- **Apply Tn5 correction**: Use alignmentSieve with `--ATACshift`\n- **Fragment filtering**: Set appropriate min\u002Fmax fragment lengths\n- **Check nucleosome pattern**: Fragment size plot should show ladder pattern\n\n### Performance Optimization\n\n1. **Use multiple processors**: `--numberOfProcessors 8` (or available cores)\n2. **Increase bin size** for faster processing and smaller files\n3. **Process chromosomes separately** for memory-limited systems\n4. **Pre-filter BAM files** using alignmentSieve to create reusable filtered files\n5. **Use bigWig over bedGraph**: Compressed and faster to process\n\n## Troubleshooting\n\n### Common Issues\n\n**BAM index missing:**\n```bash\nsamtools index input.bam\n```\n\n**Out of memory:**\nProcess chromosomes individually using `--region`:\n```bash\nbamCoverage --bam input.bam -o chr1.bw --region chr1\n```\n\n**Slow processing:**\nIncrease `--numberOfProcessors` and\u002For increase `--binSize`\n\n**bigWig files too large:**\nIncrease bin size: `--binSize 50` or larger\n\n### Validation Errors\n\nRun validation script to identify issues:\n```bash\npython scripts\u002Fvalidate_files.py --bam *.bam --bed regions.bed\n```\n\nCommon errors and solutions explained in script output.\n\n## Reference Documentation\n\nThis skill includes comprehensive reference documentation:\n\n### references\u002Ftools_reference.md\nComplete documentation of all deepTools commands organized by category:\n- BAM and bigWig processing tools (9 tools)\n- Quality control tools (6 tools)\n- Visualization tools (3 tools)\n- Miscellaneous tools (2 tools)\n\nEach tool includes:\n- Purpose and overview\n- Key parameters with explanations\n- Usage examples\n- Important notes and best practices\n\n**Use this reference when:** Users ask about specific tools, parameters, or detailed usage.\n\n### references\u002Fworkflows.md\nComplete workflow examples for common analyses:\n- ChIP-seq quality control workflow\n- ChIP-seq complete analysis workflow\n- RNA-seq coverage workflow\n- ATAC-seq analysis workflow\n- Multi-sample comparison workflow\n- Peak region analysis workflow\n- Troubleshooting and performance tips\n\n**Use this reference when:** Users need complete analysis pipelines or workflow examples.\n\n### references\u002Fnormalization_methods.md\nComprehensive guide to normalization methods:\n- Detailed explanation of each method (RPGC, CPM, RPKM, BPM, etc.)\n- When to use each method\n- Formulas and interpretation\n- Selection guide by experiment type\n- Common pitfalls and solutions\n- Quick reference table\n\n**Use this reference when:** Users ask about normalization, comparing samples, or which method to use.\n\n### references\u002Feffective_genome_sizes.md\nEffective genome size values and usage:\n- Common organism values (human, mouse, fly, worm, zebrafish)\n- Read-length-specific values\n- Calculation methods\n- When and how to use in commands\n- Custom genome calculation instructions\n\n**Use this reference when:** Users need genome size for RPGC normalization or GC bias correction.\n\n## Helper Scripts\n\n### scripts\u002Fvalidate_files.py\n\nValidates BAM, bigWig, and BED files for deepTools analysis. Checks file existence, indices, and format.\n\n**Usage:**\n```bash\npython scripts\u002Fvalidate_files.py --bam sample1.bam sample2.bam \\\n    --bed peaks.bed --bigwig signal.bw\n```\n\n**When to use:** Before starting any analysis, or when troubleshooting errors.\n\n### scripts\u002Fworkflow_generator.py\n\nGenerates customizable bash script templates for common deepTools workflows.\n\n**Available workflows:**\n- `chipseq_qc`: ChIP-seq quality control\n- `chipseq_analysis`: Complete ChIP-seq analysis\n- `rnaseq_coverage`: Strand-specific RNA-seq coverage\n- `atacseq`: ATAC-seq with Tn5 correction\n\n**Usage:**\n```bash\n# List workflows\npython scripts\u002Fworkflow_generator.py --list\n\n# Generate workflow\npython scripts\u002Fworkflow_generator.py chipseq_qc -o qc.sh \\\n    --input-bam Input.bam --chip-bams \"ChIP1.bam ChIP2.bam\" \\\n    --genome-size 2913022398 --threads 8\n\n# Run generated workflow\nchmod +x qc.sh\n.\u002Fqc.sh\n```\n\n**When to use:** Users request standard workflows or need template scripts to customize.\n\n## Assets\n\n### assets\u002Fquick_reference.md\n\nQuick reference card with most common commands, effective genome sizes, and typical workflow pattern.\n\n**When to use:** Users need quick command examples without detailed documentation.\n\n## Handling User Requests\n\n### For New Users\n\n1. Start with installation verification\n2. Validate input files using `scripts\u002Fvalidate_files.py`\n3. Recommend appropriate workflow based on experiment type\n4. Generate workflow template using `scripts\u002Fworkflow_generator.py`\n5. Guide through customization and execution\n\n### For Experienced Users\n\n1. Provide specific tool commands for requested operations\n2. Reference appropriate sections in `references\u002Ftools_reference.md`\n3. Suggest optimizations and best practices\n4. Offer troubleshooting for issues\n\n### For Specific Tasks\n\n**\"Convert BAM to bigWig\":**\n- Use bamCoverage with appropriate normalization\n- Recommend RPGC or CPM based on use case\n- Provide effective genome size for organism\n- Suggest relevant parameters (extendReads, ignoreDuplicates, binSize)\n\n**\"Check ChIP quality\":**\n- Run full QC workflow or use plotFingerprint specifically\n- Explain interpretation of results\n- Suggest follow-up actions based on results\n\n**\"Create heatmap\":**\n- Guide through two-step process: computeMatrix → plotHeatmap\n- Help choose appropriate matrix mode (reference-point vs scale-regions)\n- Suggest visualization parameters and clustering options\n\n**\"Compare samples\":**\n- Recommend bamCompare for two-sample comparison\n- Suggest multiBamSummary + plotCorrelation for multiple samples\n- Guide normalization method selection\n\n### Referencing Documentation\n\nWhen users need detailed information:\n- **Tool details**: Direct to specific sections in `references\u002Ftools_reference.md`\n- **Workflows**: Use `references\u002Fworkflows.md` for complete analysis pipelines\n- **Normalization**: Consult `references\u002Fnormalization_methods.md` for method selection\n- **Genome sizes**: Reference `references\u002Feffective_genome_sizes.md`\n\nSearch references using grep patterns:\n```bash\n# Find tool documentation\ngrep -A 20 \"^### toolname\" references\u002Ftools_reference.md\n\n# Find workflow\ngrep -A 50 \"^## Workflow Name\" references\u002Fworkflows.md\n\n# Find normalization method\ngrep -A 15 \"^### Method Name\" references\u002Fnormalization_methods.md\n```\n\n## Example Interactions\n\n**User: \"I need to analyze my ChIP-seq data\"**\n\nResponse approach:\n1. Ask about files available (BAM files, peaks, genes)\n2. Validate files using validation script\n3. Generate chipseq_analysis workflow template\n4. Customize for their specific files and organism\n5. Explain each step as script runs\n\n**User: \"Which normalization should I use?\"**\n\nResponse approach:\n1. Ask about experiment type (ChIP-seq, RNA-seq, etc.)\n2. Ask about comparison goal (within-sample or between-sample)\n3. Consult `references\u002Fnormalization_methods.md` selection guide\n4. Recommend appropriate method with justification\n5. Provide command example with parameters\n\n**User: \"Create a heatmap around TSS\"**\n\nResponse approach:\n1. Verify bigWig and gene BED files available\n2. Use computeMatrix with reference-point mode at TSS\n3. Generate plotHeatmap with appropriate visualization parameters\n4. Suggest clustering if dataset is large\n5. Offer profile plot as complement\n\n## Key Reminders\n\n- **File validation first**: Always validate input files before analysis\n- **Normalization matters**: Choose appropriate method for comparison type\n- **Extend reads carefully**: YES for ChIP-seq, NO for RNA-seq\n- **Use all cores**: Set `--numberOfProcessors` to available cores\n- **Test on regions**: Use `--region` for parameter testing\n- **Check QC first**: Run quality control before detailed analysis\n- **Document everything**: Save commands for reproducibility\n- **Reference documentation**: Use comprehensive references for detailed guidance\n",{"name":5,"description":7},"main","2b749c82b5d11fac39d9a6e021ce3f5b8a541bd1","cli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdeeptools",3963,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates","https:\u002F\u002Faitmpl.com","https:\u002F\u002Fgithub.com\u002Fdavila7","https:\u002F\u002Fdanielavila.me","Building AI dev tools with LLMs","2026-11-15 01:32:48",{"source":9,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add davila7\u002Fclaude-code-templates --skill deeptools",{"tool":71,"command":72},"bunx","bunx skills add davila7\u002Fclaude-code-templates --skill deeptools",{"tool":74,"command":75},"pnpm","pnpm dlx skills add davila7\u002Fclaude-code-templates --skill deeptools","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdeeptools\u002FSKILL.md",true,[79,85,91,95,99,103,109],{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"assets\u002Fquick_reference.md","ASSET","资产文件",1520,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdeeptools\u002Fassets\u002Fquick_reference.md",{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Feffective_genome_sizes.md","REFERENCE","参考文档",3677,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdeeptools\u002Freferences\u002Feffective_genome_sizes.md",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fnormalization_methods.md",11082,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdeeptools\u002Freferences\u002Fnormalization_methods.md",{"path":96,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Ftools_reference.md",18891,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdeeptools\u002Freferences\u002Ftools_reference.md",{"path":100,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fworkflows.md",10963,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdeeptools\u002Freferences\u002Fworkflows.md",{"path":104,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":107,"sourceHtmlUrl":108},"scripts\u002Fvalidate_files.py","SCRIPT","脚本",6039,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdeeptools\u002Fscripts\u002Fvalidate_files.py",{"path":110,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":111,"sourceHtmlUrl":112},"scripts\u002Fworkflow_generator.py",14130,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Fdeeptools\u002Fscripts\u002Fworkflow_generator.py",[114,140,166,190,230,257],{"skillNo":115,"name":116,"nameZh":17,"description":117,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":50},"01M70NHBTQ8BV0A2SCAZXEPHCX","wealthville-pool-scoring","Score DeFi liquidity pools before providing liquidity. Returns a 0-100 pool score and an Enter\u002FHold\u002FExit\u002FReduce\u002FAvoid verdict with calibrated confidence for ~68,800 Solana pools and 575 EVM pools, plus a public miss-inclusive track record. Use when asked whether a pool is worth LPing into, which pools look best right now, or how accurate the scores have actually been.","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fweb-data\u002Fwealthville-pool-scoring\u002FSKILL.md",[],[121,122,123,124,125,34,126,127,128,129,130,131,132,133,134,135,136,137,138,139],"scoring","pool","wealthville pool scoring","liquidity","which","exit","now","use","when","reduce","with","record","track","verdict","evm","solana","how","public","look",{"skillNo":141,"name":142,"nameZh":17,"description":143,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":50},"01M70MB6VR8ERJ4EM8D5KHBMEV","technical-debt-auditor","Scans a codebase and produces a quantified technical debt report with a prioritized remediation plan. Analyzes dead code, TODO\u002FFIXME\u002FHACK markers, dependency staleness, complexity hotspots, code duplication signals, test coverage gaps, unused exports, and outdated patterns. Use this skill when the user asks to audit their codebase for tech debt, wants a health check of their code quality, says things like \"where should I focus refactoring\", \"find code smells\", \"audit my codebase\", \"what technical debt do we have\", \"prioritize cleanup work\", or asks about code quality metrics. Also trigger when the user mentions \"code rot\", \"legacy cleanup\", \"refactoring priorities\", or wants to understand the overall health of a project before a major effort. Trigger even if the user doesn't say \"technical debt\" explicitly — any request to systematically assess code quality and identify improvement priorities belongs here.","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdevelopment\u002Ftechnical-debt-auditor\u002FSKILL.md",[],[147,148,149,150,151,152,153,154,155,156,157,129,158,159,160,161,162,163,164,165],"technical debt","debt","technical","technical debt auditor","auditor","coverage","complexity","markers","project","cleanup","unused","code","todo","work","plan","focus","signals","audit","dependency",{"skillNo":167,"name":168,"nameZh":17,"description":169,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":50},"01M70KPYH9QNHCNME5GJQGE22K","readonly-sql-guard","Make an agent's database access provably read-only. Use when an agent runs caller-supplied SQL against a production\u002FERP\u002Fanalytics database (a \"query\" MCP tool, text-to-SQL, an admin console), or when reviewing DB-access code for write\u002FDDL\u002Fside-effect\u002Ftransaction-escape risks. Checks what a statement CALLS, not just its shape.","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fdatabase\u002Freadonly-sql-guard\u002FSKILL.md",[],[173,174,175,176,177,178,179,34,180,181,182,183,184,185,186,128,187,188,129,189],"readonly","guard","sql guard","sql","readonly sql guard","erp","effect","read-only","db","just","tool","calls","only","MCP","access","database","query",{"skillNo":191,"name":192,"nameZh":193,"description":194,"descriptionZh":195,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":196,"licenseFileUrl":197,"sourceHtmlUrl":198,"categories":199,"keywords":206,"publishedAt":50},"01M6AFY6F7CC2BBZP1QD6VTNVC","web-artifacts-builder","Claude 网页 Artifact 构建","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","用于创建精细的、多组件的 claude.ai HTML artifact 的工具套件，采用现代前端 Web 技术（React、Tailwind CSS、shadcn\u002Fui）。适用于需要状态管理、路由或 shadcn\u002Fui 组件的复杂 artifact —— 不适用于简单的单文件 HTML\u002FJSX artifact。","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Futilities\u002Fweb-artifacts-builder\u002FSKILL.md",[200,203],{"categoryNo":201,"categoryName":202,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":204,"categoryName":205,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,34,229],"artifacts builder","web","web artifacts builder","artifacts","builder","state","routing","state management","component","css","frontend","ui","Tools","file","components","shadcn","react","Tailwind","suite","jsx","html","single-file","ui components",{"skillNo":231,"name":232,"nameZh":233,"description":234,"descriptionZh":235,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":196,"licenseFileUrl":236,"sourceHtmlUrl":237,"categories":238,"keywords":245,"publishedAt":50},"01M6AFWF33SFV9Z3SF4PEEE4BF","webapp-testing","Playwright Web 应用测试","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","使用 Playwright 与本地 Web 应用进行交互和测试的工具包。支持验证前端功能、调试 UI 行为、捕获浏览器截图以及查看浏览器日志。","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fsecurity\u002Fwebapp-testing\u002FSKILL.md",[239,242],{"categoryNo":240,"categoryName":241,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":243,"categoryName":244,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[246,247,248,249,250,208,251,217,218,252,41,253,254,34,255,131,256],"webapp testing","testing","webapp","browser","playwright","applications","debugging","logs","screenshots","local","behavior",{"skillNo":258,"name":259,"nameZh":260,"description":261,"descriptionZh":262,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":196,"licenseFileUrl":263,"sourceHtmlUrl":264,"categories":265,"keywords":272,"publishedAt":50},"01M6AF67Q67JJJ5V51JR2P52KA","discernment-nudge","回复事实核查追问","After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals, or emails, estimates or projections, analysis or interpretation of data, factual claims they may rely on, or a multi-step argument — invoke this skill BEFORE finalizing your reply and then, if it applies, append 2-3 short follow-up questions, each tied to something specific in what you just produced, that help the user check key facts, probe the reasoning or assumptions, and notice missing context. Do this at most once per conversation. Skip it when the user asked a trivial how-to or simple lookup, wants a purely educational explanation, asked you only to format, convert, or assemble a file from content they provided, is writing code they will run, is doing creative writing or casual chat, or already asked you to double-check, cite, or review — the skill file explains these boundaries and the exact output format.","在你给出用户可能据以行动的实质性答案或草稿之后——建议或推荐、起草的工件（如目标、计划、推介、提案或电子邮件）、估计或预测、数据分析或解读、他们可能依赖的事实声明，或多步骤论证——在最终确定回复之前调用本技能，然后，如适用，附加 2-3 个简短的后续问题，每个问题都与你刚刚产出的具体内容相关，帮助用户核查关键事实、探究推理或假设，并注意到缺失的上下文。每次对话最多执行一次。当用户询问琐碎的操作方法或简单查找、想要纯教育性解释、仅要求根据提供的内容格式化\u002F转换\u002F组装文件、正在编写将要运行的代码、正在进行创意写作或休闲聊天，或已经要求你复核、引用或审查时跳过——技能文件解释了这些边界和确切的输出格式。","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fdiscernment-nudge\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fproductivity\u002Fdiscernment-nudge\u002FSKILL.md",[266,269],{"categoryNo":267,"categoryName":268,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TMSBZZX4V1THHNVC815","回答复核",{"categoryNo":270,"categoryName":271,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BS5011KJDVSRXG1DC4P666","普通用户",[273,274,275,276,277,278,279,280,210,281,220,158,282,283,284,285,286,185,287,129,288,47,289,290,291,137,292],"discernment nudge","nudge","interpretation","help","run","reasoning","data","writing","lookup","content","review","conversation","short","up","invoke","you","claims","argument","assemble","recommendations"]