Skip to content
Back to skills

Qa 11x Reverse Specs

ASecurity

Multi-project reverse specifications, cross-project integration mapping, and functional/AST inconsistency reporting skill (@sinfallas/mcp-qa-11x). Use whenever documenting sibling client repositories (API, web, mobile) inside a container workspace into an isolated analysis folder without writing to source repos or running vulnerability audits.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
developmentpythonrustgojavaphpbashsqlreactvueangular

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

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

Scanned December 3, 2026

npx -y skills add tecno-consultores/qa-11x --skill qa-11x-reverse-specs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Qa 11x Reverse Specs?

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

Security grade badge for Qa 11x Reverse Specs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tecno-consultores-qa-11x-reverse-specs/badge)](https://www.skillsdirectory.com/skills/tecno-consultores-qa-11x-reverse-specs)

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: qa-11x-reverse-specs
description: >-
  Multi-project reverse specifications, cross-project integration mapping, and functional/AST inconsistency reporting
  skill (@sinfallas/mcp-qa-11x). Use whenever documenting sibling client repositories (API, web, mobile) inside a
  container workspace into an isolated analysis folder without writing to source repos or running vulnerability audits.
---

# Multi-Project Reverse Specs & Integration Mapper (`qa-11x-reverse-specs` v2.1)

> **OUTPUT LANGUAGE & CLIENT DELIVERABLE POLICY:** Interact in the **user's prompt language** (unless `AGENTS.md` fixes it). Write all client reverse-spec deliverables (`00..05-*.md`) in **one single language matching the user's prompt** (e.g., Spanish when prompted in Spanish; English when prompted in English). **Do NOT create duplicate `.es.md` mirrors** for client analysis deliverables. Keep `.agents/**` governance in concise English.

This modular skill orchestrates deep deterministic reverse engineering, data/state modeling, conditional OpenAPI 3.1 YAML contract generation, interactive cross-repo impact exploration, E2E AST flow tracing, and integration mapping for multi-repository client workspaces (e.g., API backend + Web portal + Mobile/MAUI app + workers) via MCP tool `analyze_ecosystem_specs` (`schema_version: 2.1.0`).

---

## 1. Non-Negotiable Scope & Safety Guardrails

1. **Documentation & Integration ONLY — NO Vulnerability Audits:**
   - **STRICTLY FORBIDDEN** in this workflow: do NOT run `audit_security_stig_owasp`, Trivy/Semgrep CVE scans, OWASP/STIG security audits, or emit security vulnerability reports.
   - Focus exclusively on: deep functional reverse specifications from code, data models & state enums, E2E UI-to-model flows, conditional OpenAPI 3.1 contracts, cross-project HTTP/REST + shared DB tables + realtime + async + `.env`/`appsettings*.json` contracts, functional/contractual/AST inconsistencies, and engineering improvement opportunities.
   - Never copy raw secret values or `ConnectionStrings` from `.env` or `appsettings*.json` into deliverables; cite only variable names, categories, and non-sensitive URL/port/prefix samples (`[REDACTED]` for credentials).
2. **Zero-Footprint Client Source Repositories:**
   - **NEVER** create, modify, or write `graphify-out/`, docs, configs, or temporary files inside any client source repository.
   - All Graphify AST graphs are built sequentially in read-only (`:ro`) ephemeral Docker containers (`sinfallas/remote-graphify`, serialized via `QA_MAX_CONCURRENT_CONTAINERS=1`) into `<outputDir>/.graphs/<slug>/`.
   - Every generated artifact (`.graphs/`, `.skeletons/`, `contracts/`, `ecosystem-inventory.json`, `ecosystem-impact.json`, `impact-explorer.html`, `00..05-*.md`) MUST stay strictly inside `<outputDir>/`, and `<outputDir>/` MUST NOT overlap any source repository (`SEC-PATH-01`).
3. **Supported Stacks (All 15 Official QA-11X Stacks):**
   - Operates across `fastapi`, `python` (incl. Django/DRF), `node-backend`, `vue3` (incl. Nuxt & VitePress), `react-frontend` (incl. Next.js App Router/RSC, Angular & SvelteKit), `php` (incl. Laravel & Symfony), `mobile-appium`, `bash-scripts`, `ai-evals`, `vibe-rescue`, **`dotnet`** (ASP.NET Core Controllers & Minimal APIs, DTOs/records/enums, EF Core `DbSet<T>`/`[Table]`/`.ToTable()`/`[ForeignKey]`, `HttpClient`, MAUI `*.xaml` views, `appsettings*.json`, Swashbuckle/NSwag/MapOpenApi), **`java`** (Spring Boot `@RequestMapping`/`@*Mapping`, JPA `@Entity`/`@Table`, Java records/DTOs/enums, Maven & Gradle), **`go`** (`net/http`, Gin/Echo/Chi/Fiber, structs, SQL migrations), **`flutter`** (`GoRoute`, `Dio`/`http` clients, `StatelessWidget`/`StatefulWidget` screens), and **`rust`** (Axum/Actix-web routes, structs/enums, SQLx/Diesel schemas), plus OpenAPI specs (`openapi.*`, `swagger.*`, `api-spec.*`), Prisma schemas, and `.env*` files.
4. **Agent-Only Invocation & No Unsolicited CALM:**
   - Invoked exclusively by the AI agent via MCP tool `analyze_ecosystem_specs` + this skill (no standalone CLI subcommand).
   - Do **NOT** generate `ecosystem.calm.json` or FINOS CALM manifests unless the user explicitly requests one.

---

## 2. Mandatory 5-Step Execution Workflow (AST-First + Hybrid OpenAPI + Impact Explorer)

### Step 1: Run `analyze_ecosystem_specs` (Zero-Footprint Discovery + AST + Contracts + Explorer)
Invoke MCP tool `analyze_ecosystem_specs` first:
```json
{
  "workspaceRoot": "<container-workspace-path>",
  "outputDir": "analisis",
  "buildGraphs": true,
  "refreshGraphs": false,
  "detailLevel": "deep",
  "generateSkeletons": true,
  "generateOpenApi": "auto",
  "generateImpactExplorer": true
}
```
- `detailLevel`: `"deep"` (default: full endpoints, DTO fields/FKs, enums, realtime/async/external, AST E2E flows, 8 finding categories) | `"standard"` (fast scan) | `"exhaustive"` (unbounded synthesis).
- `generateOpenApi`: `"auto"` (default across all detail levels — generates `<outputDir>/contracts/<slug>.openapi.yaml` ONLY when `api_docs.status === "none"` and code endpoints exist, skipping projects with static specs or runtime Swagger/OpenAPI such as Swashbuckle, NSwag, MapOpenApi, swagger-ui-express, `@nestjs/swagger`, `l5-swagger`, `flasgger`, `drf-spectacular`, or FastAPI without `openapi_url=None`), `"always"` (force YAML export), or `"never"`.
- `generateImpactExplorer`: `true` (default across all detail levels) — emits `<outputDir>/ecosystem-impact.json` and 100% offline dual-mode `<outputDir>/impact-explorer.html` (5-layer SVG + filterable table, bidirectional BFS, Markdown export) correlating HTTP, shared DB tables (`SHARED_TABLE`), async queues (`SHARED_ASYNC_CHANNEL`), and realtime channels (`SHARED_REALTIME_CHANNEL`).
- Pass optional `projects: ["api", "web", "mobile"]` only if the user scopes the analysis to a subset of folders.

### Step 2: Inspect Inventory, Skeletons, Contracts & AST Reports Before Reading Source Code
Follow strict **AST-First Token Economy** (never run blind full-repository scans):
1. Read `<outputDir>/ecosystem-inventory.json` (`findings_total_counts`, `truncated_categories`, `projects[].api_docs`, `openapi_contracts`, `shared_integration_edges`, `integration_edges`, `functional_flows`) covering all **8 functional/AST finding categories**:
   - `BROKEN_CONSUMER_CALL` (`404` missing endpoint / `405` HTTP method mismatch)
   - `ORPHAN_PROVIDER_ENDPOINT` (exposed API routes with zero detected consumers)
   - `CHANNEL_ASYMMETRY` (Web vs Mobile contract, version, or coverage divergence)
   - `ENV_CONFIG_DRIFT` (missing/unused `.env.example`/`appsettings.json` keys, conflicting base URLs/ports)
   - `AST_STRUCTURAL_FINDINGS` (symbol cycles, file-level cycles, god-modules)
   - `SPEC_VS_CODE_DRIFT` (OpenAPI spec routes missing in code or undocumented code routes)
   - `PAYLOAD_SCHEMA_DRIFT` (missing required DTO fields, `camelCase` vs `snake_case` drift, undeclared consumer fields)
   - `UNHANDLED_PAGINATION_OR_ERROR_CONTRACT` (mutating calls without error handling, paginated GET calls ignoring envelope)
2. Read each project's `<outputDir>/.graphs/<slug>/GRAPH_REPORT.md` to map communities and central hub nodes.
3. Read `<outputDir>/.skeletons/*.skeleton.md` as the **mandatory non-omissible baseline** for all 6 deliverables.

### Step 3: Windowed Source Verification (`40–80L` Targeted Reads) & Layer-2 OpenAPI Enrichment
Open **only targeted `40–80` line windows** (`StartLine`/`EndLine`) around high-value `file:line` pointers cited in `ecosystem-inventory.json`:
- Application entrypoints, router/controller mounts, request/response DTO schemas, EF Core / SQLAlchemy / Prisma / Eloquent models, and state enums.
- HTTP client wrappers (`HttpClient`, `axios`, `fetch`, `httpx`), MAUI `.xaml` + `.xaml.cs` screens, realtime handlers, and async workers.
- Every finding location across the 8 categories to verify business context and root cause before writing prose.
- **2-Layer Hybrid OpenAPI Enrichment (for each generated `<outputDir>/contracts/<slug>.openapi.yaml`):**
  - **Layer 1 (MCP):** already generated deterministically with real `{param}` paths, `operationId`, `parameters`, `requestBody`, `responses`, `components.schemas`, `enums`, nullable `type: [T, 'null']`, `securitySchemes.bearerAuth`, synthetic examples, and `x-qa11x-source`.
  - **Layer 2 (Skill):** from bounded `40–80L` windows of controllers/handlers/validators, enrich business error responses (`4xx`/`5xx`, internal error catalogs) and realistic domain JSON examples inside `<outputDir>/contracts/<slug>.openapi.yaml`. Tag any non-literal business inference with `x-qa11x-inferred: true` (strict cap **`<= 20%`** of operations/schemas). Preserve valid YAML 1.2 syntax and all `x-qa11x-source` pointers.

### Step 4: Author the 6 Numbered Modular Deliverables & Deliver Interactive Artifacts in `<outputDir>/`
Load [`references/deliverable-templates.md`](references/deliverable-templates.md) on demand for exact section contracts. Write all deliverables in the **user's prompt language** (single language, zero duplicate `.es.md`), preserving **100%** of endpoints, models, enums, flows, shared tables/channels, and findings pre-populated in `.skeletons/`:

| Deliverable / Artifact | Audience & Required Contents |
| :--- | :--- |
| `<outputDir>/00-resumen-ecosistema.md` | **Executive & functional overview:** ecosystem purpose, project catalog table (incl. `api_docs.status`), high-level **Mermaid** `flowchart LR` topology (HTTP + shared tables/queues/realtime), scorecard, top priorities, and links to `contracts/*.openapi.yaml` & `impact-explorer.html`. |
| `<outputDir>/01-specs-<slug>.md` *(one per project)* | **Per-repository deep reverse spec:** functional responsibilities, `api_docs` / OpenAPI contract status, AST communities & hubs, complete endpoint catalog, UI/MAUI views & routes, realtime/async/external integrations, sanitized `.env`/`appsettings*.json` table, and internal AST health. |
| `<outputDir>/02-modelo-de-datos-y-estados.md` | **Data dictionary & state machines:** field-level tables (`name`, `type`, `required`, `constraints`, `table_name`) per entity/DTO (incl. EF Core `[Table]`/`DbSet<T>`), **Mermaid** `erDiagram`, domain enums, and **Mermaid** `stateDiagram-v2` lifecycle transitions. |
| `<outputDir>/03-flujos-funcionales-e2e.md` | **End-to-end functional flows:** AST-traced UI/MAUI Screen → Client/`HttpClient` → HTTP Edge → Controller/Handler → Service → Model/Table matrix (`functional_flows[]`) plus valid **Mermaid** `sequenceDiagram` flows. |
| `<outputDir>/04-integracion-y-contratos.md` | **Cross-project integration & contracts:** verified HTTP/REST edge matrix, Web vs Mobile parity matrix, `.env`/`appsettings` alignment, **shared DB tables / async queues / realtime channels** (`shared_integration_edges[]`), external 3P SDKs, and OpenAPI 3.1 contract status. |
| `<outputDir>/05-inconsistencias-y-mejoras.md` | **Inconsistencies & engineering improvements (NO vulnerability audit):** evidence-backed tables across all **8 categories** (with pre-truncation totals), 4-element actionable roadmap (`IMP-01..IMP-08`), plus mandatory **`## Not Checked / Scope Exclusions`** closure. |
| `<outputDir>/contracts/<slug>.openapi.yaml` *(conditional)* | **OpenAPI 3.1.0 YAML contract:** generated when `api_docs.status === "none"` (or `generateOpenApi: "always"`), ready for Postman/Bruno import and Layer-2 error/example enrichment. |
| `<outputDir>/impact-explorer.html` + `ecosystem-impact.json` | **Offline Interactive Cross-Repo Impact Explorer:** 100% self-contained dual-mode HTML (5-layer SVG canvas with zoom/pan + filterable matrix table), bidirectional BFS (Upstream affected vs Downstream dependencies), `slug/file:Lline` citations, and Markdown impact report copy. |

### Step 5: Evidence Grounding & Anti-Hallucination Quality Gate
Before presenting the final summary to the user, verify EVERY checklist item:
- [ ] **Zero Omissions vs. Skeletons:** Every endpoint, model, enum, flow, shared table/channel, and finding from `.skeletons/` is accounted for in `00..05-*.md`.
- [ ] **Exact `file:line` Citations:** Every symbol, route, model, config key, and finding cites `<project>/<file>:L<line>`.
- [ ] **`[INFERRED]` & `x-qa11x-inferred` Ratio Cap (`<= 20%`):** Any business intent not literally stated in code MUST be tagged (`[INFERRED]` in Markdown, `x-qa11x-inferred: true` in OpenAPI YAML) and remain **`<= 20%`** per deliverable.
- [ ] **Zero Vulnerability Audit Content:** Confirm zero STIG/OWASP/CVE/SAST vulnerability sections or findings were injected.
- [ ] **Zero Footprint, Offline HTML & Valid Mermaid/YAML:** Confirm client source repos are untouched, generated OpenAPI YAML parses cleanly, `impact-explorer.html` has zero external CDN URLs, and all ` ```mermaid ` blocks use valid syntax.

Files in this skill

  • SKILL.md9.1 KB
  • references/deliverable-templates.md4.8 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.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.