QA Architecture Auditor
This skill performs deep forensic analysis of codebases and produces exhaustive QA testing strategy reports with IT General Controls compliance. It provides independent baselines, vulnerability assessments, from-scratch test cases, and tooling recommendations for every testing methodology.
What This Skill Does
- - Analyzes repository structure, languages, frameworks, and dependencies
- Maps architecture and identifies critical risk areas
- Generates comprehensive testing strategy reports (HTML and Markdown formats)
- Provides specific, tailored test cases for each methodology
- Recommends industry-standard tools based on tech stack
- Ensures zero-trust approach: ignores all existing tests
When to Use This Skill
Use this skill when you need:
- - A complete QA strategy built from scratch (no reuse of existing tests)
- Forensic-level codebase analysis for security and quality compliance
- ITGC-ready testing documentation for system transitions
- Detailed testing matrix covering all standard and specialized methodologies
- Independent validation plan for unproven or legacy codebases
Quick Start
Provide a local repository path or git URL:
CODEBLOCK0
The skill will:
- 1. Clone/access the repository
- Analyze code structure, dependencies, and business logic
- Identify high-risk modules and security vulnerabilities
- Generate comprehensive testing strategy report
- Provide tooling recommendations and specific test cases
Command-Line Interface
CODEBLOCK1
Report Sections
The generated report includes:
- 1. Executive Summary - High-level findings and recommendations
- Codebase Analysis - Languages, frameworks, dependencies, architecture patterns
- Risk Assessment - High-risk modules and security concerns
- Testing Matrix - Comprehensive strategies for each methodology:
- Core Execution: Black Box, White Box, Manual, Automated
- Functional & Structural: Unit, Integration, System, Functional, Smoke, Sanity, E2E, Regression, API, Database Integrity
- Non-Functional: Performance, Security, Usability, Compatibility, Accessibility, Localization
- Specialized: Acceptance (UAT), Exploratory Testing
- 5. From-Scratch Test Cases - Specific examples for critical paths
- Tooling Recommendations - Best tools for the detected tech stack
- ITGC Compliance - Controls and readiness assessments
External Endpoints
The skill may make outbound network connections only for:
| Endpoint | Purpose | Data Sent |
|---|
| Git remotes (HTTPS/SSH) | Clone or fetch repository content | Authentication credentials if using SSH keys or HTTPS token; repository data read-only |
No other external services are contacted.
Security & Privacy
- - Local processing: All code analysis runs locally; no code is sent to third-party APIs.
- Git operations: When analyzing a remote repository, the skill performs
git clone or git fetch. This may transmit repository data over the network and may require authentication if the repo is private. - Output: The generated report is written to the local filesystem at the specified path.
- Environment: The skill does not require any environment variables. It does not modify system settings.
Model Invocation Note
This skill runs as an autonomous CLI tool. Once invoked (via /qa-audit or direct shell), it performs the analysis without further model interaction. The heavy lifting is done by the Python script; no external AI inference is required during execution.
Trust Statement
By using this skill, you trust that the code analysis and recommendations are accurate to the best of the tool's capabilities. The skill does not exfiltrate your code to external services beyond the Git operations you explicitly authorize. Only install and run this skill on codebases you have permission to analyze.
Implementation Notes
- - The skill uses static analysis to understand code without execution
- Supports major languages: JavaScript/TypeScript, Python, Java, Go, Rust, C#, Ruby, PHP
- Detects frameworks: React, Vue, Angular, Django, Flask, Spring, Express, etc.
- Generates risk scores based on complexity, external dependencies, and data handling
- Produces both human-readable HTML and machine-parsable Markdown
References
For detailed methodology guidance, see:
- -
references/methodologies.md - Testing approach definitions and decision criteria - INLINECODE4 - Risk scoring algorithm and vulnerability patterns
- INLINECODE5 - Tool recommendations by language and framework
- INLINECODE6 - ITGC and audit requirements
License
MIT
Contributing
Improvements and contributions are welcome. Please open an issue or pull request on the GitHub repository.
QA架构审计师
该技能对代码库进行深度取证分析,并生成包含IT通用控制合规性的全面QA测试策略报告。它为每种测试方法提供独立基线、漏洞评估、从零编写的测试用例以及工具推荐。
该技能的功能
- - 分析仓库结构、语言、框架和依赖项
- 映射架构并识别关键风险区域
- 生成全面的测试策略报告(HTML和Markdown格式)
- 为每种方法提供具体的定制化测试用例
- 基于技术栈推荐行业标准工具
- 确保零信任方法:忽略所有现有测试
何时使用该技能
在以下情况下使用该技能:
- - 需要从零构建完整的QA策略(不重用现有测试)
- 需要对代码库进行取证级分析以确保安全和质量合规
- 需要为系统迁移准备ITGC就绪的测试文档
- 需要覆盖所有标准和专业方法的详细测试矩阵
- 需要为未经验证或遗留代码库制定独立验证计划
快速开始
提供本地仓库路径或Git URL:
qa-architecture-auditor --repo /path/to/repo --output report.html
该技能将:
- 1. 克隆/访问仓库
- 分析代码结构、依赖项和业务逻辑
- 识别高风险模块和安全漏洞
- 生成全面的测试策略报告
- 提供工具推荐和具体测试用例
命令行界面
usage: qa-audit [-h] --repo REPO [--output OUTPUT] [--format {html,md}] [--include-risk-prioritization] [--include-test-cases] [--include-tooling] [--exclude EXCLUDE] [--max-depth MAX_DEPTH] [--security-scan] [--compliance {itgc,soc2,iso27001,hipaa,gdpr}]
执行取证级QA架构分析并生成测试策略报告。
选项:
-h, --help 显示此帮助信息并退出
--repo REPO, -r REPO 仓库路径或Git URL
--output OUTPUT, -o OUTPUT
输出文件路径(默认:qa-report.html)
--format {html,md}, -f {html,md}
输出格式(默认:html)
--include-risk-prioritization
包含风险优先级矩阵
--include-test-cases 包含每种方法的详细测试用例
--include-tooling 包含工具推荐
--exclude EXCLUDE, -e EXCLUDE
要排除分析的目录(逗号分隔)
--max-depth MAX_DEPTH
最大目录遍历深度
--security-scan 执行安全漏洞扫描
--compliance {itgc,soc2,iso27001,hipaa,gdpr}
目标合规框架
报告章节
生成的报告包括:
- 1. 执行摘要 - 高层发现和建议
- 代码库分析 - 语言、框架、依赖项、架构模式
- 风险评估 - 高风险模块和安全问题
- 测试矩阵 - 每种方法的全面策略:
- 核心执行:黑盒、白盒、手动、自动化
- 功能与结构:单元测试、集成测试、系统测试、功能测试、冒烟测试、健全测试、端到端测试、回归测试、API测试、数据库完整性测试
- 非功能:性能测试、安全测试、可用性测试、兼容性测试、可访问性测试、本地化测试
- 专业:验收测试(UAT)、探索性测试
- 5. 从零编写的测试用例 - 关键路径的具体示例
- 工具推荐 - 检测到的技术栈的最佳工具
- ITGC合规 - 控制和就绪评估
外部端点
该技能仅在以下情况下进行出站网络连接:
| 端点 | 目的 | 发送的数据 |
|---|
| Git远程仓库(HTTPS/SSH) | 克隆或获取仓库内容 | 如果使用SSH密钥或HTTPS令牌则包含认证凭据;仓库数据只读 |
不联系其他外部服务。
安全与隐私
- - 本地处理:所有代码分析在本地运行;不会将代码发送到第三方API。
- Git操作:分析远程仓库时,该技能执行git clone或git fetch。这可能会通过网络传输仓库数据,如果仓库是私有的,可能需要认证。
- 输出:生成的报告写入本地文件系统的指定路径。
- 环境:该技能不需要任何环境变量。它不会修改系统设置。
模型调用说明
该技能作为自主CLI工具运行。一旦被调用(通过/qa-audit或直接shell),它将执行分析而无需进一步的模型交互。繁重的工作由Python脚本完成;执行期间不需要外部AI推理。
信任声明
使用此技能即表示您信任代码分析和建议在工具能力范围内是准确的。除了您明确授权的Git操作外,该技能不会将您的代码泄露到外部服务。请仅在您有权分析的代码库上安装和运行此技能。
实现说明
- - 该技能使用静态分析来理解代码而无需执行
- 支持主要语言:JavaScript/TypeScript、Python、Java、Go、Rust、C#、Ruby、PHP
- 检测框架:React、Vue、Angular、Django、Flask、Spring、Express等
- 基于复杂性、外部依赖和数据处理生成风险评分
- 生成人类可读的HTML和机器可解析的Markdown
参考
有关详细方法论指导,请参阅:
- - references/methodologies.md - 测试方法定义和决策标准
- references/risk-assessment.md - 风险评分算法和漏洞模式
- references/tooling-matrix.md - 按语言和框架划分的工具推荐
- references/compliance-frameworks.md - ITGC和审计要求
许可证
MIT
贡献
欢迎改进和贡献。请在GitHub仓库上提交问题或拉取请求。