AGENT SKILL

fs-skia-project

Work on a generated FS.Skia.UI product.

License 许可
MIT
最近更新
2026-06-16
Stars
★ 2
Forks
0

01 前言 Front Matter

name
fs-skia-project
description
Work on a generated FS.Skia.UI product.

03 SKILL.md 正文

Generated Product

Scope

Owns product application code, product tests, product docs, readiness evidence, and selected capability skills copied into this product.

Public Contract

The product references FS.Skia.UI capability packages. Product API contracts belong in product .fsi files when public surfaces are introduced.

Usage

Compose selected capability packages at the product entry point:

open FS.Skia.UI.Scene
open FS.Skia.UI.SkiaViewer

// Product entry point wiring selected capabilities into the host.
let view model : SceneNode =
    Scene.group [ Scene.textAt { X = 12.0; Y = 24.0 } "product"
                    { Red = 255uy; Green = 255uy; Blue = 255uy; Alpha = 255uy } ]

[<EntryPoint>]
let main _ =
    match Viewer.runApp viewerOptions generatedHost with
    | Ok _ -> 0
    | Error _ -> 1

Build Commands

Generated FAKE-backed commands (./fake.sh, fake.cmd, or dotnet fake) share .fake state and are not safe to run concurrently. Run multiple FAKE-backed commands sequentially:

  1. ./fake.sh build -t Dev
  2. ./fake.sh build -t Test
  3. ./fake.sh build -t Verify

Non-FAKE checks may run in parallel when they do not invoke FAKE or depend on .fake.

Test Commands

Run ./fake.sh build -t Test for product tests and selected capability usage checks.

Evidence

Store product evidence under product readiness paths. Do not copy framework readiness evidence into the product.

Package Boundary

Reference selected capability packages. Do not copy framework implementation projects into consumer-mode products.

Generated Product

Keep product governance focused on product behavior, generated guidance, drift, and evidence gates.

Persistent problems

When a problem outlasts reasonable in-repo attempts, extensive external research is mandatory — consult official online docs first (the F#/.NET docs and the driven library's own documentation/API reference), then community sources (forums, Reddit, Q&A sites, issue trackers and changelogs). Record the findings and resolving links in the feature's specs/<feature>/feedback/ folder and, for durable lessons, in this skill's Sources line. Offline, the mandate degrades to recording "research blocked — <why>" rather than hard-failing the phase.

Related

  • [[fs-skia-scene]] — the base capability every product profile selects.
  • [[fs-skia-testing]] — assert generated structure, drift, and readiness gates.

Sources / links

04 同仓库更多 Skills