Skip to content
Skillv1.0.0

glsl-testing

This repository provides documentation and tests for GLSL built-in functions. To add a new function or update existing ones, follow these guidelines.

by tkskto(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from tkskto/glsl-testing (AGENTS.md). Install upstream with npx skills add tkskto/glsl-testing. Copyright stays with the author.

AGENTS instructions

This repository provides documentation and tests for GLSL built-in functions. To add a new function or update existing ones, follow these guidelines.

Structure

  • Implementations live under test/built-in-functions/ and are written in TypeScript (.mts).
  • Unit tests reside in test/spec/ as JavaScript (.mjs) files using the ava framework.
  • Documentation for each function is located in docs/built-in-functions/ and loads the implementation and tests via raw-loader.
  • Vector helpers such as vec2, vec3, and vec4 are defined in test/basic-types.

Development

  • Use Node.js 18 or later.
  • Run npm test before committing to ensure all tests pass.
  • Keep code style consistent with existing files (4-space indentation, ES modules).

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/tkskto-glsl-testing-glsl-testing/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

tkskto-glsl-testing-glsl-testing.ocm.jsonjson
{
  "ocm": "1",
  "id": "tkskto-glsl-testing-glsl-testing",
  "kind": "skill",
  "name": "glsl-testing",
  "description": "This repository provides documentation and tests for GLSL built-in functions. To add a new function or update existing ones, follow these guidelines.",
  "publisher": "tkskto",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "This repository provides documentation and tests for GLSL built-in functions. To add a new function or update existing ones, follow these guidelines."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/tkskto/glsl-testing",
      "path": "AGENTS.md",
      "ref": "0134f90f1055fd126cc64c67cc88dd1518e91e3a",
      "url": "https://github.com/tkskto/glsl-testing/blob/0134f90f1055fd126cc64c67cc88dd1518e91e3a/AGENTS.md",
      "key": "tkskto/glsl-testing/AGENTS.md"
    }
  },
  "instructions": "# AGENTS instructions\n\nThis repository provides documentation and tests for GLSL built-in functions. To add a new function or update existing ones, follow these guidelines.\n\n## Structure\n\n- Implementations live under `test/built-in-functions/` and are written in TypeScript (`.mts`).\n- Unit tests reside in `test/spec/` as JavaScript (`.mjs`) files using the `ava` framework.\n- Documentation for each function is located in `docs/built-in-functions/` and loads the implementation and tests via `raw-loader`.\n- Vector helpers such as `vec2`, `vec3`, and `vec4` are defined in `test/basic-types`.\n\n## D",
  "cost": {
    "context_tokens": 195
  }
}

Fetch it by URL: GET /api/v1/registry/tkskto-glsl-testing-glsl-testing/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.