synapse-hub 0.0.0-stage → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/agents/failure-analyst.md +47 -0
- package/.agents/agents/live-explorer.md +41 -0
- package/.agents/agents/orchestrator.md +43 -0
- package/.agents/agents/pom-crafter.md +81 -0
- package/.agents/agents/quality-gatekeeper.md +47 -0
- package/.agents/agents/test-runner.md +43 -0
- package/.agents/rules/context-engineering.md +88 -0
- package/.agents/rules/git-push-protocol.md +101 -0
- package/.agents/rules/graphify.md +14 -0
- package/.agents/rules/lessons-learned.md +23 -0
- package/.agents/rules/mandatory-playwright-live.md +29 -0
- package/.agents/rules/skill-precedence.md +42 -0
- package/.agents/rules/systematic-debugging.md +99 -0
- package/.agents/skills/agent-orchestration-multi-agent-optimize/SKILL.md +239 -0
- package/.agents/skills/antigravity-test-sentinel/SKILL.md +64 -0
- package/.agents/skills/api-network-mocking-interception/SKILL.md +142 -0
- package/.agents/skills/api-spec-to-e2e-matrix/SKILL.md +70 -0
- package/.agents/skills/architecture-decision-records/SKILL.md +441 -0
- package/.agents/skills/auth-session-and-cookie-manager/SKILL.md +72 -0
- package/.agents/skills/backend-load-and-stress-patterns/SKILL.md +214 -0
- package/.agents/skills/bats-testing-patterns/SKILL.md +100 -0
- package/.agents/skills/bats-testing-patterns/resources/implementation-playbook.md +614 -0
- package/.agents/skills/clean-pom-crafter/SKILL.md +75 -0
- package/.agents/skills/clean-pom-crafter/examples/standard_test_case.groovy +28 -0
- package/.agents/skills/clean-pom-crafter/references/pom_patterns.groovy +138 -0
- package/.agents/skills/code-refactoring-refactor-clean/SKILL.md +64 -0
- package/.agents/skills/code-refactoring-refactor-clean/resources/implementation-playbook.md +879 -0
- package/.agents/skills/db-state-verifier-and-seeder/SKILL.md +123 -0
- package/.agents/skills/e2e-testing-patterns/SKILL.md +103 -0
- package/.agents/skills/e2e-testing-patterns/resources/implementation-playbook.md +522 -0
- package/.agents/skills/failure-autopsy-and-healing/SKILL.md +54 -0
- package/.agents/skills/failure-autopsy-and-healing/references/healing_matrix.md +64 -0
- package/.agents/skills/failure-autopsy-and-healing/references/qa_investigation_protocol.md +56 -0
- package/.agents/skills/failure-autopsy-and-healing/scripts/triage_failures.sh +98 -0
- package/.agents/skills/file-and-report-validator/SKILL.md +90 -0
- package/.agents/skills/flaky-test-sentinel-and-quarantine/SKILL.md +114 -0
- package/.agents/skills/github-actions-templates/SKILL.md +334 -0
- package/.agents/skills/graphify-impact-analyzer/SKILL.md +78 -0
- package/.agents/skills/katalon-cli-runner/SKILL.md +76 -0
- package/.agents/skills/katalon-cli-runner/references/groovy-patterns.md +209 -0
- package/.agents/skills/katalon-cli-runner/references/katalon-api.md +155 -0
- package/.agents/skills/katalon-cli-runner/references/runner_commands.md +67 -0
- package/.agents/skills/lam-script-generator/SKILL.md +83 -0
- package/.agents/skills/playwright-live-interaction/SKILL.md +86 -0
- package/.agents/skills/playwright-live-interaction/references/advanced_superpowers.md +160 -0
- package/.agents/skills/playwright-live-interaction/references/compact_accessibility_snapshots.md +75 -0
- package/.agents/skills/playwright-live-interaction/references/recipes.md +388 -0
- package/.agents/skills/playwright-live-interaction/references/swarm_orchestration.md +134 -0
- package/.agents/skills/security-dast-sentinel/SKILL.md +176 -0
- package/.agents/skills/self-healing-locator/SKILL.md +73 -0
- package/.agents/skills/synthetic-test-data-generator/SKILL.md +135 -0
- package/.agents/skills/token-and-context-optimizer/SKILL.md +70 -0
- package/.agents/skills/visual-regression-sentinel/SKILL.md +62 -0
- package/.agents/skills/wcag-audit-patterns/SKILL.md +77 -0
- package/.agents/skills/wcag-audit-patterns/resources/implementation-playbook.md +541 -0
- package/.agents/skills/web-vitals-and-performance-profiler/SKILL.md +65 -0
- package/.agents/templates/completion_report.md +57 -0
- package/.agents/workflows/graphify.md +10 -0
- package/.agents/workflows/test-impact.md +15 -0
- package/.agents/workflows/verify.md +34 -0
- package/AGENTS.md +115 -0
- package/README.md +394 -2
- package/bin/agent-qa.js +90 -0
- package/package.json +59 -4
- package/skills_manifest.json +262 -0
- package/templates/PROJECT_AI_GUIDE_TEMPLATE.md +97 -0
- package/templates/PROJECT_STATE_TEMPLATE.md +20 -0
- package/tools/TOOLS_RUNBOOK.md +298 -0
- package/tools/agent_canary.py +501 -0
- package/tools/analyze_project.py +242 -0
- package/tools/api_drift_sentinel.py +208 -0
- package/tools/auto_heal.py +189 -0
- package/tools/browser_helpers.js +593 -0
- package/tools/bug_reporter.py +224 -0
- package/tools/cache_resolver.py +846 -0
- package/tools/check_env.py +288 -0
- package/tools/ci_healing_hook.py +128 -0
- package/tools/cli.py +402 -0
- package/tools/config_decoupler.py +253 -0
- package/tools/db_sandbox.py +341 -0
- package/tools/distill_log.py +152 -0
- package/tools/e2e_flow_prober.ps1 +65 -0
- package/tools/flaky_detector.py +222 -0
- package/tools/fuzz_payloads.py +197 -0
- package/tools/generate_allure_report.ps1 +30 -0
- package/tools/generate_api_matrix.py +193 -0
- package/tools/generate_tc_from_story.py +182 -0
- package/tools/generate_test_reports.ps1 +135 -0
- package/tools/git_pre_commit_guard.py +203 -0
- package/tools/heal_pr_automator.py +195 -0
- package/tools/heuristic_locator_matcher.py +202 -0
- package/tools/infer_linter.py +238 -0
- package/tools/lint_ai_docs.py +254 -0
- package/tools/lookup_tc.py +165 -0
- package/tools/lookup_xpath.py +167 -0
- package/tools/matrix_sharder.py +146 -0
- package/tools/mcp_excel_server.ps1 +251 -0
- package/tools/mcp_server.py +490 -0
- package/tools/micro_mutator.py +309 -0
- package/tools/network_mock_shield.py +170 -0
- package/tools/omni_emitter.py +500 -0
- package/tools/omni_parser.py +435 -0
- package/tools/omni_transpiler.py +168 -0
- package/tools/pinpoint_failure.py +88 -0
- package/tools/project_state.py +169 -0
- package/tools/repo_map.json +12 -0
- package/tools/repo_map.py +277 -0
- package/tools/repo_map.txt +7 -0
- package/tools/safety_firewall.py +245 -0
- package/tools/setup_project.py +265 -0
- package/tools/smart_visual_masker.py +134 -0
- package/tools/test_impact.py +321 -0
- package/tools/tms_sync_bridge.py +342 -0
- package/tools/trace_data_flow.py +240 -0
- package/tools/traffic_session_converter.py +256 -0
- package/tools/universal_ir.py +480 -0
- package/tools/validate_groovy_scripts.py +173 -0
- package/tools/verify_all.py +496 -0
- package/tools/verify_all.sh +4 -0
- package/tools/visual_diff_canvas.py +142 -0
- package/tools/visual_som_helper.py +418 -0
- package/tools/wcag_audit.py +214 -0
package/package.json
CHANGED
|
@@ -1,6 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "synapse-hub",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "Enterprise AI Agent Intelligence Hub & Autonomous Skill Network",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"keywords": [
|
|
9
|
+
"synapse",
|
|
10
|
+
"ai-agents",
|
|
11
|
+
"qa",
|
|
12
|
+
"testing",
|
|
13
|
+
"playwright",
|
|
14
|
+
"clean-pom",
|
|
15
|
+
"quality-gates",
|
|
16
|
+
"antigravity",
|
|
17
|
+
"npx"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://github.com/TeeVee998/Agent-Cortex#readme",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/TeeVee998/Agent-Cortex/issues"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/TeeVee998/Agent-Cortex.git"
|
|
26
|
+
},
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"author": "AI QA Engineering Swarm <qa-swarm@enterprise.internal>",
|
|
29
|
+
"main": "bin/agent-qa.js",
|
|
30
|
+
"bin": {
|
|
31
|
+
"synapse-hub": "./bin/agent-qa.js",
|
|
32
|
+
"synapse": "./bin/agent-qa.js",
|
|
33
|
+
"agent-qa": "./bin/agent-qa.js",
|
|
34
|
+
"agent-skills": "./bin/agent-qa.js"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
".agents",
|
|
38
|
+
"bin",
|
|
39
|
+
"tools",
|
|
40
|
+
"templates",
|
|
41
|
+
"README.md",
|
|
42
|
+
"AGENTS.md",
|
|
43
|
+
"skills_manifest.json",
|
|
44
|
+
"!**/__pycache__/**",
|
|
45
|
+
"!**/*.py[cod]",
|
|
46
|
+
"!**/*.db",
|
|
47
|
+
"!**/*.sqlite*"
|
|
48
|
+
],
|
|
49
|
+
"scripts": {
|
|
50
|
+
"start": "node ./bin/agent-qa.js",
|
|
51
|
+
"version": "node ./bin/agent-qa.js version",
|
|
52
|
+
"verify": "node ./bin/agent-qa.js verify",
|
|
53
|
+
"setup": "node ./bin/agent-qa.js setup",
|
|
54
|
+
"analyze": "node ./bin/agent-qa.js analyze",
|
|
55
|
+
"lint": "node ./bin/agent-qa.js lint",
|
|
56
|
+
"test": "python3 -m unittest discover tests -p 'test_*.py'"
|
|
57
|
+
},
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=16.0.0"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"name": "Enterprise Agent Skills Hub",
|
|
4
|
+
"version": "2.0.0",
|
|
5
|
+
"description": "Unified Catalog of 27 Specialized Skills for Autonomous AI Agents in Enterprise Software Quality Engineering, Performance, and Architecture.",
|
|
6
|
+
"totalSkills": 27,
|
|
7
|
+
"categories": {
|
|
8
|
+
"context_and_optimization": [
|
|
9
|
+
"token-and-context-optimizer",
|
|
10
|
+
"agent-orchestration-multi-agent-optimize"
|
|
11
|
+
],
|
|
12
|
+
"test_automation_and_execution": [
|
|
13
|
+
"clean-pom-crafter",
|
|
14
|
+
"e2e-testing-patterns",
|
|
15
|
+
"playwright-live-interaction",
|
|
16
|
+
"katalon-cli-runner",
|
|
17
|
+
"bats-testing-patterns",
|
|
18
|
+
"lam-script-generator",
|
|
19
|
+
"auth-session-and-cookie-manager",
|
|
20
|
+
"backend-load-and-stress-patterns"
|
|
21
|
+
],
|
|
22
|
+
"verification_and_resilience": [
|
|
23
|
+
"antigravity-test-sentinel",
|
|
24
|
+
"self-healing-locator",
|
|
25
|
+
"failure-autopsy-and-healing",
|
|
26
|
+
"api-network-mocking-interception",
|
|
27
|
+
"visual-regression-sentinel",
|
|
28
|
+
"synthetic-test-data-generator",
|
|
29
|
+
"file-and-report-validator",
|
|
30
|
+
"db-state-verifier-and-seeder",
|
|
31
|
+
"security-dast-sentinel",
|
|
32
|
+
"flaky-test-sentinel-and-quarantine"
|
|
33
|
+
],
|
|
34
|
+
"architecture_and_analysis": [
|
|
35
|
+
"api-spec-to-e2e-matrix",
|
|
36
|
+
"architecture-decision-records",
|
|
37
|
+
"code-refactoring-refactor-clean",
|
|
38
|
+
"graphify-impact-analyzer",
|
|
39
|
+
"wcag-audit-patterns",
|
|
40
|
+
"github-actions-templates",
|
|
41
|
+
"web-vitals-and-performance-profiler"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"skills": [
|
|
45
|
+
{
|
|
46
|
+
"id": "agent-orchestration-multi-agent-optimize",
|
|
47
|
+
"name": "Agent Orchestration Multi-Agent Optimize",
|
|
48
|
+
"category": "context_and_optimization",
|
|
49
|
+
"path": ".agents/skills/agent-orchestration-multi-agent-optimize/SKILL.md",
|
|
50
|
+
"summary": "Optimize multi-agent systems with coordinated profiling, workload distribution, and cost-aware orchestration.",
|
|
51
|
+
"version": "2.0.0"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "antigravity-test-sentinel",
|
|
55
|
+
"name": "Antigravity Test Sentinel",
|
|
56
|
+
"category": "verification_and_resilience",
|
|
57
|
+
"path": ".agents/skills/antigravity-test-sentinel/SKILL.md",
|
|
58
|
+
"summary": "Verification-first sentinel locking task completion until runner commands return exit code 0.",
|
|
59
|
+
"version": "2.0.0"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": "api-network-mocking-interception",
|
|
63
|
+
"name": "API Network Mocking & Interception",
|
|
64
|
+
"category": "verification_and_resilience",
|
|
65
|
+
"path": ".agents/skills/api-network-mocking-interception/SKILL.md",
|
|
66
|
+
"summary": "Intercept, stub, and mock HTTP/GraphQL network traffic, and verify chaos network resilience during E2E test runs.",
|
|
67
|
+
"version": "2.0.0"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "api-spec-to-e2e-matrix",
|
|
71
|
+
"name": "API Spec to E2E Matrix",
|
|
72
|
+
"category": "architecture_and_analysis",
|
|
73
|
+
"path": ".agents/skills/api-spec-to-e2e-matrix/SKILL.md",
|
|
74
|
+
"summary": "Transforms OpenAPI/Swagger specifications and schemas into positive, boundary, and negative test matrices.",
|
|
75
|
+
"version": "2.0.0"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "architecture-decision-records",
|
|
79
|
+
"name": "Architecture Decision Records",
|
|
80
|
+
"category": "architecture_and_analysis",
|
|
81
|
+
"path": ".agents/skills/architecture-decision-records/SKILL.md",
|
|
82
|
+
"summary": "Write and maintain Architecture Decision Records (ADRs) following engineering standards.",
|
|
83
|
+
"version": "2.0.0"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "auth-session-and-cookie-manager",
|
|
87
|
+
"name": "Auth Session and Cookie Manager",
|
|
88
|
+
"category": "test_automation_and_execution",
|
|
89
|
+
"path": ".agents/skills/auth-session-and-cookie-manager/SKILL.md",
|
|
90
|
+
"summary": "Manage browser authentication sessions, JWT tokens, and storageState for zero-second logins on-demand.",
|
|
91
|
+
"version": "2.0.0"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "backend-load-and-stress-patterns",
|
|
95
|
+
"name": "Backend Load And Stress Patterns",
|
|
96
|
+
"description": "Enterprise backend load, stress, and endurance test orchestration using k6 and Locust. Directs AI agents in modeling concurrent Virtual Users (VUs), establishing SLA threshold assertions (P95/P99 latency, throughput/RPS, error rate < 0.1%), executing stress break-point tests, and soak/endurance validation.",
|
|
97
|
+
"category": "test_automation_and_execution",
|
|
98
|
+
"path": ".agents/skills/backend-load-and-stress-patterns/SKILL.md",
|
|
99
|
+
"version": "1.0.0"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "bats-testing-patterns",
|
|
103
|
+
"name": "Bats Testing Patterns",
|
|
104
|
+
"category": "test_automation_and_execution",
|
|
105
|
+
"path": ".agents/skills/bats-testing-patterns/SKILL.md",
|
|
106
|
+
"summary": "Master Bash Automated Testing System (Bats) for shell scripts and CI/CD pipelines.",
|
|
107
|
+
"version": "2.0.0"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"id": "clean-pom-crafter",
|
|
111
|
+
"name": "Clean POM Crafter",
|
|
112
|
+
"category": "test_automation_and_execution",
|
|
113
|
+
"path": ".agents/skills/clean-pom-crafter/SKILL.md",
|
|
114
|
+
"summary": "Standardized Clean Page Object Model development and Flat Architecture enforcement.",
|
|
115
|
+
"version": "2.0.0"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "code-refactoring-refactor-clean",
|
|
119
|
+
"name": "Code Refactoring Refactor Clean",
|
|
120
|
+
"category": "architecture_and_analysis",
|
|
121
|
+
"path": ".agents/skills/code-refactoring-refactor-clean/SKILL.md",
|
|
122
|
+
"summary": "Master code refactoring, SOLID patterns, code smell elimination, and technical debt reduction.",
|
|
123
|
+
"version": "2.0.0"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "db-state-verifier-and-seeder",
|
|
127
|
+
"name": "Database State Verifier and Seeder",
|
|
128
|
+
"category": "verification_and_resilience",
|
|
129
|
+
"path": ".agents/skills/db-state-verifier-and-seeder/SKILL.md",
|
|
130
|
+
"summary": "Verify database records, seed isolated test fixtures, and assert mutations (SQL/NoSQL) on-demand.",
|
|
131
|
+
"version": "2.0.0"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"id": "e2e-testing-patterns",
|
|
135
|
+
"name": "E2E Testing Patterns",
|
|
136
|
+
"category": "test_automation_and_execution",
|
|
137
|
+
"path": ".agents/skills/e2e-testing-patterns/SKILL.md",
|
|
138
|
+
"summary": "Master end-to-end testing with Playwright and Cypress to build fast and reliable test suites.",
|
|
139
|
+
"version": "2.0.0"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "failure-autopsy-and-healing",
|
|
143
|
+
"name": "Failure Autopsy and Healing",
|
|
144
|
+
"category": "verification_and_resilience",
|
|
145
|
+
"path": ".agents/skills/failure-autopsy-and-healing/SKILL.md",
|
|
146
|
+
"summary": "Automated failure triage, visual error autopsy from screenshots and Allure reports, and in-place code healing.",
|
|
147
|
+
"version": "2.0.0"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"id": "file-and-report-validator",
|
|
151
|
+
"name": "File and Report Validator",
|
|
152
|
+
"category": "verification_and_resilience",
|
|
153
|
+
"path": ".agents/skills/file-and-report-validator/SKILL.md",
|
|
154
|
+
"summary": "Validate uploaded and exported files (Excel .xlsx, CSV, PDF) for correct schemas and data integrity on-demand.",
|
|
155
|
+
"version": "2.0.0"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"id": "flaky-test-sentinel-and-quarantine",
|
|
159
|
+
"name": "Flaky Test Sentinel And Quarantine",
|
|
160
|
+
"description": "Enterprise flaky test detection, scoring, and automated quarantine governance. Detects non-deterministic test behavior via multi-run repetition (e.g., 5 iterations), computes flakiness index, isolates unstable tests from blocking CI/CD merges via quarantine tagging (@quarantine / @flaky), and tracks MTBF until remediation.",
|
|
161
|
+
"category": "verification_and_resilience",
|
|
162
|
+
"path": ".agents/skills/flaky-test-sentinel-and-quarantine/SKILL.md",
|
|
163
|
+
"version": "1.0.0"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "github-actions-templates",
|
|
167
|
+
"name": "GitHub Actions Templates",
|
|
168
|
+
"category": "architecture_and_analysis",
|
|
169
|
+
"path": ".agents/skills/github-actions-templates/SKILL.md",
|
|
170
|
+
"summary": "Production-ready GitHub Actions workflows for automated testing, building, and deploying.",
|
|
171
|
+
"version": "2.0.0"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "graphify-impact-analyzer",
|
|
175
|
+
"name": "Graphify Impact Analyzer",
|
|
176
|
+
"category": "architecture_and_analysis",
|
|
177
|
+
"path": ".agents/skills/graphify-impact-analyzer/SKILL.md",
|
|
178
|
+
"summary": "AST Knowledge Graph exploration, navigation, and zero-waste test impact analysis.",
|
|
179
|
+
"version": "2.0.0"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"id": "katalon-cli-runner",
|
|
183
|
+
"name": "Katalon CLI Runner",
|
|
184
|
+
"category": "test_automation_and_execution",
|
|
185
|
+
"path": ".agents/skills/katalon-cli-runner/SKILL.md",
|
|
186
|
+
"summary": "Adaptive test execution manager supporting licensed KRE CLI and headless automation runs.",
|
|
187
|
+
"version": "2.0.0"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"id": "lam-script-generator",
|
|
191
|
+
"name": "LAM Script Generator",
|
|
192
|
+
"category": "test_automation_and_execution",
|
|
193
|
+
"path": ".agents/skills/lam-script-generator/SKILL.md",
|
|
194
|
+
"summary": "Large Action Model (LAM) script generator transforming user stories into Clean POM scripts.",
|
|
195
|
+
"version": "2.0.0"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"id": "playwright-live-interaction",
|
|
199
|
+
"name": "Playwright Live Interaction",
|
|
200
|
+
"category": "test_automation_and_execution",
|
|
201
|
+
"path": ".agents/skills/playwright-live-interaction/SKILL.md",
|
|
202
|
+
"summary": "Fast live web interaction and interactive DOM/AOM probing via Playwright MCP.",
|
|
203
|
+
"version": "2.0.0"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": "security-dast-sentinel",
|
|
207
|
+
"name": "Security DAST Sentinel",
|
|
208
|
+
"description": "Dynamic Application Security Testing (DAST) and OWASP Top 10 automated verification for web apps and APIs. Audits security response headers (CSP, HSTS, X-Frame-Options), detects sensitive data leaks (PII, tokens, internal stacktraces), asserts BOLA/IDOR authorization boundaries via role token swapping, and validates CORS configurations.",
|
|
209
|
+
"category": "verification_and_resilience",
|
|
210
|
+
"path": ".agents/skills/security-dast-sentinel/SKILL.md",
|
|
211
|
+
"version": "1.0.0"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"id": "self-healing-locator",
|
|
215
|
+
"name": "Self Healing Locator",
|
|
216
|
+
"category": "verification_and_resilience",
|
|
217
|
+
"path": ".agents/skills/self-healing-locator/SKILL.md",
|
|
218
|
+
"summary": "Token-efficient self-healing locator skill using Accessibility Tree (AOM) and semantic DOM diffing.",
|
|
219
|
+
"version": "2.0.0"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"id": "synthetic-test-data-generator",
|
|
223
|
+
"name": "Synthetic Test Data Generator",
|
|
224
|
+
"category": "verification_and_resilience",
|
|
225
|
+
"path": ".agents/skills/synthetic-test-data-generator/SKILL.md",
|
|
226
|
+
"summary": "Generate robust, idempotent, and boundary-value synthetic test data for automated test suites.",
|
|
227
|
+
"version": "2.0.0"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"id": "token-and-context-optimizer",
|
|
231
|
+
"name": "Token and Context Optimizer",
|
|
232
|
+
"category": "context_and_optimization",
|
|
233
|
+
"path": ".agents/skills/token-and-context-optimizer/SKILL.md",
|
|
234
|
+
"summary": "Sparse context retrieval, terminal log distillation, context degradation prevention, and file-backed memory scratchpad.",
|
|
235
|
+
"version": "2.0.0"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"id": "visual-regression-sentinel",
|
|
239
|
+
"name": "Visual Regression Sentinel",
|
|
240
|
+
"category": "verification_and_resilience",
|
|
241
|
+
"path": ".agents/skills/visual-regression-sentinel/SKILL.md",
|
|
242
|
+
"summary": "Pixel-level and perceptual visual regression testing with dynamic masking and layout shift detection.",
|
|
243
|
+
"version": "2.0.0"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "wcag-audit-patterns",
|
|
247
|
+
"name": "WCAG Audit Patterns",
|
|
248
|
+
"category": "architecture_and_analysis",
|
|
249
|
+
"path": ".agents/skills/wcag-audit-patterns/SKILL.md",
|
|
250
|
+
"summary": "Conduct WCAG 2.2 accessibility audits with automated testing and remediation guidance.",
|
|
251
|
+
"version": "2.0.0"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"id": "web-vitals-and-performance-profiler",
|
|
255
|
+
"name": "Web Vitals and Performance Profiler",
|
|
256
|
+
"category": "architecture_and_analysis",
|
|
257
|
+
"path": ".agents/skills/web-vitals-and-performance-profiler/SKILL.md",
|
|
258
|
+
"summary": "Profile Core Web Vitals (LCP, CLS, INP/FID, TTFB) and detect slow APIs via CDP on-demand.",
|
|
259
|
+
"version": "2.0.0"
|
|
260
|
+
}
|
|
261
|
+
]
|
|
262
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# PROJECT AI GUIDE TEMPLATE: [TARGET_PROJECT_NAME] (`PROJECT_AI_GUIDE.md`)
|
|
2
|
+
|
|
3
|
+
> **Purpose:** This file provides project-specific business context, technology stack definitions, and execution commands to AI Agents (Antigravity / Cursor / Claude Code).
|
|
4
|
+
> AI Agents combine universal skills from the `agent-skills` hub with the project context declared below.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 1. General System Under Test (SUT) Information
|
|
9
|
+
- **Project / Module Name:** `[e.g., Enterprise Billing Platform / Customer Portal]`
|
|
10
|
+
- **Environments:**
|
|
11
|
+
- Test / Dev URL: `https://test.example.com`
|
|
12
|
+
- Staging / UAT URL: `https://staging.example.com`
|
|
13
|
+
- **Frontend Framework:** `[e.g., React 18, Angular 17 + PrimeNG, Vue 3, Next.js]`
|
|
14
|
+
- **Testing Framework:** `[e.g., Playwright Test, Katalon Studio 10.x, Cypress, Selenium]`
|
|
15
|
+
- **Script Language:** `[e.g., TypeScript, Groovy, Python, JavaScript]`
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 2. Test Accounts & Authentication Credentials
|
|
20
|
+
- **Admin Account:** `ADMIN_USER` / `ADMIN_PASS` (Sourced via environment variables)
|
|
21
|
+
- **Standard User Account:** `USER_NAME` / `USER_PASS`
|
|
22
|
+
- **Auth Mechanism:** `[e.g., JWT Bearer Token, Cookie StorageState, OAuth2 / OIDC, SSO]`
|
|
23
|
+
- **Zero-Second Auth Storage State Path:** `.auth/user_state.json`
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 3. Repository Architecture & Directory Mapping
|
|
28
|
+
- **Page Objects / Page Classes:** `src/pages/...` or `Keywords/pages/...`
|
|
29
|
+
- **Test Scripts / Specs:** `tests/e2e/...` or `Scripts/...`
|
|
30
|
+
- **Test Suites / Collections:** `tests/suites/...` or `Test Suites/...`
|
|
31
|
+
- **Fixtures & Mock Payloads:** `tests/fixtures/...` or `Data Files/...`
|
|
32
|
+
- **Environment Configuration:** `.env` or `Profiles/default.glbl`
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 4. Engineering Standards & Quality Gates
|
|
37
|
+
1. **Clean POM Architecture:** 100% of locators, selectors, and assertions encapsulated within Page Classes inheriting from `BasePage`. Zero raw selectors in test scripts.
|
|
38
|
+
2. **Dynamic Test Data:** Always use randomized identifiers with execution timestamp prefixes (`uniqueCode("AUTO_")`) to eliminate DB unique key collisions.
|
|
39
|
+
3. **Encoding Discipline:** 100% `UTF-8 No BOM` across all code, script, and documentation files.
|
|
40
|
+
4. **Smart Wait & Synchronization:** Pure event-driven waiting (`waitForLoadState('networkidle')`, Angular `zone.isStable()`). Static sleeps (`Thread.sleep`, `waitForTimeout`) are strictly forbidden.
|
|
41
|
+
5. **Idempotent Teardown:** Every data creation test case must be paired with automated deletion cleanup in its teardown phase.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## 5. Standard CLI Execution Commands
|
|
46
|
+
- **Run Headless E2E Suite:**
|
|
47
|
+
```bash
|
|
48
|
+
[e.g., npx playwright test --project=chromium --reporter=html,junit:results.xml]
|
|
49
|
+
```
|
|
50
|
+
- **Run Targeted Test Case:**
|
|
51
|
+
```bash
|
|
52
|
+
[e.g., npx playwright test tests/e2e/login.spec.ts]
|
|
53
|
+
```
|
|
54
|
+
- **Execute 7 Quality Gates Verification:**
|
|
55
|
+
```bash
|
|
56
|
+
python tools/verify_all.py
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## 6. Git Push & SCM Workflow
|
|
62
|
+
- **Clean SCM by Architecture:** Because `agent-skills` is a separate external repository, this target project stays 100% clean of AI skills, rules, and prompts. No dual-remote or smart push script is needed.
|
|
63
|
+
- **Push Command:** Commit verified code and push directly to this project's remote branch:
|
|
64
|
+
```bash
|
|
65
|
+
git add <project-files>
|
|
66
|
+
git commit -m "feat(module): add verified test scenario"
|
|
67
|
+
git push origin <current-branch>
|
|
68
|
+
```
|
|
69
|
+
- **Privacy Mode:** If enterprise policy restricts AI markdown files in the repository, add `PROJECT_AI_GUIDE.md` to `.gitignore`.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## 7. Fast Index & Reference Data Configuration (`lookup_tc` & `lookup_xpath`)
|
|
74
|
+
|
|
75
|
+
To enable instant (<300 tokens) lookups for Test Cases and DOM Locators without cluttering LLM context:
|
|
76
|
+
- **Test Case Metadata File:**
|
|
77
|
+
- Standard path: `testcases.json` (or `references/testcases.json`)
|
|
78
|
+
- Environment variable: `TC_DATA_FILE="references/testcases.json"` in `.env`
|
|
79
|
+
- Lookup command: `python ../agent-skills/tools/lookup_tc.py <TC-ID> --file references/testcases.json`
|
|
80
|
+
- **Scraped Selectors & XPath File:**
|
|
81
|
+
- Standard path: `selectors.json` (or `references/selectors.json`)
|
|
82
|
+
- Environment variable: `XPATH_DATA_FILE="references/selectors.json"` in `.env`
|
|
83
|
+
- Lookup command: `python ../agent-skills/tools/lookup_xpath.py <PageClass> --file references/selectors.json`
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## 8. First-Time SQLite Memory Cache Bootstrap (CI / Docker / Fresh Clone)
|
|
88
|
+
|
|
89
|
+
The Central Agent Memory (`~/.agent_memory/global_cache.db`) stores positive healing patches and negative anti-patterns.
|
|
90
|
+
- **In fresh environments (CI runner, Docker container, new developer machine):**
|
|
91
|
+
Initialize and seed the database with baseline solutions:
|
|
92
|
+
```bash
|
|
93
|
+
agent-qa heal init
|
|
94
|
+
# or directly via python:
|
|
95
|
+
python ../agent-skills/tools/cache_resolver.py init
|
|
96
|
+
```
|
|
97
|
+
- **Automatic bootstrap:** Running `./scripts/install.ps1` (Windows) or `./scripts/setup.sh` (Linux/macOS) in `agent-skills` performs this initialization automatically.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Project Execution State (`PROJECT_STATE.md`)
|
|
2
|
+
|
|
3
|
+
- **Project:** `[PROJECT_NAME]`
|
|
4
|
+
- **Last Sync:** `[TIMESTAMP]`
|
|
5
|
+
- **Overall Status:** `IN_PROGRESS`
|
|
6
|
+
|
|
7
|
+
## 1. Active Goal
|
|
8
|
+
- [Short description of current sprint or user instruction]
|
|
9
|
+
|
|
10
|
+
## 2. Task Checklist (Rolling Window - Max 8 active items)
|
|
11
|
+
- [ ] [Task 1]
|
|
12
|
+
- [ ] [Task 2]
|
|
13
|
+
|
|
14
|
+
## 3. Active Watchpoints & Healing (Max 3 items)
|
|
15
|
+
- Target Suite / Script: `[None]`
|
|
16
|
+
- Failing Locator / Line: `[None]`
|
|
17
|
+
|
|
18
|
+
## 4. Quality Verification
|
|
19
|
+
- 7 Quality Gates: `PENDING`
|
|
20
|
+
- Clean POM Integrity: `VERIFIED`
|