Creator · ReflexioAI
Last updated · Sep 2, 2026
Run lint checks (ruff for Python, Biome for TS/JS), type checks (pyright for Python, tsc for TS/JS), and the standard pytest tiers (unit + e2e + tests skipped during pre-commit). Investigates failures to determine if they are application bugs or test issues, and fixes application
Sandbox only
Install targets
Codex install prompt
Install the "check-and-test" agent skill from https://github.com/ReflexioAI/claude-smart/tree/main/.claude/commands/check-and-test. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Run lint checks (ruff for Python, Biome for TS/JS), type checks (pyright for Python, tsc for TS/JS), and the standard pytest tiers (unit + e2e + tests skipped during pre-commit). Investigates failures to determine if they are application bugs or test issues, and fixes application bugs rather than weakening tests. Does not run paid-LLM real-API tests or scenario probes from the test-* command family. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"reflexioai-check-and-test","task":"Install check-and-test","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Testing and QA
I need my agent to test a web app, reproduce bugs, and verify fixes.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add ReflexioAI/claude-smart --skill check-and-test
Maintenance
fresh
10d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
771
76/100 Quality · 74/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
771 GitHub stars
Repo activity
771 stars, 87 forks
Maintenance
10d since push
License
Apache-2.0
Install
npx skills add ReflexioAI/claude-smart --skill check-and-test
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add ReflexioAI/claude-smart --skill check-and-testDo not use when
Alternative
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
40.8K Stars
npx skills add appsmithorg/appsmith
Alternative
175.7K Stars
npx skills add mattpocock/skills --skill implement
Alternative
30.9K Stars
npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20check-and-test%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20check-and-test%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/reflexioai-check-and-test/install
Agent should check
Copy prompt
Task: Use check-and-test in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20check-and-test%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/reflexioai-check-and-test/install
Install command: npx skills add ReflexioAI/claude-smart --skill check-and-test
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/reflexioai-check-and-test/install
LLM text format
/api/skills/reflexioai-check-and-test/install?format=text
Find alternatives
/api/skills/search?q=check-and-test&limit=3
Agent prompt
Use check-and-test for this task. Review https://www.openagentskill.com/api/skills/reflexioai-check-and-test/install, then install with: npx skills add ReflexioAI/claude-smart --skill check-and-testRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/reflexioai-check-and-test
LLM text
/api/registry/manifest/reflexioai-check-and-test?format=text
Install alias
/api/registry/install/reflexioai-check-and-test
Recommend
/api/registry/recommend?task=Use%20check-and-test%20in%20an%20agent%20workflow&limit=3
Agent fit
Testing and QA
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Testing and QA
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO771 GitHub stars
Stars/forks activity
INFO771 stars, 87 forks; issue activity unavailable in current metadata
Recent maintenance
PASS10d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Verify behavior
I need my agent to test a web app, reproduce bugs, and verify fixes.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Alternative shortlist
Similar skills that may fit this task.
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
--- name: check-and-test description: Run lint checks (ruff for Python, Biome for TS/JS), type checks (pyright for Python, tsc for TS/JS), and the standard pytest tiers (unit + e2e + tests skipped during pre-commit). Investigates failures to determine if they are application bugs or test issues, and fixes application bugs rather than weakening tests. Does not run paid-LLM real-API tests or scenario probes from the test-* command family. ---
# Check and Test
Run the standard check-and-test flow (lint + type-check + pytest tiers), including tests normally skipped during pre-commit hooks.
## Overview
This command runs the standard check-and-test tiers: - **Python lint checks** via ruff (code quality, security, complexity) - **Python type checks** via pyright (type safety) - **TypeScript/JavaScript lint checks** via Biome (code quality, formatting, import sorting) - **TypeScript/JavaScript type checks** via tsc (type safety) - **Unit tests** in `reflexio/tests/` (excluding e2e and tests under reflexio/tests/server/llm/) - **E2E tests** in `reflexio/tests/e2e_tests/` (skip all the low priority test by NOT setting RUN_LOW_PRIORITY env variable) - **Tests skipped during pre-commit** (those decorated with `@skip_in_precommit`)
The key difference from pre-commit is that `PRECOMMIT` env var is NOT set, so all tests run.
## Prerequisites
Before running tests, activate the virtual environment: ```bash source .venv/bin/activate ```
## Test Execution
**IMPORTANT**: Run all tests sequentially using `-n 0` to avoid test conflicts. The default pytest config uses parallel execution (`-n auto`), but this can cause race conditions and shared state issues between tests.
### Step 0: Run Lint and Type Checks
Run lint and type checks across the full codebase before running tests.
**0a. Ruff auto-fix:** ```bash ruff check --fix reflexio/ ruff format reflexio/ ```
**0b. Ruff remaining errors:** ```bash ruff check reflexio/ ``` If any errors remain that ruff could not auto-fix, **read each error, understand the issue, and fix the code yourself**. Do NOT skip unfixed lint errors.
**0c. Pyright type check:** ```bash pyright ``` Pyright uses `pyrightconfig.json` for scope. If any type errors are reported, **read each error, understand the type issue, and fix the code yourself**. Do NOT skip unfixed type errors.
**0d. Biome auto-fix (TypeScript/JavaScript):** ```bash cd reflexio/website && npx biome check --write . && cd ../.. cd reflexio/public_docs && npx biome check --write . && cd ../.. ```
**0e. Biome remaining errors:** ```bash cd reflexio/website && npx biome check . && cd ../.. cd reflexio/public_docs && npx biome check . && cd ../.. ``` If any errors remain that Biome could not auto-fix, **read each error, understand the issue, and fix the code yourself**. Do NOT skip unfixed Biome errors.
**0f. TypeScript type check:** ```bash cd reflexio/website && npx tsc --noEmit && cd ../.. cd reflexio/public_docs && npx tsc --noEmit && cd ../.. ``` If any type errors are reported, **read each error, understand the type issue, and fix the code yourself**. Do NOT skip unfixed tsc errors.
**Only proceed to tests after all lint and type errors are resolved.**
### Step 1: Run All Unit Tests (excluding e2e)
Run unit tests first as they are faster and don't require external services: ```bash pytest reflexio/tests/ --ignore=reflexio/tests/e2e_tests/ -n 0 -v ```
### Step 2: Run E2E Tests
E2E tests require the server to be running at http://localhost:8081. Run them separately: ```bash pytest reflexio/tests/e2e_tests/ -n 0 -v ```
### Step 3: Run Full Suite (if individual runs pass)
To run everything together: ```bash pytest reflexio/tests/ -n 0 -v ```
Note: The `-n 0` flag disables pytest-xdist parallel execution, ensuring tests run sequentially to prevent conflicts from shared database state, file locks, or other resource contention.
## Test Failure Investigation Protocol
When a test fails, **ALWAYS** investigate thoroughly before making any changes. Never take shortcuts.
### Investigation Steps
1. **Read the full test failure output** - Understand what assertion failed - Note the expected vs actual values - Check the stack trace for the error location
2. **Read the failing test code** - Understand what the test is validating - Identify what behavior the test expects
3. **Read the application code being tested** - Trace through the code path - Understand the intended behavior
4. **Determine root cause - Is this an application bug or test issue?**
### Decision Framework
**It's an APPLICATION BUG if:** - The code doesn't match documented/expected behavior - A recent change broke existing functionality - The test correctly validates a contract that the code violates - Edge cases are not handled properly - Error handling is missing or incorrect
**It's a TEST ISSUE if:** - The test has incorrect assertions (wrong expected values) - The test setup is flawed (missing mocks, wrong fixtures) - The test is testing implementation details that legitimately changed - The test has race conditions or timing issues - The test dependencies are not properly configured
### Critical Rules
1. **NEVER weaken tests to pass** - If a test checks for important behavior, fix the application 2. **NEVER remove assertions** - Unless they are genuinely wrong 3. **NEVER skip tests** - Unless there's a documented reason and a plan to fix 4. **ALWAYS fix the root cause** - Don't just make the error go away
### Fixing Application Bugs
When you identify an application bug:
1. **Understand the intended behavior** - Check docstrings, README, related tests 2. **Fix the application code** - Make it behave as expected 3. **Verify the fix** - Re-run the failing test 4. **Check for regressions** - Run related tests to ensure nothing else broke 5. **Document if needed** - Add comments explaining non-obvious fixes
### Fixing Test Issues
When you identify a test issue:
1. **Fix the test setup** - Correct fixtures, mocks, or configuration 2. **Update assertions** - Only if the expected values were genuinely wrong 3. **Improve test clarity** - Add comments explaining what's being tested 4. **Re-run to verify** - Ensure the test passes with correct behavior
## Example Investigation
``` FAILED test_user_profile_update - AssertionError: expected 'active' but got 'pending' ```
**Bad approach (NEVER DO THIS):** ```python # Just change the assertion to pass assert status == 'pending' # Changed from 'active' ```
**Good approach:** 1. Read `test_user_profile_update` to understand what it's testing 2. Check if `'active'` is the correct expected status after an update 3. If yes, investigate why the code returns `'pending'` - this is an app bug 4. Fix the application code to return `'active'` when appropriate 5. Re-run the test to confirm the fix
## Test Categories
### Tests with `@skip_in_precommit`
These tests are skipped during pre-commit but should run in full test suite: - Integration tests requiring real API calls - Long-running tests - Tests requiring specific infrastructure
Location: Check `reflexio/tests/server/test_utils.py` for the decorator definition.
### E2E Tests
End-to-end tests in `reflexio/tests/e2e_tests/`: - Require server running at http://localhost:8081 - Use real database and external services - Test complete user workflows
### Unit Tests
Fast, isolated tests that: - Use mocked LLM responses (via conftest.py) - Don't require external services - Test individual functions and classes
## Common Issues and Solutions
### LLM Mock Issues - Unit tests use mocked LLM responses - E2E tests use real API calls - Check `conftest.py` for mock behavior
### Database Issues - E2E tests require running database (SQLite by default)
### Server Not Running - E2E tests need server at http://localhost:8081 - Start with appropriate command before running e2e tests
## Summary
1. Run all tests without `PRECOMMIT=1` to include skipped tests 2. Investigate every failure thoroughly 3. Distinguish between app bugs and test issues 4. Fix application code when the test is correct 5. Never weaken tests just to make them pass
Source provenance
Decision snapshot
771 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for check-and-test, ready for a manual X post.
check-and-test: Run lint checks (ruff for Python, Biome for TS/JS), type checks (pyright for Python, tsc for... 771 stars https://www.openagentskill.com/skills/reflexioai-check-and-test?ref=x
Listing + install path for check-and-test: https://www.openagentskill.com/skills/reflexioai-check-and-test?ref=x Install: npx skills add ReflexioAI/claude-smart --skill check-and-test
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to ReflexioAI but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/reflexioai-check-and-test?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/reflexioai-check-and-test?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/reflexioai-check-and-test/audit)
[](https://www.openagentskill.com/skills/reflexioai-check-and-test?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)ReflexioAI
@reflexioai
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K StarsAppsmith
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
40.8K StarsImplement
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
175.7K StarsVercel React Best Practices
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
30.9K StarsPermission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness