[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AFA1Z3M2387C05FNR9X7E2":3,"skill-same:01M6AFA1Z3M2387C05FNR9X7E2":83},{"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":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":58,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6AFA1Z3M2387C05FNR9X7E2","alphafold-database","AlphaFold 蛋白质结构数据库","Access AlphaFold's 200M+ AI-predicted protein structures. Retrieve structures by UniProt ID, download PDB\u002FmmCIF files, analyze confidence metrics (pLDDT, PAE), for drug discovery and structural biology.","访问 AlphaFold 收录的 2 亿多个 AI 预测蛋白质结构。可按 UniProt ID 检索结构、下载 PDB\u002FmmCIF 文件、分析置信度指标（pLDDT、PAE），用于药物发现和结构生物学研究。","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\u002Falphafold-database\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C0XWCTYDSDXV6SRSQ6FJA6","生物医学研究员","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C6FB083QNRTWP05RED8MYN","生物医学靶点研究","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"alphafold database","alphafold","database","structural biology","Protein","for","biology","pdb","drug discovery","id","structural","files","analyze","download","access","discovery","metrics","2026-11-10 10:12:30",false,"---\nname: alphafold-database\ndescription: \"Access AlphaFold's 200M+ AI-predicted protein structures. Retrieve structures by UniProt ID, download PDB\u002FmmCIF files, analyze confidence metrics (pLDDT, PAE), for drug discovery and structural biology.\"\n---\n\n# AlphaFold Database\n\n## Overview\n\nAlphaFold DB is a public repository of AI-predicted 3D protein structures for over 200 million proteins, maintained by DeepMind and EMBL-EBI. Access structure predictions with confidence metrics, download coordinate files, retrieve bulk datasets, and integrate predictions into computational workflows.\n\n## When to Use This Skill\n\nThis skill should be used when working with AI-predicted protein structures in scenarios such as:\n\n- Retrieving protein structure predictions by UniProt ID or protein name\n- Downloading PDB\u002FmmCIF coordinate files for structural analysis\n- Analyzing prediction confidence metrics (pLDDT, PAE) to assess reliability\n- Accessing bulk proteome datasets via Google Cloud Platform\n- Comparing predicted structures with experimental data\n- Performing structure-based drug discovery or protein engineering\n- Building structural models for proteins lacking experimental structures\n- Integrating AlphaFold predictions into computational pipelines\n\n## Core Capabilities\n\n### 1. Searching and Retrieving Predictions\n\n**Using Biopython (Recommended):**\n\nThe Biopython library provides the simplest interface for retrieving AlphaFold structures:\n\n```python\nfrom Bio.PDB import alphafold_db\n\n# Get all predictions for a UniProt accession\npredictions = list(alphafold_db.get_predictions(\"P00520\"))\n\n# Download structure file (mmCIF format)\nfor prediction in predictions:\n    cif_file = alphafold_db.download_cif_for(prediction, directory=\".\u002Fstructures\")\n    print(f\"Downloaded: {cif_file}\")\n\n# Get Structure objects directly\nfrom Bio.PDB import MMCIFParser\nstructures = list(alphafold_db.get_structural_models_for(\"P00520\"))\n```\n\n**Direct API Access:**\n\nQuery predictions using REST endpoints:\n\n```python\nimport requests\n\n# Get prediction metadata for a UniProt accession\nuniprot_id = \"P00520\"\napi_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Fapi\u002Fprediction\u002F{uniprot_id}\"\nresponse = requests.get(api_url)\nprediction_data = response.json()\n\n# Extract AlphaFold ID\nalphafold_id = prediction_data[0]['entryId']\nprint(f\"AlphaFold ID: {alphafold_id}\")\n```\n\n**Using UniProt to Find Accessions:**\n\nSearch UniProt to find protein accessions first:\n\n```python\nimport urllib.parse, urllib.request\n\ndef get_uniprot_ids(query, query_type='PDB_ID'):\n    \"\"\"Query UniProt to get accession IDs\"\"\"\n    url = 'https:\u002F\u002Fwww.uniprot.org\u002Fuploadlists\u002F'\n    params = {\n        'from': query_type,\n        'to': 'ACC',\n        'format': 'txt',\n        'query': query\n    }\n    data = urllib.parse.urlencode(params).encode('ascii')\n    with urllib.request.urlopen(urllib.request.Request(url, data)) as response:\n        return response.read().decode('utf-8').splitlines()\n\n# Example: Find UniProt IDs for a protein name\nprotein_ids = get_uniprot_ids(\"hemoglobin\", query_type=\"GENE_NAME\")\n```\n\n### 2. Downloading Structure Files\n\nAlphaFold provides multiple file formats for each prediction:\n\n**File Types Available:**\n\n- **Model coordinates** (`model_v4.cif`): Atomic coordinates in mmCIF\u002FPDBx format\n- **Confidence scores** (`confidence_v4.json`): Per-residue pLDDT scores (0-100)\n- **Predicted Aligned Error** (`predicted_aligned_error_v4.json`): PAE matrix for residue pair confidence\n\n**Download URLs:**\n\n```python\nimport requests\n\nalphafold_id = \"AF-P00520-F1\"\nversion = \"v4\"\n\n# Model coordinates (mmCIF)\nmodel_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-model_{version}.cif\"\nresponse = requests.get(model_url)\nwith open(f\"{alphafold_id}.cif\", \"w\") as f:\n    f.write(response.text)\n\n# Confidence scores (JSON)\nconfidence_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-confidence_{version}.json\"\nresponse = requests.get(confidence_url)\nconfidence_data = response.json()\n\n# Predicted Aligned Error (JSON)\npae_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-predicted_aligned_error_{version}.json\"\nresponse = requests.get(pae_url)\npae_data = response.json()\n```\n\n**PDB Format (Alternative):**\n\n```python\n# Download as PDB format instead of mmCIF\npdb_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-model_{version}.pdb\"\nresponse = requests.get(pdb_url)\nwith open(f\"{alphafold_id}.pdb\", \"wb\") as f:\n    f.write(response.content)\n```\n\n### 3. Working with Confidence Metrics\n\nAlphaFold predictions include confidence estimates critical for interpretation:\n\n**pLDDT (per-residue confidence):**\n\n```python\nimport json\nimport requests\n\n# Load confidence scores\nalphafold_id = \"AF-P00520-F1\"\nconfidence_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-confidence_v4.json\"\nconfidence = requests.get(confidence_url).json()\n\n# Extract pLDDT scores\nplddt_scores = confidence['confidenceScore']\n\n# Interpret confidence levels\n# pLDDT > 90: Very high confidence\n# pLDDT 70-90: High confidence\n# pLDDT 50-70: Low confidence\n# pLDDT \u003C 50: Very low confidence\n\nhigh_confidence_residues = [i for i, score in enumerate(plddt_scores) if score > 90]\nprint(f\"High confidence residues: {len(high_confidence_residues)}\u002F{len(plddt_scores)}\")\n```\n\n**PAE (Predicted Aligned Error):**\n\nPAE indicates confidence in relative domain positions:\n\n```python\nimport numpy as np\nimport matplotlib.pyplot as plt\n\n# Load PAE matrix\npae_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-predicted_aligned_error_v4.json\"\npae = requests.get(pae_url).json()\n\n# Visualize PAE matrix\npae_matrix = np.array(pae['distance'])\nplt.figure(figsize=(10, 8))\nplt.imshow(pae_matrix, cmap='viridis_r', vmin=0, vmax=30)\nplt.colorbar(label='PAE (Å)')\nplt.title(f'Predicted Aligned Error: {alphafold_id}')\nplt.xlabel('Residue')\nplt.ylabel('Residue')\nplt.savefig(f'{alphafold_id}_pae.png', dpi=300, bbox_inches='tight')\n\n# Low PAE values (\u003C5 Å) indicate confident relative positioning\n# High PAE values (>15 Å) suggest uncertain domain arrangements\n```\n\n### 4. Bulk Data Access via Google Cloud\n\nFor large-scale analyses, use Google Cloud datasets:\n\n**Google Cloud Storage:**\n\n```bash\n# Install gsutil\nuv pip install gsutil\n\n# List available data\ngsutil ls gs:\u002F\u002Fpublic-datasets-deepmind-alphafold-v4\u002F\n\n# Download entire proteomes (by taxonomy ID)\ngsutil -m cp gs:\u002F\u002Fpublic-datasets-deepmind-alphafold-v4\u002Fproteomes\u002Fproteome-tax_id-9606-*.tar .\n\n# Download specific files\ngsutil cp gs:\u002F\u002Fpublic-datasets-deepmind-alphafold-v4\u002Faccession_ids.csv .\n```\n\n**BigQuery Metadata Access:**\n\n```python\nfrom google.cloud import bigquery\n\n# Initialize client\nclient = bigquery.Client()\n\n# Query metadata\nquery = \"\"\"\nSELECT\n  entryId,\n  uniprotAccession,\n  organismScientificName,\n  globalMetricValue,\n  fractionPlddtVeryHigh\nFROM `bigquery-public-data.deepmind_alphafold.metadata`\nWHERE organismScientificName = 'Homo sapiens'\n  AND fractionPlddtVeryHigh > 0.8\nLIMIT 100\n\"\"\"\n\nresults = client.query(query).to_dataframe()\nprint(f\"Found {len(results)} high-confidence human proteins\")\n```\n\n**Download by Species:**\n\n```python\nimport subprocess\n\ndef download_proteome(taxonomy_id, output_dir=\".\u002Fproteomes\"):\n    \"\"\"Download all AlphaFold predictions for a species\"\"\"\n    pattern = f\"gs:\u002F\u002Fpublic-datasets-deepmind-alphafold-v4\u002Fproteomes\u002Fproteome-tax_id-{taxonomy_id}-*_v4.tar\"\n    cmd = f\"gsutil -m cp {pattern} {output_dir}\u002F\"\n    subprocess.run(cmd, shell=True, check=True)\n\n# Download E. coli proteome (tax ID: 83333)\ndownload_proteome(83333)\n\n# Download human proteome (tax ID: 9606)\ndownload_proteome(9606)\n```\n\n### 5. Parsing and Analyzing Structures\n\nWork with downloaded AlphaFold structures using BioPython:\n\n```python\nfrom Bio.PDB import MMCIFParser, PDBIO\nimport numpy as np\n\n# Parse mmCIF file\nparser = MMCIFParser(QUIET=True)\nstructure = parser.get_structure(\"protein\", \"AF-P00520-F1-model_v4.cif\")\n\n# Extract coordinates\ncoords = []\nfor model in structure:\n    for chain in model:\n        for residue in chain:\n            if 'CA' in residue:  # Alpha carbons only\n                coords.append(residue['CA'].get_coord())\n\ncoords = np.array(coords)\nprint(f\"Structure has {len(coords)} residues\")\n\n# Calculate distances\nfrom scipy.spatial.distance import pdist, squareform\ndistance_matrix = squareform(pdist(coords))\n\n# Identify contacts (\u003C 8 Å)\ncontacts = np.where((distance_matrix > 0) & (distance_matrix \u003C 8))\nprint(f\"Number of contacts: {len(contacts[0]) \u002F\u002F 2}\")\n```\n\n**Extract B-factors (pLDDT values):**\n\nAlphaFold stores pLDDT scores in the B-factor column:\n\n```python\nfrom Bio.PDB import MMCIFParser\n\nparser = MMCIFParser(QUIET=True)\nstructure = parser.get_structure(\"protein\", \"AF-P00520-F1-model_v4.cif\")\n\n# Extract pLDDT from B-factors\nplddt_scores = []\nfor model in structure:\n    for chain in model:\n        for residue in chain:\n            if 'CA' in residue:\n                plddt_scores.append(residue['CA'].get_bfactor())\n\n# Identify high-confidence regions\nhigh_conf_regions = [(i, score) for i, score in enumerate(plddt_scores, 1) if score > 90]\nprint(f\"High confidence residues: {len(high_conf_regions)}\")\n```\n\n### 6. Batch Processing Multiple Proteins\n\nProcess multiple predictions efficiently:\n\n```python\nfrom Bio.PDB import alphafold_db\nimport pandas as pd\n\nuniprot_ids = [\"P00520\", \"P12931\", \"P04637\"]  # Multiple proteins\nresults = []\n\nfor uniprot_id in uniprot_ids:\n    try:\n        # Get prediction\n        predictions = list(alphafold_db.get_predictions(uniprot_id))\n\n        if predictions:\n            pred = predictions[0]\n\n            # Download structure\n            cif_file = alphafold_db.download_cif_for(pred, directory=\".\u002Fbatch_structures\")\n\n            # Get confidence data\n            alphafold_id = pred['entryId']\n            conf_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-confidence_v4.json\"\n            conf_data = requests.get(conf_url).json()\n\n            # Calculate statistics\n            plddt_scores = conf_data['confidenceScore']\n            avg_plddt = np.mean(plddt_scores)\n            high_conf_fraction = sum(1 for s in plddt_scores if s > 90) \u002F len(plddt_scores)\n\n            results.append({\n                'uniprot_id': uniprot_id,\n                'alphafold_id': alphafold_id,\n                'avg_plddt': avg_plddt,\n                'high_conf_fraction': high_conf_fraction,\n                'length': len(plddt_scores)\n            })\n    except Exception as e:\n        print(f\"Error processing {uniprot_id}: {e}\")\n\n# Create summary DataFrame\ndf = pd.DataFrame(results)\nprint(df)\n```\n\n## Installation and Setup\n\n### Python Libraries\n\n```bash\n# Install Biopython for structure access\nuv pip install biopython\n\n# Install requests for API access\nuv pip install requests\n\n# For visualization and analysis\nuv pip install numpy matplotlib pandas scipy\n\n# For Google Cloud access (optional)\nuv pip install google-cloud-bigquery gsutil\n```\n\n### 3D-Beacons API Alternative\n\nAlphaFold can also be accessed via the 3D-Beacons federated API:\n\n```python\nimport requests\n\n# Query via 3D-Beacons\nuniprot_id = \"P00520\"\nurl = f\"https:\u002F\u002Fwww.ebi.ac.uk\u002Fpdbe\u002Fpdbe-kb\u002F3dbeacons\u002Fapi\u002Funiprot\u002Fsummary\u002F{uniprot_id}.json\"\nresponse = requests.get(url)\ndata = response.json()\n\n# Filter for AlphaFold structures\naf_structures = [s for s in data['structures'] if s['provider'] == 'AlphaFold DB']\n```\n\n## Common Use Cases\n\n### Structural Proteomics\n- Download complete proteome predictions for analysis\n- Identify high-confidence structural regions across proteins\n- Compare predicted structures with experimental data\n- Build structural models for protein families\n\n### Drug Discovery\n- Retrieve target protein structures for docking studies\n- Analyze binding site conformations\n- Identify druggable pockets in predicted structures\n- Compare structures across homologs\n\n### Protein Engineering\n- Identify stable\u002Funstable regions using pLDDT\n- Design mutations in high-confidence regions\n- Analyze domain architectures using PAE\n- Model protein variants and mutations\n\n### Evolutionary Studies\n- Compare ortholog structures across species\n- Analyze conservation of structural features\n- Study domain evolution patterns\n- Identify functionally important regions\n\n## Key Concepts\n\n**UniProt Accession:** Primary identifier for proteins (e.g., \"P00520\"). Required for querying AlphaFold DB.\n\n**AlphaFold ID:** Internal identifier format: `AF-[UniProt accession]-F[fragment number]` (e.g., \"AF-P00520-F1\").\n\n**pLDDT (predicted Local Distance Difference Test):** Per-residue confidence metric (0-100). Higher values indicate more confident predictions.\n\n**PAE (Predicted Aligned Error):** Matrix indicating confidence in relative positions between residue pairs. Low values (\u003C5 Å) suggest confident relative positioning.\n\n**Database Version:** Current version is v4. File URLs include version suffix (e.g., `model_v4.cif`).\n\n**Fragment Number:** Large proteins may be split into fragments. Fragment number appears in AlphaFold ID (e.g., F1, F2).\n\n## Confidence Interpretation Guidelines\n\n**pLDDT Thresholds:**\n- **>90**: Very high confidence - suitable for detailed analysis\n- **70-90**: High confidence - generally reliable backbone structure\n- **50-70**: Low confidence - use with caution, flexible regions\n- **\u003C50**: Very low confidence - likely disordered or unreliable\n\n**PAE Guidelines:**\n- **\u003C5 Å**: Confident relative positioning of domains\n- **5-10 Å**: Moderate confidence in arrangement\n- **>15 Å**: Uncertain relative positions, domains may be mobile\n\n## Resources\n\n### references\u002Fapi_reference.md\n\nComprehensive API documentation covering:\n- Complete REST API endpoint specifications\n- File format details and data schemas\n- Google Cloud dataset structure and access patterns\n- Advanced query examples and batch processing strategies\n- Rate limiting, caching, and best practices\n- Troubleshooting common issues\n\nConsult this reference for detailed API information, bulk download strategies, or when working with large-scale datasets.\n\n## Important Notes\n\n### Data Usage and Attribution\n\n- AlphaFold DB is freely available under CC-BY-4.0 license\n- Cite: Jumper et al. (2021) Nature and Varadi et al. (2022) Nucleic Acids Research\n- Predictions are computational models, not experimental structures\n- Always assess confidence metrics before downstream analysis\n\n### Version Management\n\n- Current database version: v4 (as of 2024-2025)\n- File URLs include version suffix (e.g., `_v4.cif`)\n- Check for database updates regularly\n- Older versions may be deprecated over time\n\n### Data Quality Considerations\n\n- High pLDDT doesn't guarantee functional accuracy\n- Low confidence regions may be disordered in vivo\n- PAE indicates relative domain confidence, not absolute positioning\n- Predictions lack ligands, post-translational modifications, and cofactors\n- Multi-chain complexes are not predicted (single chains only)\n\n### Performance Tips\n\n- Use Biopython for simple single-protein access\n- Use Google Cloud for bulk downloads (much faster than individual files)\n- Cache downloaded files locally to avoid repeated downloads\n- BigQuery free tier: 1 TB processed data per month\n- Consider network bandwidth for large-scale downloads\n\n## Additional Resources\n\n- **AlphaFold DB Website:** https:\u002F\u002Falphafold.ebi.ac.uk\u002F\n- **API Documentation:** https:\u002F\u002Falphafold.ebi.ac.uk\u002Fapi-docs\n- **Google Cloud Dataset:** https:\u002F\u002Fcloud.google.com\u002Fblog\u002Fproducts\u002Fai-machine-learning\u002Falphafold-protein-structure-database\n- **3D-Beacons API:** https:\u002F\u002Fwww.ebi.ac.uk\u002Fpdbe\u002Fpdbe-kb\u002F3dbeacons\u002F\n- **AlphaFold Papers:**\n  - Nature (2021): https:\u002F\u002Fdoi.org\u002F10.1038\u002Fs41586-021-03819-2\n  - Nucleic Acids Research (2024): https:\u002F\u002Fdoi.org\u002F10.1093\u002Fnar\u002Fgkad1011\n- **Biopython Documentation:** https:\u002F\u002Fbiopython.org\u002Fdocs\u002Fdev\u002Fapi\u002FBio.PDB.alphafold_db.html\n- **GitHub Repository:** https:\u002F\u002Fgithub.com\u002Fgoogle-deepmind\u002Falphafold\n","# AlphaFold Database\n\n## Overview\n\nAlphaFold DB is a public repository of AI-predicted 3D protein structures for over 200 million proteins, maintained by DeepMind and EMBL-EBI. Access structure predictions with confidence metrics, download coordinate files, retrieve bulk datasets, and integrate predictions into computational workflows.\n\n## When to Use This Skill\n\nThis skill should be used when working with AI-predicted protein structures in scenarios such as:\n\n- Retrieving protein structure predictions by UniProt ID or protein name\n- Downloading PDB\u002FmmCIF coordinate files for structural analysis\n- Analyzing prediction confidence metrics (pLDDT, PAE) to assess reliability\n- Accessing bulk proteome datasets via Google Cloud Platform\n- Comparing predicted structures with experimental data\n- Performing structure-based drug discovery or protein engineering\n- Building structural models for proteins lacking experimental structures\n- Integrating AlphaFold predictions into computational pipelines\n\n## Core Capabilities\n\n### 1. Searching and Retrieving Predictions\n\n**Using Biopython (Recommended):**\n\nThe Biopython library provides the simplest interface for retrieving AlphaFold structures:\n\n```python\nfrom Bio.PDB import alphafold_db\n\n# Get all predictions for a UniProt accession\npredictions = list(alphafold_db.get_predictions(\"P00520\"))\n\n# Download structure file (mmCIF format)\nfor prediction in predictions:\n    cif_file = alphafold_db.download_cif_for(prediction, directory=\".\u002Fstructures\")\n    print(f\"Downloaded: {cif_file}\")\n\n# Get Structure objects directly\nfrom Bio.PDB import MMCIFParser\nstructures = list(alphafold_db.get_structural_models_for(\"P00520\"))\n```\n\n**Direct API Access:**\n\nQuery predictions using REST endpoints:\n\n```python\nimport requests\n\n# Get prediction metadata for a UniProt accession\nuniprot_id = \"P00520\"\napi_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Fapi\u002Fprediction\u002F{uniprot_id}\"\nresponse = requests.get(api_url)\nprediction_data = response.json()\n\n# Extract AlphaFold ID\nalphafold_id = prediction_data[0]['entryId']\nprint(f\"AlphaFold ID: {alphafold_id}\")\n```\n\n**Using UniProt to Find Accessions:**\n\nSearch UniProt to find protein accessions first:\n\n```python\nimport urllib.parse, urllib.request\n\ndef get_uniprot_ids(query, query_type='PDB_ID'):\n    \"\"\"Query UniProt to get accession IDs\"\"\"\n    url = 'https:\u002F\u002Fwww.uniprot.org\u002Fuploadlists\u002F'\n    params = {\n        'from': query_type,\n        'to': 'ACC',\n        'format': 'txt',\n        'query': query\n    }\n    data = urllib.parse.urlencode(params).encode('ascii')\n    with urllib.request.urlopen(urllib.request.Request(url, data)) as response:\n        return response.read().decode('utf-8').splitlines()\n\n# Example: Find UniProt IDs for a protein name\nprotein_ids = get_uniprot_ids(\"hemoglobin\", query_type=\"GENE_NAME\")\n```\n\n### 2. Downloading Structure Files\n\nAlphaFold provides multiple file formats for each prediction:\n\n**File Types Available:**\n\n- **Model coordinates** (`model_v4.cif`): Atomic coordinates in mmCIF\u002FPDBx format\n- **Confidence scores** (`confidence_v4.json`): Per-residue pLDDT scores (0-100)\n- **Predicted Aligned Error** (`predicted_aligned_error_v4.json`): PAE matrix for residue pair confidence\n\n**Download URLs:**\n\n```python\nimport requests\n\nalphafold_id = \"AF-P00520-F1\"\nversion = \"v4\"\n\n# Model coordinates (mmCIF)\nmodel_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-model_{version}.cif\"\nresponse = requests.get(model_url)\nwith open(f\"{alphafold_id}.cif\", \"w\") as f:\n    f.write(response.text)\n\n# Confidence scores (JSON)\nconfidence_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-confidence_{version}.json\"\nresponse = requests.get(confidence_url)\nconfidence_data = response.json()\n\n# Predicted Aligned Error (JSON)\npae_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-predicted_aligned_error_{version}.json\"\nresponse = requests.get(pae_url)\npae_data = response.json()\n```\n\n**PDB Format (Alternative):**\n\n```python\n# Download as PDB format instead of mmCIF\npdb_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-model_{version}.pdb\"\nresponse = requests.get(pdb_url)\nwith open(f\"{alphafold_id}.pdb\", \"wb\") as f:\n    f.write(response.content)\n```\n\n### 3. Working with Confidence Metrics\n\nAlphaFold predictions include confidence estimates critical for interpretation:\n\n**pLDDT (per-residue confidence):**\n\n```python\nimport json\nimport requests\n\n# Load confidence scores\nalphafold_id = \"AF-P00520-F1\"\nconfidence_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-confidence_v4.json\"\nconfidence = requests.get(confidence_url).json()\n\n# Extract pLDDT scores\nplddt_scores = confidence['confidenceScore']\n\n# Interpret confidence levels\n# pLDDT > 90: Very high confidence\n# pLDDT 70-90: High confidence\n# pLDDT 50-70: Low confidence\n# pLDDT \u003C 50: Very low confidence\n\nhigh_confidence_residues = [i for i, score in enumerate(plddt_scores) if score > 90]\nprint(f\"High confidence residues: {len(high_confidence_residues)}\u002F{len(plddt_scores)}\")\n```\n\n**PAE (Predicted Aligned Error):**\n\nPAE indicates confidence in relative domain positions:\n\n```python\nimport numpy as np\nimport matplotlib.pyplot as plt\n\n# Load PAE matrix\npae_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-predicted_aligned_error_v4.json\"\npae = requests.get(pae_url).json()\n\n# Visualize PAE matrix\npae_matrix = np.array(pae['distance'])\nplt.figure(figsize=(10, 8))\nplt.imshow(pae_matrix, cmap='viridis_r', vmin=0, vmax=30)\nplt.colorbar(label='PAE (Å)')\nplt.title(f'Predicted Aligned Error: {alphafold_id}')\nplt.xlabel('Residue')\nplt.ylabel('Residue')\nplt.savefig(f'{alphafold_id}_pae.png', dpi=300, bbox_inches='tight')\n\n# Low PAE values (\u003C5 Å) indicate confident relative positioning\n# High PAE values (>15 Å) suggest uncertain domain arrangements\n```\n\n### 4. Bulk Data Access via Google Cloud\n\nFor large-scale analyses, use Google Cloud datasets:\n\n**Google Cloud Storage:**\n\n```bash\n# Install gsutil\nuv pip install gsutil\n\n# List available data\ngsutil ls gs:\u002F\u002Fpublic-datasets-deepmind-alphafold-v4\u002F\n\n# Download entire proteomes (by taxonomy ID)\ngsutil -m cp gs:\u002F\u002Fpublic-datasets-deepmind-alphafold-v4\u002Fproteomes\u002Fproteome-tax_id-9606-*.tar .\n\n# Download specific files\ngsutil cp gs:\u002F\u002Fpublic-datasets-deepmind-alphafold-v4\u002Faccession_ids.csv .\n```\n\n**BigQuery Metadata Access:**\n\n```python\nfrom google.cloud import bigquery\n\n# Initialize client\nclient = bigquery.Client()\n\n# Query metadata\nquery = \"\"\"\nSELECT\n  entryId,\n  uniprotAccession,\n  organismScientificName,\n  globalMetricValue,\n  fractionPlddtVeryHigh\nFROM `bigquery-public-data.deepmind_alphafold.metadata`\nWHERE organismScientificName = 'Homo sapiens'\n  AND fractionPlddtVeryHigh > 0.8\nLIMIT 100\n\"\"\"\n\nresults = client.query(query).to_dataframe()\nprint(f\"Found {len(results)} high-confidence human proteins\")\n```\n\n**Download by Species:**\n\n```python\nimport subprocess\n\ndef download_proteome(taxonomy_id, output_dir=\".\u002Fproteomes\"):\n    \"\"\"Download all AlphaFold predictions for a species\"\"\"\n    pattern = f\"gs:\u002F\u002Fpublic-datasets-deepmind-alphafold-v4\u002Fproteomes\u002Fproteome-tax_id-{taxonomy_id}-*_v4.tar\"\n    cmd = f\"gsutil -m cp {pattern} {output_dir}\u002F\"\n    subprocess.run(cmd, shell=True, check=True)\n\n# Download E. coli proteome (tax ID: 83333)\ndownload_proteome(83333)\n\n# Download human proteome (tax ID: 9606)\ndownload_proteome(9606)\n```\n\n### 5. Parsing and Analyzing Structures\n\nWork with downloaded AlphaFold structures using BioPython:\n\n```python\nfrom Bio.PDB import MMCIFParser, PDBIO\nimport numpy as np\n\n# Parse mmCIF file\nparser = MMCIFParser(QUIET=True)\nstructure = parser.get_structure(\"protein\", \"AF-P00520-F1-model_v4.cif\")\n\n# Extract coordinates\ncoords = []\nfor model in structure:\n    for chain in model:\n        for residue in chain:\n            if 'CA' in residue:  # Alpha carbons only\n                coords.append(residue['CA'].get_coord())\n\ncoords = np.array(coords)\nprint(f\"Structure has {len(coords)} residues\")\n\n# Calculate distances\nfrom scipy.spatial.distance import pdist, squareform\ndistance_matrix = squareform(pdist(coords))\n\n# Identify contacts (\u003C 8 Å)\ncontacts = np.where((distance_matrix > 0) & (distance_matrix \u003C 8))\nprint(f\"Number of contacts: {len(contacts[0]) \u002F\u002F 2}\")\n```\n\n**Extract B-factors (pLDDT values):**\n\nAlphaFold stores pLDDT scores in the B-factor column:\n\n```python\nfrom Bio.PDB import MMCIFParser\n\nparser = MMCIFParser(QUIET=True)\nstructure = parser.get_structure(\"protein\", \"AF-P00520-F1-model_v4.cif\")\n\n# Extract pLDDT from B-factors\nplddt_scores = []\nfor model in structure:\n    for chain in model:\n        for residue in chain:\n            if 'CA' in residue:\n                plddt_scores.append(residue['CA'].get_bfactor())\n\n# Identify high-confidence regions\nhigh_conf_regions = [(i, score) for i, score in enumerate(plddt_scores, 1) if score > 90]\nprint(f\"High confidence residues: {len(high_conf_regions)}\")\n```\n\n### 6. Batch Processing Multiple Proteins\n\nProcess multiple predictions efficiently:\n\n```python\nfrom Bio.PDB import alphafold_db\nimport pandas as pd\n\nuniprot_ids = [\"P00520\", \"P12931\", \"P04637\"]  # Multiple proteins\nresults = []\n\nfor uniprot_id in uniprot_ids:\n    try:\n        # Get prediction\n        predictions = list(alphafold_db.get_predictions(uniprot_id))\n\n        if predictions:\n            pred = predictions[0]\n\n            # Download structure\n            cif_file = alphafold_db.download_cif_for(pred, directory=\".\u002Fbatch_structures\")\n\n            # Get confidence data\n            alphafold_id = pred['entryId']\n            conf_url = f\"https:\u002F\u002Falphafold.ebi.ac.uk\u002Ffiles\u002F{alphafold_id}-confidence_v4.json\"\n            conf_data = requests.get(conf_url).json()\n\n            # Calculate statistics\n            plddt_scores = conf_data['confidenceScore']\n            avg_plddt = np.mean(plddt_scores)\n            high_conf_fraction = sum(1 for s in plddt_scores if s > 90) \u002F len(plddt_scores)\n\n            results.append({\n                'uniprot_id': uniprot_id,\n                'alphafold_id': alphafold_id,\n                'avg_plddt': avg_plddt,\n                'high_conf_fraction': high_conf_fraction,\n                'length': len(plddt_scores)\n            })\n    except Exception as e:\n        print(f\"Error processing {uniprot_id}: {e}\")\n\n# Create summary DataFrame\ndf = pd.DataFrame(results)\nprint(df)\n```\n\n## Installation and Setup\n\n### Python Libraries\n\n```bash\n# Install Biopython for structure access\nuv pip install biopython\n\n# Install requests for API access\nuv pip install requests\n\n# For visualization and analysis\nuv pip install numpy matplotlib pandas scipy\n\n# For Google Cloud access (optional)\nuv pip install google-cloud-bigquery gsutil\n```\n\n### 3D-Beacons API Alternative\n\nAlphaFold can also be accessed via the 3D-Beacons federated API:\n\n```python\nimport requests\n\n# Query via 3D-Beacons\nuniprot_id = \"P00520\"\nurl = f\"https:\u002F\u002Fwww.ebi.ac.uk\u002Fpdbe\u002Fpdbe-kb\u002F3dbeacons\u002Fapi\u002Funiprot\u002Fsummary\u002F{uniprot_id}.json\"\nresponse = requests.get(url)\ndata = response.json()\n\n# Filter for AlphaFold structures\naf_structures = [s for s in data['structures'] if s['provider'] == 'AlphaFold DB']\n```\n\n## Common Use Cases\n\n### Structural Proteomics\n- Download complete proteome predictions for analysis\n- Identify high-confidence structural regions across proteins\n- Compare predicted structures with experimental data\n- Build structural models for protein families\n\n### Drug Discovery\n- Retrieve target protein structures for docking studies\n- Analyze binding site conformations\n- Identify druggable pockets in predicted structures\n- Compare structures across homologs\n\n### Protein Engineering\n- Identify stable\u002Funstable regions using pLDDT\n- Design mutations in high-confidence regions\n- Analyze domain architectures using PAE\n- Model protein variants and mutations\n\n### Evolutionary Studies\n- Compare ortholog structures across species\n- Analyze conservation of structural features\n- Study domain evolution patterns\n- Identify functionally important regions\n\n## Key Concepts\n\n**UniProt Accession:** Primary identifier for proteins (e.g., \"P00520\"). Required for querying AlphaFold DB.\n\n**AlphaFold ID:** Internal identifier format: `AF-[UniProt accession]-F[fragment number]` (e.g., \"AF-P00520-F1\").\n\n**pLDDT (predicted Local Distance Difference Test):** Per-residue confidence metric (0-100). Higher values indicate more confident predictions.\n\n**PAE (Predicted Aligned Error):** Matrix indicating confidence in relative positions between residue pairs. Low values (\u003C5 Å) suggest confident relative positioning.\n\n**Database Version:** Current version is v4. File URLs include version suffix (e.g., `model_v4.cif`).\n\n**Fragment Number:** Large proteins may be split into fragments. Fragment number appears in AlphaFold ID (e.g., F1, F2).\n\n## Confidence Interpretation Guidelines\n\n**pLDDT Thresholds:**\n- **>90**: Very high confidence - suitable for detailed analysis\n- **70-90**: High confidence - generally reliable backbone structure\n- **50-70**: Low confidence - use with caution, flexible regions\n- **\u003C50**: Very low confidence - likely disordered or unreliable\n\n**PAE Guidelines:**\n- **\u003C5 Å**: Confident relative positioning of domains\n- **5-10 Å**: Moderate confidence in arrangement\n- **>15 Å**: Uncertain relative positions, domains may be mobile\n\n## Resources\n\n### references\u002Fapi_reference.md\n\nComprehensive API documentation covering:\n- Complete REST API endpoint specifications\n- File format details and data schemas\n- Google Cloud dataset structure and access patterns\n- Advanced query examples and batch processing strategies\n- Rate limiting, caching, and best practices\n- Troubleshooting common issues\n\nConsult this reference for detailed API information, bulk download strategies, or when working with large-scale datasets.\n\n## Important Notes\n\n### Data Usage and Attribution\n\n- AlphaFold DB is freely available under CC-BY-4.0 license\n- Cite: Jumper et al. (2021) Nature and Varadi et al. (2022) Nucleic Acids Research\n- Predictions are computational models, not experimental structures\n- Always assess confidence metrics before downstream analysis\n\n### Version Management\n\n- Current database version: v4 (as of 2024-2025)\n- File URLs include version suffix (e.g., `_v4.cif`)\n- Check for database updates regularly\n- Older versions may be deprecated over time\n\n### Data Quality Considerations\n\n- High pLDDT doesn't guarantee functional accuracy\n- Low confidence regions may be disordered in vivo\n- PAE indicates relative domain confidence, not absolute positioning\n- Predictions lack ligands, post-translational modifications, and cofactors\n- Multi-chain complexes are not predicted (single chains only)\n\n### Performance Tips\n\n- Use Biopython for simple single-protein access\n- Use Google Cloud for bulk downloads (much faster than individual files)\n- Cache downloaded files locally to avoid repeated downloads\n- BigQuery free tier: 1 TB processed data per month\n- Consider network bandwidth for large-scale downloads\n\n## Additional Resources\n\n- **AlphaFold DB Website:** https:\u002F\u002Falphafold.ebi.ac.uk\u002F\n- **API Documentation:** https:\u002F\u002Falphafold.ebi.ac.uk\u002Fapi-docs\n- **Google Cloud Dataset:** https:\u002F\u002Fcloud.google.com\u002Fblog\u002Fproducts\u002Fai-machine-learning\u002Falphafold-protein-structure-database\n- **3D-Beacons API:** https:\u002F\u002Fwww.ebi.ac.uk\u002Fpdbe\u002Fpdbe-kb\u002F3dbeacons\u002F\n- **AlphaFold Papers:**\n  - Nature (2021): https:\u002F\u002Fdoi.org\u002F10.1038\u002Fs41586-021-03819-2\n  - Nucleic Acids Research (2024): https:\u002F\u002Fdoi.org\u002F10.1093\u002Fnar\u002Fgkad1011\n- **Biopython Documentation:** https:\u002F\u002Fbiopython.org\u002Fdocs\u002Fdev\u002Fapi\u002FBio.PDB.alphafold_db.html\n- **GitHub Repository:** https:\u002F\u002Fgithub.com\u002Fgoogle-deepmind\u002Falphafold\n",{"name":5,"description":7},"main","2b749c82b5d11fac39d9a6e021ce3f5b8a541bd1","cli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Falphafold-database",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":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add davila7\u002Fclaude-code-templates --skill alphafold-database",{"tool":69,"command":70},"bunx","bunx skills add davila7\u002Fclaude-code-templates --skill alphafold-database",{"tool":72,"command":73},"pnpm","pnpm dlx skills add davila7\u002Fclaude-code-templates --skill alphafold-database","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Falphafold-database\u002FSKILL.md",true,[77],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fapi_reference.md","REFERENCE","参考文档",12557,"https:\u002F\u002Fgithub.com\u002Fdavila7\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fscientific\u002Falphafold-database\u002Freferences\u002Fapi_reference.md",[84,110,136,158,198,226],{"skillNo":85,"name":86,"nameZh":17,"description":87,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":48},"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",[],[91,92,93,94,95,36,96,97,98,99,100,101,102,103,104,105,106,107,108,109],"scoring","pool","wealthville pool scoring","liquidity","which","exit","now","use","when","reduce","with","record","track","verdict","evm","solana","how","public","look",{"skillNo":111,"name":112,"nameZh":17,"description":113,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":48},"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",[],[117,118,119,120,121,122,123,124,125,126,127,99,128,129,130,131,132,133,134,135],"technical debt","debt","technical","technical debt auditor","auditor","coverage","complexity","markers","project","cleanup","unused","code","todo","work","plan","focus","signals","audit","dependency",{"skillNo":137,"name":138,"nameZh":17,"description":139,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":48},"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",[],[143,144,145,146,147,148,149,36,150,151,152,153,154,155,156,98,45,33,99,157],"readonly","guard","sql guard","sql","readonly sql guard","erp","effect","read-only","db","just","tool","calls","only","MCP","query",{"skillNo":159,"name":160,"nameZh":161,"description":162,"descriptionZh":163,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":164,"licenseFileUrl":165,"sourceHtmlUrl":166,"categories":167,"keywords":174,"publishedAt":48},"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",[168,171],{"categoryNo":169,"categoryName":170,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":172,"categoryName":173,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,36,197],"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":199,"name":200,"nameZh":201,"description":202,"descriptionZh":203,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":164,"licenseFileUrl":204,"sourceHtmlUrl":205,"categories":206,"keywords":213,"publishedAt":48},"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",[207,210],{"categoryNo":208,"categoryName":209,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":211,"categoryName":212,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[214,215,216,217,218,176,219,185,186,220,221,222,223,36,224,101,225],"webapp testing","testing","webapp","browser","playwright","applications","debugging","toolkit","logs","screenshots","local","behavior",{"skillNo":227,"name":228,"nameZh":229,"description":230,"descriptionZh":231,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":164,"licenseFileUrl":232,"sourceHtmlUrl":233,"categories":234,"keywords":241,"publishedAt":48},"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",[235,238],{"categoryNo":236,"categoryName":237,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TMSBZZX4V1THHNVC815","回答复核",{"categoryNo":239,"categoryName":240,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS5011KJDVSRXG1DC4P666","普通用户",[242,243,244,245,246,247,248,249,178,250,188,128,251,252,253,254,255,155,256,99,257,258,259,260,261,107,262],"discernment nudge","nudge","interpretation","help","run","reasoning","data","writing","lookup","content","review","conversation","short","up","invoke","you","analysis","claims","argument","assemble","recommendations"]