Back to skills
SKILL.md
Qa 11x Architect
ASecurityMaster QA 11X & DevSecOps orchestrator (@sinfallas/mcp-qa-11x). Use whenever initializing or auditing QA in a repository, merging .example blueprints, writing or updating unit/BDD/mutation/E2E tests, enforcing STIG/OWASP controls, running ephemeral Docker QA, or certifying tasks before local commit.
- 3 stars
- 0 votes
- 0 copies
- 1 view
- Added November 29, 2026
Works with
Security analysis
100/100Pro scans all 11 files and shows the line behind each finding
npx -y skills add tecno-consultores/qa-11x --skill qa-11x-architect --agent claude-codeAre you the author of Qa 11x Architect?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tecno-consultores-qa-11x-architect)---
name: qa-11x-architect
description: >-
Master QA 11X & DevSecOps orchestrator (@sinfallas/mcp-qa-11x). Use whenever initializing or auditing QA in a
repository, merging .example blueprints, writing or updating unit/BDD/mutation/E2E tests, enforcing STIG/OWASP
controls, running ephemeral Docker QA, or certifying tasks before local commit.
---
# Master QA-11X v3.17 Routing Orchestrator (`qa-11x-architect`)
> **OUTPUT LANGUAGE & DYNAMIC MIRRORING (Spec 19):** Reply in user's prompt language; human docs/commits match `README.md`/`CHANGELOG.md` (`.agents/**` EN).
Corporate Standard 11X orchestrator (**15 stacks**): 3-path routing, 13-layer pyramid, Rule Zero non-root Docker (`sinfallas/*`), Token Economy (`AST-First`, `Pass-Quiet/Fail-Verbose`), `QA-GIT-GATE-01`, and lazy sub-skills.
---
## 1. Adoption Tier, 3-Path Routing & MCP Tools (`QA-GIT-GATE-01`)
Read `.qa-11x.json` v3 (`tier: starter|standard|enterprise`; default `standard` non-TTY) and open mutating tasks with **`[QA-11X | Tier: <tier> | Path: <DOCS_ONLY|MICRO_CHANGE|FULL_11X>]`**. On first mutating task, if `!tierConfirmedByUser` or `inspect_project_config` flags missing/legacy governance docs, ask once and persist in `.qa-11x.json` (never overwrite legacy docs). Pre-commit (**NEVER auto-`git push`**, `QA-GIT-GATE-01`): sync `CHANGELOG.md` (`## [Unreleased]`), `TESTING.md`, `ROADMAP.md`:
- **`DOCS_ONLY` (human `*.md`/`docs/**`; excludes `.agents/{skills,rules,schemas}/`):** `0` Docker QA/AST -> sync docs/`CHANGELOG.md` -> `make sync-governance` -> `certify_11x_gate` -> local commit.
- **`MICRO_CHANGE` (`<=3` files, `<5` callers, `0` routes/ORM):** 3-line plan -> `inspect_ast_blast_radius` -> `QA-TEST-SYNC-01` + `run_ephemeral_qa` -> AST refresh -> `CHANGELOG.md` -> `certify_11x_gate` -> `clean_workspace_11x(dry_run=false)` -> local commit.
- **`FULL_11X` (`>3` files, new API/UI/ORM/security, `MED`/`HIGH` blast):** `/plan`, `session_flight_recorder` (`ACTIVE_TASK.md <=40L`), full pyramid + `QA-TEST-SYNC-01`, docs, AST, `certify_11x_gate`, `clean_workspace_11x(dry_run=false)`, local commit.
### 1.1. MCP Server `qa-11x` (`@sinfallas/mcp-qa-11x` v3.17.0 — 20 Tools + 13 Resources)
- **Discovery & AST:** `inspect_ast_blast_radius` (impact/hotspots), `inspect_project_config` (15 stacks, readiness, updates), `audit_test_pyramid_gaps` (L1–L13 + meta-gates), `analyze_ecosystem_specs` (zero-footprint multi-repo specs/DTOs, no vuln audit).
- **Bootstrap & Governance:** `fetch_blueprint_bundle` (SHA-256 index, `include_content:false`), `bootstrap_or_merge_11x` (surgical `.example` merge), `init_or_append_agents_md` (Thin-Repo connector), `reconcile_agents_governance` (prunes local copies), `propose_skill_evolution_pr` (`soporte@tecnoconsultores.net`), `session_flight_recorder` (`0600` checkpoint + `ACTIVE_TASK.md`).
- **Execution & Hygiene:** `run_ephemeral_qa` (`lint|unit|migration|integration|ci|parity|orphans|contracts|bdd|mutation|dast|e2e|perf|chaos|profile|all`, opt-in `expect_red`, auto-cleans L1 caches), `clean_workspace_11x` (3-level purge; L1 incl. `target/` build cache; preserves reports & Docker images).
- **Security, Architecture & Certification:** `audit_security_stig_owasp` (static rules + SARIF), `certify_11x_gate` (11+1 gate + `RED->GREEN`), `validate_calm_architecture` (FINOS CALM), `evaluate_release_gate` (`GO`/`NO_GO`).
- **Specialized:** `evaluate_agent_trajectory`, `run_llm_red_team` (Promptfoo/DeepEval), `audit_vibe_prototype` (Vibe rescue), `sync_enterprise_tms` (Jira/Zephyr/Xray/GitHub).
*Fallback (No MCP):* Load `references/01..15.md`, run `make sync-governance`. Always relay `[QA-11X UPDATE]` notices verbatim.
---
## 2. Executive Laws, 13-Layer Pyramid & Token Economy
- **13-Layer Pyramid:** (L1) Static/SAST, (L2) Types/CC<=5, (L3) Unit >=95%, (L4) Live DB/ORM, (L5) Integration/Pact, (L6) Karate API, (L7) Karate UI/SSG, (L8) Mutation MSI>=80%, (L9) A11y/Anti-JSDOM, (L10) Load k6/Locust, (L11) DAST ZAP, (L12) Chaos Pumba, (L13) Trimodal/3-Phase Clock + Meta-Gates.
- **10 Non-Negotiable Laws:**
1. **Rule Zero:** Zero host runs; unless delegated to a Companion MCP (`playwright`, `chrome-devtools`, `semgrep`, `serena`, `sonarqube`, `snyk`, `trivy`, `appium`), run serialized non-root `sinfallas/*` Docker (`-u "$(id -u):$(id -g)"`, `HOME=/tmp`, `--rm --restart=no --cap-drop=ALL`, `--network none` offline, `QA_OFFLINE=1`).
2. **Coverage & Types:** `>=95%` branch/diff cov (`COVERAGE_FILE=/tmp/.coverage`, `QA-COV-01`), strict typing (`mypy --strict`, `TreatWarningsAsErrors`, `dart analyze --fatal-warnings`, `clippy -D warnings`), `CC<=5`, `MSI>=80%` (`QA-STRYKER-CFG-01`).
3. **Hermetic Units vs. Live DB:** Mocks (`MockDbSession`, `AsyncMock`, HTTP stubs) ONLY in `.unit.*` — never integration or Anti-Silo tests.
4. **Anti-JSDOM, SSR & Dual Refresh:** Ban `position: fixed` footers (`UI-11X-01`), unguarded SSR browser globals (`QA-SSR-HYDRATION-01`), and unpinned Playwright images (`QA-PLAYWRIGHT-PIN-01`); pair WebSocket/timers (`clearInterval`) with **`[ 🔄 Refrescar ]`** (`?refresh=true`).
5. **Surgical Merge & Thin-Repo:** Merge `.example` safely; zero local copies of global skills/rules (`reconcile-agents`).
6. **Proportional BDD, Zero Orphans & `QA-TEST-SYNC-01`:** Dynamic `Idempotency-Key` UUIDs (`QA-KARATE-IDEMP`); `0` orphan UI/API; co-evolve unit/integration/BATS/Karate suites.
7. **22 STIG V6R5 & OWASP v4.2 Controls:** RLS `NOBYPASSRLS`+`after_begin` (`QA-PG17-RLS`), WORM `seq_num`+`pg_advisory_xact_lock`, Service RBAC+`ApprovalRequest`, AES-256-GCM, anti-SSRF, `NFKC`, anti-XXE, OSHP, Argon2id, CycloneDX SBOM, SHA-40 Actions (`SEC-CI-ACTION-REF`), Redis/KeyDB WebSocket Pub/Sub (`SEC-WS-PUBSUB-01`).
8. **RED Pre-Chaos:** Expose `/metrics` (`trace_id`) before load/chaos profiles.
9. **Trimodal & 3-Phase Clock:** Test Virgin/Nominal/Degraded across 3 clock phases; AST blast-radius pre-edit + refresh post-edit.
10. **Closure & `QA-GIT-GATE-01`:** Audits run `inspect_project_config` + `audit_test_pyramid_gaps` + `audit_security_stig_owasp` + `certify_11x_gate`. Keep `ACTIVE_TASK.md <=40L`, run `make sync-governance` + `make certify` + `clean_workspace_11x(dry_run=false)`, local commit (never `git push`), log escapes via `propose_skill_evolution_pr`.
- **Token Economy:** `AST-First -> Grep -> 40–80L Read`, `Zero Re-Read`, `Parallel Batching`, `Subagents <=20L`, `Pass-Quiet/Fail-Verbose`, Objective Critique (skip praise; verify premises; never debate routine cmds).
---
### 2.1. 🛡️ Mandatory Anti-Silo & Cross-Module State Propagation (11 UAT Anti-Blindness Rules)
1. **Unmocked Cross-Module Propagation:** After mutating Module A, query Consumer Module B `GET`/stores against live DB without mocks.
2. **3-Phase Temporal Lifecycle:** Assert Pending (`t < starts_at`), Active (`starts_at <= t <= ends_at`), Expired/Reverted (`t > ends_at` + audit).
3. **Audit Args, `JSONB`/`Decimal` & Human Identities:** Assert `write_audit_log` args; `json.dumps()` (no `default=str`) over `Decimal`; forbid raw UUID v4 in `actor_username`/`resource_display_name` & catch-all `else` badges (`UI-11X-02`).
4. **Dual Auto + Manual Refresh:** Pair `setInterval` (`clearInterval`) + WebSocket with **`[ 🔄 Refrescar ]`** (`?refresh=true`).
5. **Heavy-Transfer Timeouts (`>=180s` + `0-byte` Purge) & Batch Check:** Require `timeout>=180s` + `0-byte` purge; check `results[].status` on `200 OK` batches.
6. **Zero Hardcoded Pass:** Unverified/skipped checks MUST return `'SKIPPED'` / `detected: false`.
7. **Post-Import `Settings` Sync (`QA-SMOKE-01`) & Prod Secrets (`SEC-15`):** Mutate `os.environ["APP_ENV"]` + `settings.APP_ENV="production"` (restore in `finally`); ephemeral `>=32B` keys in prod smoke.
8. **Multi-Step Pre-Auth & Ephemeral Challenge Continuity Invariant (`SEC-16`):** Certify `login -> mfa/enroll|verify` in one unmocked KeyDB test (`>=128-bit` `challenge_id`, atomic `GETDEL`/Lua, `TTL<=300s`, symmetric `PREAUTH_PUBLIC_ROUTES`).
9. **Unmocked Orchestrator Boot & Container Healthcheck Contract (`QA-HEALTH-01`):** Boot real entrypoints under prod `Settings()` without mocking `OPTIONAL_WORKERS`, asserting healthcheck artifacts & `task.exception()`.
10. **CLI + MCP `TTY` Anti-Hang (`QA-CLI-TTY-01`):** On bare dual CLI/MCP runs with `isTTY`/`isatty()` and no `--stdio`, print help and `exit(0)` (`<=5s`).
11. **SDK Transport & Lockfile Smoke (`QA-CONTRACT-SDK-01`, `QA-DOCKER-LOCK-01`):** Drive MCP/ACP via real SDK transports (`InMemoryTransport`+`Client`/`ClientSession`); install deps from lockfiles (`uv --frozen`, `pnpm --frozen-lockfile`, `-mod=readonly`, `--locked-mode`, `cargo --locked`, `--enforce-lockfile`) + post-build smoke.
---
## 3. On-Demand Sub-Skills & References (`references/01..15.md`)
- **Sub-Skills (lazy-load only):** `qa-11x-devsecops-hardener` (STIG/RLS/crypto), `qa-11x-systematic-debugging` (4-phase root cause), `qa-11x-screenplay-builder` (RBAC E2E/Playwright/SSR), `qa-11x-llm-evaluator` (DeepEval/Promptfoo), `qa-11x-vibe-rescue` (prototype hardening), `tactical-patterns-11x` (CC/Outbox/idempotency), `qa-11x-reverse-specs` (zero-footprint multi-repo specs), `qa-11x-docker-certifier`, `docker-trivy-keydb-hardening`, `graphify-ast-navigator`, `refactoring-ui`.
- **Core References:** [`01-core-13-layers.md`](references/01-core-13-layers.md) | [`02-security-disa-owasp-22.md`](references/02-security-disa-owasp-22.md) | [`07-mcp-agentic-security-governance.md`](references/07-mcp-agentic-security-governance.md) | [`08-postgres-rls-zero-downtime-migrations.md`](references/08-postgres-rls-zero-downtime-migrations.md) | [`09-sre-observability-chaos-triage.md`](references/09-sre-observability-chaos-triage.md) | [`10-sdd-ears-traceability.md`](references/10-sdd-ears-traceability.md).
- **Stack References:** [`03-stack-python-fastapi.md`](references/03-stack-python-fastapi.md) (Python/FastAPI/Django) | [`04-stack-node-vue-react.md`](references/04-stack-node-vue-react.md) (Node/Vue/React/Next/Angular/Svelte) | [`05-stack-bash-devops.md`](references/05-stack-bash-devops.md) (Bash/BATS/kcov) | [`06-stack-php.md`](references/06-stack-php.md) (PHP/Laravel/Symfony) | [`11-stack-dotnet.md`](references/11-stack-dotnet.md) (.NET 10/11, ASP.NET/EF Core, Roslyn, Stryker.NET) | [`12-stack-java.md`](references/12-stack-java.md) (Java 21/25, Spring Boot, Maven/Gradle, JaCoCo, PITest, FindSecBugs) | [`13-stack-go.md`](references/13-stack-go.md) (Go 1.26/1.27, Gin/Echo/Chi/Fiber, `golangci-lint`, `gremlins`, `goose`/`migrate`/`sqlc`) | [`14-stack-flutter.md`](references/14-stack-flutter.md) (Flutter 3.50/Dart, Dio/GoRouter, `mutation_test`, Appium bridge) | [`15-stack-rust.md`](references/15-stack-rust.md) (Rust stable, Axum/Actix, SQLx/Diesel, `clippy`, `llvm-cov`, `cargo-mutants`).
Files in this skill
- SKILL.md
- references/01-core-13-layers.md
- references/02-security-disa-owasp-22.md
- references/03-stack-python-fastapi.md
- references/04-stack-node-vue-react.md
- references/05-stack-bash-devops.md
- references/06-stack-php.md
- references/07-mcp-agentic-security-governance.md
- references/08-postgres-rls-zero-downtime-migrations.md
- references/09-sre-observability-chaos-triage.md
- references/10-sdd-ears-traceability.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.