agentleFS
theinternetitheinterneti/TTA.dev/.github/skills/build-test-verify/SKILL.md

build-test-verify

Skill0 starsChanged 7 months agoMITView on GitHub

Use this skill when asked to build the project, run tests, lint the code, check types, or verify that the TTA.dev platform is stable before committing. Invoke when the user says "run tests", "check quality", "lint", "format", "verify", or before any commit or PR.

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use available code analysis tools if configured.

    line 16
  2. Distinctive:

    Lint: Run Ruff linter with auto-fix.

    line 23
  3. Distinctive:

    Type Check: Run Pyright in basic mode.

    line 28
  4. Very specific:

    Type errors: Ensure all new functions have strict type annotations (str | None, not Optional[str]).

    line 49
  5. Very specific:

    Import errors: All primitives imports must use from ttadev.primitives.X — never from primitives.X.

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Build, Test, and Verify (TTA.dev)

Validate code changes to ensure they meet quality standards before committing.

Process

Execute the following steps in order. Do not skip steps.

  1. Orient (before writing any code): search the codebase for the target function/class, analyze its callers and dependencies, and assess complexity/risk level. Use available code analysis tools if configured; otherwise proceed with manual review.
  2. Format: Apply Ruff formatting (100-char line length).
    uv run ruff format .
  3. Lint: Run Ruff linter with auto-fix.
    uv run ruff check . --fix
  4. Type Check: Run Pyright in basic mode.
    uvx pyright ttadev/
  5. Run Tests: Execute the pytest suite (100% coverage required for new code).
    uv run pytest -v --tb=short -m "not integration and not slow and not external"
  6. Full coverage (when adding new code):
    uv run pytest --cov=ttadev --cov-report=html
  7. Validate in sandbox (when adding or changing Python code): run the identified tests inside a clean sandbox environment if available (e.g. E2B). If unavailable, fall back to local pytest and note the deviation.

Common Issues

  • Type errors: Ensure all new functions have strict type annotations (str | None, not Optional[str]).
  • Test failures: Fix the implementation, never comment out tests. Follow the AAA pattern (Arrange-Act-Assert).
  • Import errors: All primitives imports must use from ttadev.primitives.X — never from primitives.X.
  • Quarantined tests: Tests marked @pytest.mark.quarantine are auto-skipped unless selected with -m quarantine.

Deep Reference

For full testing patterns, markers, CI pipeline details, and MockPrimitive API, see docs/agent-guides/testing-architecture.md.

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.