[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FF019BZPJHKMT2CC2G22AW":3,"skill-same:01M7FF019BZPJHKMT2CC2G22AW":125},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M7FF019BZPJHKMT2CC2G22AW","hpc-petsc",null,"Build, review, debug, and tune PETSc-based solver workflows. Use when working with PETSc `Vec`, `Mat`, `KSP`, `PC`, `SNES`, `TS`, options-database tuning, MPI-distributed assembly, external package integration, or PETSc build and runtime failures.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: hpc-petsc\ndescription: \"Build, review, debug, and tune PETSc-based solver workflows. Use when working with PETSc `Vec`, `Mat`, `KSP`, `PC`, `SNES`, `TS`, options-database tuning, MPI-distributed assembly, external package integration, or PETSc build and runtime failures.\"\ncategory: high-performance-computing\ndomain: high-performance-computing\nsubdomain: general\nversion: 1.0.0\nlicense: MIT\nrisk: low\nsource:\n  repository: \"SciMate-AI\u002FHPC-Skills\"\n  commit: \"4ea8069188\"\n  imported_at: \"2026-09-20\"\n  license: \"MIT\"\nplatforms:\n  - claude-code\n  - cursor\n  - codex\n  - gemini\n  - antigravity\n  - copilot\n---\n\n\n# HPC PETSc\n\nTreat PETSc as a layered solver toolkit. Start from the highest-level object that matches the mathematical problem and only drop lower when there is a clear reason.\n\n## Start\n\n1. Read `references\u002Fsolver-stack-and-object-model.md` before creating or repairing a PETSc-based solve path.\n2. Read `references\u002Fksp-and-pc-matrix.md` when selecting Krylov methods, direct solves, or preconditioner families.\n3. Read `references\u002Fsnes-and-ts-patterns.md` when the application is nonlinear or time-dependent.\n4. Read `references\u002Foptions-and-ksp-snes-playbook.md` when translating runtime options into code or debugging prefix handling.\n5. Read `references\u002Fruntime-option-matrix.md` when selecting monitors, residual diagnostics, or common options-database switches.\n6. Read `references\u002Fdm-and-discretization-playbook.md` when `DM`, nullspaces, multigrid layout, or field decomposition matter.\n7. Read `references\u002Fexternal-backend-matrix.md` when deciding whether to route through HYPRE, direct solvers, or matrix-free paths.\n8. Read `references\u002Fbuild-and-integration.md` when configuring PETSc, enabling external packages, or integrating PETSc into another codebase.\n9. Read `references\u002Fparallel-and-runtime-debugging.md` when a distributed run shows assembly, ownership, convergence, or monitoring problems.\n10. Read `references\u002Ferror-recovery.md` when configure, setup, or solve phases fail.\n\n## Work sequence\n\n1. Classify the problem first:\n   - linear system -> `KSP`\n   - nonlinear residual -> `SNES`\n   - time-dependent problem -> `TS`\n2. Choose the data model before tuning the solver:\n   - `Vec` for distributed unknowns\n   - `Mat` or matrix-free operator for the linearization\n   - `DM` when mesh, hierarchy, or field layout must drive assembly and coarsening\n3. Get a robust baseline solve working before tuning for scale.\n4. Move configuration into the options database whenever practical so runs stay inspectable and reproducible.\n5. Read convergence reason and monitor output before changing algorithms.\n\n## Guardrails\n\n- Do not hand-roll nonlinear or time-stepping logic that `SNES` or `TS` already manages unless the application truly needs it.\n- Do not tune preconditioners before checking operator correctness, boundary conditions, and assembly completion.\n- Do not mix compiler, MPI, and external solver stacks casually across PETSc and the host application.\n- Do not treat options prefixes or convergence reasons as optional diagnostics.\n\n## Additional References\n\nLoad these on demand:\n\n- `references\u002Fksp-and-pc-matrix.md` for operator-class to solver-family mapping\n- `references\u002Fsnes-and-ts-patterns.md` for nonlinear and transient workflow design\n- `references\u002Fruntime-option-matrix.md` for monitor, logging, and option-database baselines\n- `references\u002Fdm-and-discretization-playbook.md` for `DMDA`, `DMPlex`, field splits, and hierarchy-aware setup\n- `references\u002Fexternal-backend-matrix.md` for HYPRE, direct-solver, and matrix-free integration tradeoffs\n- `references\u002Fbuild-and-integration.md` for external package wiring such as HYPRE or direct-solver backends\n- `references\u002Fparallel-and-runtime-debugging.md` for ownership ranges, assembly ordering, monitors, and distributed diagnostics\n- `references\u002Ferror-pattern-dictionary.md` for fast matching of common PETSc failure classes\n\n## Reusable Templates\n\nUse `assets\u002Ftemplates\u002F` when a concrete starting point is faster than rebuilding the solve path from scratch, especially:\n\n- `ksp_poisson_minimal.c`\n- `petsc4py_ksp_minimal.py`\n- `petsc_build_example.sh`\n- `petsc_ksp_slurm.sh`\n\n## Outputs\n\nSummarize:\n\n- problem class and chosen PETSc layer\n- matrix or operator strategy\n- solver and preconditioner baseline\n- runtime options or code-path decisions\n- the exact failure phase if the workflow is being repaired\n","# HPC PETSc\n\nTreat PETSc as a layered solver toolkit. Start from the highest-level object that matches the mathematical problem and only drop lower when there is a clear reason.\n\n## Start\n\n1. Read `references\u002Fsolver-stack-and-object-model.md` before creating or repairing a PETSc-based solve path.\n2. Read `references\u002Fksp-and-pc-matrix.md` when selecting Krylov methods, direct solves, or preconditioner families.\n3. Read `references\u002Fsnes-and-ts-patterns.md` when the application is nonlinear or time-dependent.\n4. Read `references\u002Foptions-and-ksp-snes-playbook.md` when translating runtime options into code or debugging prefix handling.\n5. Read `references\u002Fruntime-option-matrix.md` when selecting monitors, residual diagnostics, or common options-database switches.\n6. Read `references\u002Fdm-and-discretization-playbook.md` when `DM`, nullspaces, multigrid layout, or field decomposition matter.\n7. Read `references\u002Fexternal-backend-matrix.md` when deciding whether to route through HYPRE, direct solvers, or matrix-free paths.\n8. Read `references\u002Fbuild-and-integration.md` when configuring PETSc, enabling external packages, or integrating PETSc into another codebase.\n9. Read `references\u002Fparallel-and-runtime-debugging.md` when a distributed run shows assembly, ownership, convergence, or monitoring problems.\n10. Read `references\u002Ferror-recovery.md` when configure, setup, or solve phases fail.\n\n## Work sequence\n\n1. Classify the problem first:\n   - linear system -> `KSP`\n   - nonlinear residual -> `SNES`\n   - time-dependent problem -> `TS`\n2. Choose the data model before tuning the solver:\n   - `Vec` for distributed unknowns\n   - `Mat` or matrix-free operator for the linearization\n   - `DM` when mesh, hierarchy, or field layout must drive assembly and coarsening\n3. Get a robust baseline solve working before tuning for scale.\n4. Move configuration into the options database whenever practical so runs stay inspectable and reproducible.\n5. Read convergence reason and monitor output before changing algorithms.\n\n## Guardrails\n\n- Do not hand-roll nonlinear or time-stepping logic that `SNES` or `TS` already manages unless the application truly needs it.\n- Do not tune preconditioners before checking operator correctness, boundary conditions, and assembly completion.\n- Do not mix compiler, MPI, and external solver stacks casually across PETSc and the host application.\n- Do not treat options prefixes or convergence reasons as optional diagnostics.\n\n## Additional References\n\nLoad these on demand:\n\n- `references\u002Fksp-and-pc-matrix.md` for operator-class to solver-family mapping\n- `references\u002Fsnes-and-ts-patterns.md` for nonlinear and transient workflow design\n- `references\u002Fruntime-option-matrix.md` for monitor, logging, and option-database baselines\n- `references\u002Fdm-and-discretization-playbook.md` for `DMDA`, `DMPlex`, field splits, and hierarchy-aware setup\n- `references\u002Fexternal-backend-matrix.md` for HYPRE, direct-solver, and matrix-free integration tradeoffs\n- `references\u002Fbuild-and-integration.md` for external package wiring such as HYPRE or direct-solver backends\n- `references\u002Fparallel-and-runtime-debugging.md` for ownership ranges, assembly ordering, monitors, and distributed diagnostics\n- `references\u002Ferror-pattern-dictionary.md` for fast matching of common PETSc failure classes\n\n## Reusable Templates\n\nUse `assets\u002Ftemplates\u002F` when a concrete starting point is faster than rebuilding the solve path from scratch, especially:\n\n- `ksp_poisson_minimal.c`\n- `petsc4py_ksp_minimal.py`\n- `petsc_build_example.sh`\n- `petsc_ksp_slurm.sh`\n\n## Outputs\n\nSummarize:\n\n- problem class and chosen PETSc layer\n- matrix or operator strategy\n- solver and preconditioner baseline\n- runtime options or code-path decisions\n- the exact failure phase if the workflow is being repaired\n",{"name":5,"risk":24,"domain":25,"source":26,"license":15,"version":30,"category":25,"platforms":31,"subdomain":38,"description":7},"low","high-performance-computing",{"commit":27,"license":15,"repository":28,"imported_at":29},"4ea8069188","SciMate-AI\u002FHPC-Skills","2026-09-20","1.0.0",[32,33,34,35,36,37],"claude-code","cursor","codex","gemini","antigravity","copilot","general","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill hpc-petsc",{"tool":51,"command":52},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill hpc-petsc",{"tool":54,"command":55},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill hpc-petsc","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002FSKILL.md",true,[59,65,71,75,79,85,89,93,97,101,105,109,113,117,121],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"assets\u002Ftemplates\u002Fksp_poisson_minimal.c","ASSET","资产文件",1343,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Fassets\u002Ftemplates\u002Fksp_poisson_minimal.c",{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"assets\u002Ftemplates\u002Fpetsc_build_example.sh","SCRIPT","脚本",589,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Fassets\u002Ftemplates\u002Fpetsc_build_example.sh",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"assets\u002Ftemplates\u002Fpetsc_ksp_slurm.sh",428,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Fassets\u002Ftemplates\u002Fpetsc_ksp_slurm.sh",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"assets\u002Ftemplates\u002Fpetsc4py_ksp_minimal.py",619,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Fassets\u002Ftemplates\u002Fpetsc4py_ksp_minimal.py",{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fbuild-and-integration.md","REFERENCE","参考文档",1585,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Freferences\u002Fbuild-and-integration.md",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fdm-and-discretization-playbook.md",860,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Freferences\u002Fdm-and-discretization-playbook.md",{"path":90,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Ferror-pattern-dictionary.md",1093,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Freferences\u002Ferror-pattern-dictionary.md",{"path":94,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Ferror-recovery.md",1053,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Freferences\u002Ferror-recovery.md",{"path":98,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002Fexternal-backend-matrix.md",1394,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Freferences\u002Fexternal-backend-matrix.md",{"path":102,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002Fksp-and-pc-matrix.md",1383,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Freferences\u002Fksp-and-pc-matrix.md",{"path":106,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Foptions-and-ksp-snes-playbook.md",2306,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Freferences\u002Foptions-and-ksp-snes-playbook.md",{"path":110,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002Fparallel-and-runtime-debugging.md",1609,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Freferences\u002Fparallel-and-runtime-debugging.md",{"path":114,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":115,"sourceHtmlUrl":116},"references\u002Fruntime-option-matrix.md",1391,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Freferences\u002Fruntime-option-matrix.md",{"path":118,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":119,"sourceHtmlUrl":120},"references\u002Fsnes-and-ts-patterns.md",1041,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Freferences\u002Fsnes-and-ts-patterns.md",{"path":122,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":123,"sourceHtmlUrl":124},"references\u002Fsolver-stack-and-object-model.md",2388,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhigh-performance-computing\u002Fhpc-petsc\u002Freferences\u002Fsolver-stack-and-object-model.md",[126,133,140,147,154,161],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":19},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":19},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":19},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":19},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":19},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":19},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]