solid-sheets
Use when reading or writing Solid spreadsheet workbook or column descriptor RDF, maintaining @jeswr/solid-sheets, or regenerating its model and compatibility facade.
- License 许可
- MIT
- 所属仓库
- jeswr/solid-sdk
- 最近更新
- 2026-11-15
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- solid-sheets
- description
- Use when reading or writing Solid spreadsheet workbook or column descriptor RDF, maintaining @jeswr/solid-sheets, or regenerating its model and compatibility facade.
02 资源文件 30
- 参考文档biome.json72 B
- 参考文档codegen/codegen.config.json843 B
- 其他codegen/sheets.ontology.ttl3.0 KB
- 其他codegen/sheets.shapes.ttl3.3 KB
- 许可证LICENSE1.0 KB
- 参考文档package.json1.9 KB
- 参考文档README.md5.7 KB
- 脚本scripts/copy-generated.mjs413 B
- 脚本src/columns.ts3.6 KB
- 脚本src/descriptor.ts4.0 KB
- 参考文档src/generated/codegen-manifest.json842 B
- 参考文档src/generated/codegen.lock.json434 B
- 脚本src/generated/model.d.ts4.9 KB
- 脚本src/generated/model.js6.7 KB
- 参考文档src/generated/model.json6.2 KB
- 其他src/generated/shapes.ttl8.0 KB
- 脚本src/index.ts324 B
- 脚本src/layout.ts1017 B
- 脚本src/resource.ts2.4 KB
- 脚本src/vocab.ts200 B
- 脚本src/workbook.ts5.3 KB
- 脚本test/codegen.test.ts1.1 KB
- 脚本test/compatibility.test.ts7.7 KB
- 脚本test/fixtures.ts611 B
- 参考文档test/fixtures/descriptor.jsonld.txt1.7 KB
- 其他test/fixtures/workbook.ttl1.3 KB
- 脚本test/rdf.test.ts9.5 KB
- 参考文档tsconfig.build.json148 B
- 参考文档tsconfig.json182 B
- 脚本vitest.config.ts212 B
03 SKILL.md 正文
<!-- AUTHORED-BY Codex (GPT-6.1 Sol) -->
Generated spreadsheet model
The source of truth is codegen/: a minimal ontology over existing standard IRIs, its
SHACL profile and config. No matching federation sector exists. Read federation-codegen
and model-runtime's package skills before changing those inputs. Run
pnpm --filter @jeswr/solid-sheets run codegen --update-lock after reviewing input changes;
never edit src/generated/. The drift test compares all artifacts byte for byte.
Workbook, Download, Descriptor and Column are generated flat entities. Build and parse
through those entities in src/workbook.ts and src/descriptor.ts. Keep the facade for
arbitrary-size lists, workbook dual typing, exact URLs, uniqueness/order and column
format/datatype correlation. Dataset fields are optional in SHACL because a workbook is
also a Dataset; the descriptor facade enforces required values. Preserve snapshot encoding's
original optional read behavior. Namespace constants come from @jeswr/suite-vocab.
SheetResource is a minimal compatibility view for arbitrary comment/Type Index predicates,
not the model build/parse implementation. sheetRegistrations is a minimal DatasetWrapper
enumeration adapter; protocol I/O stays in Suite. Do not restore hand-written vocabulary classes.
CSV I/O, snapshots, storage, React hooks and app orchestration stay in Suite. Only descriptor
metadata inference and its shared types/validation belong here.
Keep the copied RDF oracle verbatim except import paths and keep all Suite tests unchanged.
Pin every behavior change in test/compatibility.test.ts and README "Exact divergences".
Reject JSON-LD contexts before parsing. Parse through fetch-rdf, write through generated
entities/accessors and serialize with the existing RDF serializers; never build raw triples.
Run the package and app gates listed in README. The build copies generated JS and
precise declarations into dist/generated; never commit dist. No mirror is configured.
04 同仓库更多 Skills
storage-conformance
Work on @jeswr/storage-conformance, the shared storage conformance suite package in the Solid SDK workspace.
fetch-rdf-engine-tests
Maintain fetch-rdf's real Node WASM parser integration tests without introducing a reverse engine dependency in fetch-rdf.
alpha
Use when checking fixtures, including folded YAML descriptions.
widget
Use when testing package skills: YAML quoting works.
web-seo
Use when improving technical and entity SEO for a modern personal, portfolio, documentation, or marketing site, including crawlable HTML, canonical metadata, sitemap and robots, Person/ProfilePage JSON-LD, Core Web Vitals, and honest ranking expectations.
solid-wac
Use when implementing or auditing Solid server WAC authorization, ACL creation and inheritance, auxiliary-resource escalation, method-to-mode mapping, 401 versus 403 challenges, WAC-Allow, or defensive typed ACL parsing with @solid/object and @rdfjs/wrapper.