Skip to content
Back to skills

Catann

ASecurity

Run the Firegame catann test workflow (start dev server, run test script, and collect screenshots/logs).

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
toolspythonshellbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill catann --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Catann?

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

Security grade badge for Catann
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-catann/badge)](https://www.skillsdirectory.com/skills/david-li0406-catann)

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: catann
description: Run the Firegame catann test workflow (start dev server, run test script, and collect screenshots/logs).
---

# Skill: catann

Always include the full `test_catann.sh` output in the final response. If
`screenshot.png` exists, always show it in the response even when the test
fails.

## Summary flow

1. Start the dev server (keep it running).
2. Run tests and capture output.
3. Collect `screenshot.png` (if present).
4. Host the image locally and attach it.
5. Report results + full logs.

## Timestamp format (NYC time)

At the start of each numbered step, record a timestamp in America/New_York
using:

```bash
TZ=America/New_York date "+%Y-%m-%d %H:%M:%S %Z"
```

Include the raw command output in your notes/output for that step.

## 1) Start the dev server (keep running for hot reloads)

```bash
cd /workspace/firegame/app/firegame
yarn start
```

Keep this command running.

## 2) Run tests and capture output

In another shell:

```bash
cd /workspace/firegame/app
timeout 300s bash ./test_catann.sh --codex
```

If the timeout is hit, report it as a failure and proceed to collect the
screenshot (if available).

## Fix mode (only if explicitly requested)

If the prompt explicitly requests, fix the failing test and rerun it until
it passes, then continue with the screenshot steps.

## 3) Locate output image (if present)

```bash
cd /workspace/firegame/app/firegame/test-results
ls
# pick the folder just created, then:
cd <test-results-subfolder>
ls
# expect: screenshot.png
```

## 4) Host image locally (for browser pickup)

```bash
python -m http.server -b 0.0.0.0 8001
```

## 5) Screenshot capture (browser tool / Playwright)

If a browser tool is available, open `http://localhost:8001/screenshot.png`
and include it in the response. If no browser tool is available, still
mention whether `screenshot.png` was found and hosted.
Ensure the screenshot capture waits for network idle (e.g., use a browser
tool's equivalent of Playwright's `wait_until='networkidle'`) before
attaching the image.

Files in this skill

  • AGENTS.md1.8 KB
  • SKILL.md2 KB

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.

Comments

Loading comments…