Skip to content
Back to skills

Build And Test

ASecurity

Use when validating manifests, links, Markdown samples, Python formatting, or running scenario evals in angelscript-agent-kit.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentspythonnodeapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add angelscript-tools/angelscript-agent-kit --skill build-and-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Build And Test?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Build And Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/angelscript-tools-build-and-test/badge)](https://www.skillsdirectory.com/skills/angelscript-tools-build-and-test)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: build-and-test
description: Use when validating manifests, links, Markdown samples, Python formatting, or running scenario evals in angelscript-agent-kit.
---

# Build and Test

## Steps

1. Validate manifests, directory-plugin rules, icons, the packaged skill frontmatter (`check_frontmatter()` checks `plugins/angelscript/skills/angelscript/SKILL.md` only and does not inspect `.agents/skills/*/SKILL.md`), tool names, relative Markdown links, and `evals/scenarios.json`:
   ```sh
   python -I scripts/validate.py
   ```
2. Optionally compile-check every fenced `angelscript` block in Markdown files with `angelscript-cli` (`asc`):
   ```sh
   python -I scripts/validate.py --compile /abs/path/to/asc
   ```
3. Check Python formatting (`scripts/*.py`, `evals/fixture.py`) against `ruff.toml` (120-column line limit):
   ```sh
   ruff format --check scripts evals
   ```
   `ruff format --check` only checks formatting and never modifies files. Exit status 0 means no formatting changes are needed. Existing formatting drift in `scripts/eval.py` is currently open (do not reformat source files).
4. Run live agent evals (`evals/scenarios.json`) when built `angelscript-mcp` (`dist/index.js`) and `angel_lsp` are available:
   - Prerequisites on `PATH`: `node` (Node.js 20+), `npx`, and the selected agent CLI (`codex` or `agy`).
   - Pass absolute paths to `--mcp-entry` and `--lsp-path` (`scripts/eval.py` forwards both paths verbatim and executes the agent inside a temporary workspace where relative paths resolve from the wrong directory):
   ```sh
   python -I scripts/eval.py codex --mcp-entry /abs/path/to/angelscript-mcp/dist/index.js --lsp-path /abs/path/to/angel_lsp
   python -I scripts/eval.py agy   --mcp-entry /abs/path/to/angelscript-mcp/dist/index.js --lsp-path /abs/path/to/angel_lsp --scenario fix-errors
   ```
   Pass `--scenario fix-errors` (or `use-host-api`, `rename-method` from `evals/scenarios.json`) to run a single scenario, or `--no-skill` to measure the baseline without the skill.

## Expected result

- `scripts/validate.py` prints `ok` and exits 0.
- `ruff format --check scripts evals` exits 0 when no files need formatting (note: existing formatting drift in `scripts/eval.py` is open).
- `scripts/eval.py` prints a `PASS  <scenario-id>` line (for example, `PASS  fix-errors`) and exits 0. A run succeeded only when the requested scenario prints `PASS`: an unknown `--scenario` value selects zero scenarios and still exits 0 because `all(...)` over an empty list is true.

## Rules

- Keep `plugins/angelscript/` limited to inert `.md`, `.json`, `.png`, and `LICENSE` files.
- Never reference unknown `angelscript_*` names or retired tool names in Markdown (`validate.py` rejects them).
- Keep relative Markdown links valid from each file's directory, and never include personal paths, emails, or usernames in any file.
- Only the user commits, pushes, or tags.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.