agentleFS
ww-w-aiww-w-ai/bkit-codex/.agents/skills/zero-script-qa/SKILL.md

zero-script-qa

Skill70 starsChanged 9 months agoApache-2.0View on GitHub

Zero Script QA methodology: log-based testing without writing test scripts. Uses Docker logs, curl commands, and runtime verification for quality assurance. Triggers: zero script qa, log-based testing, docker logs, QA, test without scripts, 제로 스크립트 QA, 로그 기반 테스트, ゼロスクリプトQA, ログベーステスト, 零脚本QA, 日志测试, QA sin scripts, QA sans script, skriptloses QA Do NOT use for: unit testing frameworks (use standard test tools), deployment (use $phase-9-deployment).

  • Sends data out

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Test each endpoint with curl:

    line 39
  2. Distinctive:

    Check Docker logs for each operation:

    line 66

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Zero Script QA Skill

Quality assurance through logs and runtime verification, no test scripts needed.

What is Zero Script QA?

Zero Script QA verifies application quality by analyzing runtime behavior through Docker container logs and HTTP responses, eliminating the need to write traditional test scripts.

Actions

ActionDescriptionExample
startBegin QA session$zero-script-qa start
verifyVerify specific feature$zero-script-qa verify auth
reportGenerate QA report$zero-script-qa report

Methodology

Step 1: Start Application with Docker

docker compose up -d
docker compose logs -f app

Step 2: API Endpoint Verification

Test each endpoint with curl:

# Health check
curl -s http://localhost:3000/api/health | jq .

# Create user
curl -s -X POST http://localhost:3000/api/users \
  -H "Content-Type: application/json" \
  -d '{"email":"test@test.com","name":"Test User","password":"pass123"}' | jq .

# Login
curl -s -X POST http://localhost:3000/api/auth/login \
  -H "Content-Type: application/json" \
  -d '{"email":"test@test.com","password":"pass123"}' | jq .

# Authenticated request
TOKEN=$(curl -s -X POST http://localhost:3000/api/auth/login \
  -H "Content-Type: application/json" \
  -d '{"email":"test@test.com","password":"pass123"}' | jq -r '.access_token')

curl -s http://localhost:3000/api/users/me \
  -H "Authorization: Bearer $TOKEN" | jq .

Step 3: Log Analysis

Check Docker logs for each operation:

# Check for errors
docker compose logs app --tail 100 | grep -i error

# Check for warnings
docker compose logs app --tail 100 | grep -i warn

# Check database queries
docker compose logs db --tail 50

# Monitor real-time
docker compose logs -f --tail 0 app

Step 4: Edge Case Verification

# Invalid input (expect 400)
curl -s -X POST http://localhost:3000/api/users \
  -H "Content-Type: application/json" \
  -d '{"email":"invalid","name":"","password":"short"}' | jq .

# Unauthorized access (expect 401)
curl -s http://localhost:3000/api/users/me | jq .

# Not found (expect 404)
curl -s http://localhost:3000/api/users/nonexistent-id | jq .

# Duplicate creation (expect 409)
curl -s -X POST http://localhost:3000/api/users \
  -H "Content-Type: application/json" \
  -d '{"email":"test@test.com","name":"Duplicate","password":"pass123"}' | jq .

Step 5: Performance Check

# Response time measurement
time curl -s http://localhost:3000/api/health > /dev/null

# Multiple requests
for i in {1..10}; do
  time curl -s http://localhost:3000/api/users > /dev/null 2>&1
done

# Container resource usage
docker stats --no-stream

QA Report Template

# Zero Script QA Report

## Environment
- Date: YYYY-MM-DD
- Docker version: X.X.X
- Containers: app, db, redis

## Endpoint Tests

| Endpoint | Method | Expected | Actual | Status |
|----------|--------|----------|--------|--------|
| /api/health | GET | 200 | 200 | PASS |
| /api/users | POST | 201 | 201 | PASS |
| /api/auth/login | POST | 200 | 200 | PASS |
| /api/users (no auth) | GET | 401 | 401 | PASS |

## Error Log Summary
- Errors found: X
- Warnings found: X
- Details: [list each error]

## Performance
- Average response time: Xms
- Container memory: X MB
- Container CPU: X%

## Verdict: PASS / FAIL

QA Methodology Reference

See references/qa-methodology.md for detailed Zero Script QA patterns.

When to Use

  • Rapid prototyping QA (no time for test scripts)
  • API verification during development
  • Integration testing after Phase 6
  • Pre-deployment smoke testing
  • BaaS application testing (bkend.ai)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.