mit einem Klick
api-smoke-test
// Run smoke tests against API endpoints to verify availability and performance. Use after deploy_to_ephemeral, release_to_prod, or when debugging API connectivity.
// Run smoke tests against API endpoints to verify availability and performance. Use after deploy_to_ephemeral, release_to_prod, or when debugging API connectivity.
Automatically fix CVE vulnerabilities in Python dependencies for downstream projects. Queries Jira for unresolved CVEs, filters already-fixed issues, updates Pipfile and Pipfile.lock using container-based pipenv lock, creates MRs, and updates Jira. Use when the user mentions CVEs, vulnerabilities, security fixes, CVE remediation, dependency security updates, or asks to fix CVEs.
Add a new project to config.json with auto-detection and validation. Detects settings from directory, validates GitLab/Jira access, optionally configures Quay/Bonfire, generates initial knowledge. Use when user says "add project", "configure new repo".
Configure VMs with Ansible playbooks and ad-hoc commands. Run playbooks, install Galaxy roles, ad-hoc modules, inventory management, check mode. Use when configuring VMs or running Ansible against hosts.
Validate app-interface configuration and release readiness. Validates YAML, compares refs to live cluster, shows quotas, pending MRs. Use when user says "check app-interface", "app-interface validation".
Attach the current AI session context to a Jira issue as a formatted comment. Useful for investigation, audit trail, handoff, debugging. Use when user says "attach session to Jira", "document on Jira", or "export context to AAP-XXXXX".
Debug AWS RDS database issues by gathering infrastructure and database-level diagnostics. Use when user says "debug RDS", "RDS issues", "AWS database problems", or "check RDS health".
| name | api-smoke-test |
| description | Run smoke tests against API endpoints to verify availability and performance. Use after deploy_to_ephemeral, release_to_prod, or when debugging API connectivity. |
Verify API availability and performance. Validates deploy_to_ephemeral and release_to_prod.
| Input | Type | Default | Purpose |
|---|---|---|---|
base_url | string | required | Base URL (e.g., https://api.example.com) |
environment | string | stage | stage, production, ephemeral |
auth_token | string | "" | Bearer token for auth endpoints |
fail_on_slow | bool | false | Fail if response > threshold |
persona_load("developer")check_known_issues("curl", "")check_known_issues("api", "")openssl_s_client(host="{{ base_url }}") — verify TLScurl_get(url="{{ base_url }}/") — rootcurl_get(url="{{ base_url }}/health") — healthcurl_head(url="{{ base_url }}/")curl_headers(url="{{ base_url }}/")curl_timing(url="{{ base_url }}/") — latencycurl_post(url="{{ base_url }}/api/v1/ping") — if endpoint existscurl_put(url="{{ base_url }}/api/v1/ping") — if endpoint existscurl_delete(url="{{ base_url }}/api/v1/ping") — if endpoint existslearn_tool_fix("curl_get", "could not resolve", "DNS resolution failed", "Verify hostname and DNS")vpn_connect() for internal APIsmemory_session_log("API smoke test on {{ base_url }}", "environment={{ environment }}, passed=X/Y")| Error | Action |
|---|---|
| "could not resolve" | Verify hostname, DNS |
| "connection refused" | Check API service running |
| "no route to host" | vpn_connect() for internal APIs |
Report: endpoint results table (passed/total), TLS version, response timing (total, connect, slow flag), response headers, known issues. If failures: suggest skill_run("debug_prod", ...).
debug_prod, create_jira_issue, investigate_alert