← 返回
未分类 中文

Vulkan Encyclopedia

Vulkan specification/reference workflow for Vulkan-API-specific questions, exact command and structure semantics, valid-usage and VUID lookup, synchronizatio...
Vulkan 规范/参考工作流,针对 Vulkan‑API 特定问题,提供精准的命令和结构语义、合法使用及 VUID 查询、同步...
kklouzal kklouzal 来源
未分类 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 407
下载
💾 0
安装
1
版本
#latest

概述

Vulkan Encyclopedia

Overview

Use a docs-first workflow for Vulkan work. Prefer the official Vulkan specification/reference docs at https://docs.vulkan.org/spec/latest/index.html, consult cached local copies under .Vulkan-Encyclopedia/ before re-fetching, and record useful authoritative excerpts plus environment-specific operational learnings so future work gets faster, safer, and more grounded.

This skill is for the Vulkan API/spec layer, not for generic rendering theory and not for standalone shader-language questions unless they are being asked in direct service of Vulkan API behavior.

Workflow

  1. Classify the task
    • Decide whether the task is a Vulkan API question, specification lookup, code-review task, validation/debugging task, architecture/design task, or live implementation task.
    • Use this skill when the task materially depends on Vulkan API semantics, Vulkan object/command structure, extension/feature behavior, synchronization rules, limits/capabilities/formats, or validation/spec interpretation.
    • Do not use this skill for generic graphics concepts, standalone shader-language work, or engine-level rendering discussion unless the Vulkan API/spec layer is actually in play.
  1. Check local cache first
    • Use .Vulkan-Encyclopedia/ as the local knowledge/cache root.
    • Check these locations first when relevant:
    • .Vulkan-Encyclopedia/docs/docs.vulkan.org/spec/latest/...
    • .Vulkan-Encyclopedia/notes/components/...
    • .Vulkan-Encyclopedia/notes/patterns/...
    • .Vulkan-Encyclopedia/inventory/...
    • If a cached page or note already answers the question well enough, use it.
  1. Consult authoritative Vulkan docs before answering or acting
    • Before answering direct or indirect Vulkan questions that depend on API semantics, exact command/structure rules, feature or extension behavior, synchronization guarantees, limits, valid usage, or version-sensitive details, consult the official Vulkan docs unless the answer is already well-supported by the local cache.
    • Before performing non-trivial Vulkan code review or implementation guidance, consult the relevant docs first when:
    • exact member names, allowed states, or command rules matter
    • synchronization or resource-lifetime behavior is easy to misremember
    • the task involves VUID interpretation, extension/feature enabling, or pipeline/resource correctness
    • If the problem is really about GLSL syntax/qualifiers/stage interfaces rather than Vulkan API semantics, prefer the GLSL skill instead of stretching this one.
    • Do not improvise fragile Vulkan answers from memory when the spec is easy to check.
  1. Cache consulted docs locally
    • When you consult a Vulkan docs page, save a normalized cache copy under .Vulkan-Encyclopedia/docs/docs.vulkan.org/spec/latest/....
    • Mirror the official docs path structure as much as practical.
    • Cache only pages actually consulted; do not try to mirror the whole spec eagerly.
    • Use scripts/cache_doc.py when appropriate.
  1. Separate authoritative documentation from local observations
    • Store official-doc-derived material under .Vulkan-Encyclopedia/docs/....
    • Store environment-specific operational knowledge under:
    • .Vulkan-Encyclopedia/notes/components/
    • .Vulkan-Encyclopedia/notes/patterns/
    • .Vulkan-Encyclopedia/inventory/
    • Distinguish clearly between:
    • authoritative documented behavior
    • observed project/environment state
    • inferred best-practice guidance
  1. Record useful local learnings
    • After useful live work, save durable notes such as:
    • project-specific Vulkan architecture notes
    • recurring validation/debugging patterns
    • extension/feature adoption decisions
    • synchronization/resource-management gotchas
    • safe/unsafe operational boundaries for the codebase or environment
    • Prefer concise durable notes over re-learning the same Vulkan details later.

Live Work Rules

  • Treat spec lookup as the default preflight for non-trivial Vulkan work.
  • Prefer read/inspect first when entering unfamiliar Vulkan code.
  • Treat synchronization, memory/resource lifetime, queue ownership, layout transitions, extension/feature gating, and validation/VUID interpretation as higher-sensitivity areas.
  • When uncertainty remains after checking cache + docs, say so and avoid bluffing.
  • When answering a question, mention when useful whether the answer comes from cached official docs, a fresh official docs lookup, or live observed project state.

Data Root

Use this workspace-local root for cache and notes:

  • .Vulkan-Encyclopedia/

Expected structure:

  • .Vulkan-Encyclopedia/docs/docs.vulkan.org/spec/latest/...
  • .Vulkan-Encyclopedia/notes/components/...
  • .Vulkan-Encyclopedia/notes/patterns/...
  • .Vulkan-Encyclopedia/inventory/...

Use scripts/init_workspace.py to create or repair the expected directory structure.

Note Destinations

  • Component-specific observations → .Vulkan-Encyclopedia/notes/components/.md
  • Reusable Vulkan patterns/gotchas → .Vulkan-Encyclopedia/notes/patterns/.md
  • Environment-wide architecture/access info → .Vulkan-Encyclopedia/inventory/*.md
  • Cached official docs → .Vulkan-Encyclopedia/docs/docs.vulkan.org/spec/latest/...

Secrets / Sensitive Data

  • Do not store plaintext credentials, API keys, session tokens, private URLs, recovery codes, or other secrets in the encyclopedia notes/inventory tree.
  • If a note needs to mention access details, keep it high-level and redact or omit secret material.
  • Treat these workspace notes as operational memory, not as a secrets vault.

Resources

  • scripts/init_workspace.py — create or repair the .Vulkan-Encyclopedia/ directory tree.
  • scripts/cache_doc.py — fetch and cache a consulted official Vulkan docs page under .Vulkan-Encyclopedia/docs/....
  • references/workflow.md — detailed operating workflow and evidence-handling rules.
  • references/cache-layout.md — canonical .Vulkan-Encyclopedia/ directory structure.
  • references/topic-map.md — useful Vulkan topic groupings for faster authoritative lookup.

Good Outcomes

  • Answer a Vulkan question using cached or freshly checked official docs instead of guesswork.
  • Inspect Vulkan code after checking the relevant spec pages and record any new project-specific operational knowledge.
  • Build a growing local Vulkan knowledge cache that makes later work faster, safer, and more grounded.
  • Turn one-off Vulkan discoveries into durable notes so future work does not rediscover them from scratch.

Avoid

  • Answering Vulkan-specific questions purely from memory when the spec is easy to consult.
  • Treating local observed engine/project behavior as if it were guaranteed authoritative Vulkan behavior.
  • Dumping large amounts of low-value docs into the workspace without a reason.
  • Writing project-specific observations into the official-doc cache tree.
  • Making high-confidence claims about synchronization/valid-usage details without checking the spec when exact behavior matters.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-05-07 04:39 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 197 📥 68,033
dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 78 📥 182,615
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 681 📥 329,904