rdf-ontologies
掌握 RDF 本体和 Turtle (TTL) 语法。用于使用语义 Web 标准创建功能规范、领域模型、架构计划。涵盖:Turtle 语法、SPARQL 查询、Oxigraph RDF 存储、SHACL 验证、.specify/ 工作流程。当设计特征、建模域、编写规范或查询 RDF 数据时。
📖 中文导读:掌握 RDF 本体和 Turtle (TTL) 语法。用于使用语义 Web 标准创建功能规范、领域模型、架构计划。涵盖:Turtle 语法、SPARQL 查询、Oxigraph RDF 存储、SHACL 验证、.specify/ 工作流程。当设计特征、建模域、编写规范或查询 RDF 数据时。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: rdf-ontologies description: "Master RDF ontologies and Turtle (TTL) syntax for feature specifications, domain models, and architecture plans." allowed_tools: "Read, Write, Edit, Bash(cargo make speckit:*)"
RDF Ontologies Skill
What is RDF?
Resource Description Framework: Semantic web standard for expressing knowledge as triples
Subject → Predicate → Object
Alice → hasEmail → alice@example.com
Feature-001 → hasTitle → "Test Audit"
Turtle (TTL) Syntax
@prefix spec: <http://ggen.io/spec/> .
spec:feature-001 a spec:Feature ;
spec:title "Feature Title" ;
spec:priority spec:P1 ;
spec:hasUserStory spec:us-001 .
spec:us-001 a spec:UserStory ;
spec:title "As a user..." ;
spec:hasAcceptanceCriterion spec:ac-001 .
Workflow
- Create
.specify/specs/NNN-feature/*.ttl - Validate:
cargo make speckit-validate - Render markdown:
cargo make speckit-render - TTL is source of truth (never edit .md)
Reference
See CLAUDE.md sections:
- Development Workflow (Create Feature Specification)
- File Organization (.specify/)
- Agents: speckit-architect