소스 정보
- 저장소
- shader-slang/slang-skills
- 최근 소스 활동
- 2026년 5월 27일 09:19
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 4
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/shader-slang/slang-skills --skill slangpy-code-writer명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Use whenever output will name a specific person: release notes, changelogs, contributor lists, commit or PR attribution, code comments, issue and review replies, docs credits, or any prose referring to a human. Governs where a name may come from and how to choose pronouns, so stale names from git history and gender guesses from model priors never reach the output.
Surface the open shader-slang PRs needing human attention with a bundled gh-only Python script (scripts/pr_report.py): an assignee-grouped escalation report computed entirely from live GitHub state (read-only; no writes; optional Discord/Slack mentions). Use for PR triage, the reviewer-attention report, stale-PR follow-up, or a scheduled report run.
Bridge from /slang-maintain workflow steps to concrete slang-mcp tool calls. Read-only except an optional, user-confirmed post of the generated daily report to Slack. Task recipes live in sibling files.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | slangpy-code-writer |
| license | MIT |
| description | Implement changes in SlangPy. Edit code, write tests, format, commit. |
| provides | ["code.read","code.edit","test.gen"] |
| allowed-tools | Bash, Read, Write, Edit, Grep, Glob |
m_ prefix_ prefixtyping_extensions for backward-compatible type hints (Python >= 3.9)[shader("compute")] attribute marks GPU entry pointsStructuredBuffer<T> / RWStructuredBuffer<T> for typed GPU arraysuint3 tid : SV_DispatchThreadID for thread indexing<T>, interfaces via interface IFoo, conformance via struct Foo : IFoo[Differentiable] float foo(float x) with bwd_diff(foo) for backpropslangpy/ (core/, bindings/, builtin/, or appropriate subpackage)slangpy/tests/pre-commit run --all-filesslangpy/bindings/ or slangpy/builtin/ -- subclass Marshall and implement resolve_types(), resolve_dimensionality(), gen_calldata(). See existing marshalls (e.g., TensorMarshall) for the pattern.slangpy/bindings/typeregistry.py -- add entry to PYTHON_TYPES dict.NativeCallDataCache constructor (src/slangpy_ext/utils/slangpyfunction.cpp).src/slangpy_ext/ affect the nanobind interfacesrc/sgl/ affect the core GPU abstractioncmake --build --preset linux-gcc-debugslangpy/core/calldata.py -- the Phase 2 pipeline (type resolution, vectorization, code generation, compilation)slangpy/bindings/codegen.py -- Slang compute kernel source generationSLANGPY_PRINT_GENERATED_SHADERS=1 to inspect generated kernelsgit checkout -b feature/descriptionslangpy/tests/cmake --build --preset linux-gcc-debug or pip install -e .pytest slangpy/tests -vpre-commit run --all-files (re-run if it modifies files)shader-slang/slangpy:mainAutonomy: Proceed through format, test, and commit without asking for confirmation. Only stop and notify the user if tests fail and the failure is not self-fixable.
/// Description.
void do_something();
/// @param v Float values.
/// @return Result.
uint32_t my_func(float2 v);
def myfunc(x: int, y: int) -> int:
"""
Description.
:param x: Some parameter.
:param y: Some parameter.
:return: Some return value.
"""
ValueError, TypeError, SlangPyError)AGENTS.md -- architecture (3 layers, 3 phases), key files, key classes, adding new types, type resolution, code styleCLAUDE.md -- references AGENTS.md, key rules (type annotations, tests, pre-commit)CONTRIBUTING.md -- PR process, branch workflow, testing requirements