用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Praveengovianalytics/SparkGen-AWS --skill sparkgen-debug命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Generate a new SparkGen-AWS project from the cookiecutter template
Develop and modify the SparkGen-AWS cookiecutter template — variables, hooks, files
Run cookiecutter matrix tests to verify template generates correctly across all variable combinations
基于 SOC 职业分类
正在显示 SKILL.md
| name | sparkgen-debug |
| description | Diagnose issues with Ollama, Docker, AWS, endpoints, guardrails, RAG, or general health |
| user_invokable | true |
| auto_invokable | true |
| auto_invoke_hint | Invoke when the user encounters errors or something is not working |
| arguments | [ollama|docker|aws|endpoint|guardrail|rag|general] |
Diagnose and troubleshoot issues. Default is general which runs all checks.
Always gather this state first:
curl -sf http://localhost:8000/healthcurl -sf http://localhost:11434/api/tagsdocker info 2>/dev/null && docker compose ps 2>/dev/null.env if exists for DEPLOYMENT_MODE and LLM_PROVIDER/sparkgen-debug ollama)curl -sf http://localhost:11434/api/tagsollama list.env.local OLLAMA_MODEL (must include tag, e.g., llama3.2:3b)curl -s http://localhost:11434/api/generate -d '{"model":"<model>","prompt":"hi","stream":false}'cat ~/.ollama/logs/server.log | tail -50 (macOS)/sparkgen-debug docker)docker infodocker compose psdocker compose logs --tail=50 agentcurl -sf http://localhost:8000/shell/redis-cli -h localhost pinglsof -i :8000 -i :8080 -i :6379 -i :11434/sparkgen-debug aws)aws sts get-caller-identityaws configure get regionaws bedrock list-foundation-models --max-results 1aws dynamodb list-tablesaws s3 ls | grep <project_prefix>/sparkgen-debug endpoint)GET /healthGET /v1/agentsGET /v1/toolsGET /v1/workflowGET /v1/guardrailsGET /v1/promptsPOST /v1/chat with test message
For each, report status code and whether response is valid JSON./sparkgen-debug guardrail)GET /v1/guardrailspython -m app.guardrails.test_runner --defaults guardrails/default_guardrails.yamlPOST /v1/guardrails/test with sample inputguardrails/default_guardrails.yaml/sparkgen-debug rag)config/rag.yamlGET /v1/rag/knowledge-basesls documents/ls local_data/vectors/POST /v1/rag/query with simple question/sparkgen-debug general or /sparkgen-debug)Run ALL checks above. Output a health dashboard:
=== SparkGen Health Dashboard ===
Server: [OK|FAIL] http://localhost:8000
Ollama: [OK|FAIL|N/A] http://localhost:11434
Docker: [OK|FAIL|N/A]
Env File: [OK|MISSING] .env → DEPLOYMENT_MODE=<mode>
Endpoints: [OK|FAIL] <N>/7 responding
Guardrails: [OK|FAIL|DISABLED]
RAG: [OK|FAIL|DISABLED]
Tests: <last run status if available>