test-skill

Validate embedded resource discovery and access within a Skill Unit.

7.5k|1.4k|Updated Dec 8, 2024
One-click install
npx skills add https://github.com/antinomyhq/forge --skill test-skill-antinomyhq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-skill
Source: https://github.com/antinomyhq/forge/tree/main/crates/forge_repo/src/fixtures/skills_with_resources/test-skill
Command: npx skills add https://github.com/antinomyhq/forge --skill test-skill-antinomyhq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill unit provides a minimal, self-contained example for validating discovery and loading of embedded resources within a Skill Unit, ensuring tooling can locate and access resource files during runtime.

Core Features & Use Cases

  • Self-contained skill with a frontmatter-defined name and description, plus sample resource files demonstrating resource loading.
  • Useful for testing tooling, frontmatter parsing, and resource retrieval across a small directory structure.
  • Use Case: Validate that a consumer can enumerate resource files like file_1.txt, foo/file_2.txt, and foo/bar/file_3.txt.

Quick Start

To verify this skill, load it in your Forge environment and check for accessible resources:

  • List root resources: file_1.txt, foo/file_2.txt, foo/bar/file_3.txt
  • Read contents of a sample resource to confirm access: cat file_1.txt

Frequently Asked Questions about test-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate resource loading in a skill unit?

Validating resource loading in a skill unit requires checking that tooling can locate and access embedded files during runtime. This skill provides a self-contained example to verify frontmatter parsing and resource retrieval across a small directory structure.

How do I test frontmatter parsing for name and description fields?

Testing frontmatter parsing involves verifying the SKILL.md file contains required name and description fields. This skill ensures frontmatter-defined metadata is correctly parsed and accessible by consumer tooling during skill unit validation.

Can I enumerate nested resource files like file_1.txt and foo/file_2.txt?

Enumerating nested resource files like file_1.txt, foo/file_2.txt, and foo/bar/file_3.txt is supported. This skill validates that a consumer can discover and access resources across multiple directory levels within a skill unit.

What's the best way to verify embedded resources are accessible at runtime?

Verifying embedded resource accessibility at runtime is done by loading the skill in a Forge environment and reading sample file contents. This confirms tooling can successfully locate and retrieve packaged resource files during execution.

Do I need any dependencies to test skill unit packaging?

No dependencies are required to test skill unit packaging. This skill operates as a minimal, self-contained unit with no external dependencies, making it suitable for validating frontmatter parsing and resource loading in isolation.