mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08:00
fix(docs): repair healthcare eval harness examples
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Everything Claude Code (ECC) — Agent Instructions
|
# Everything Claude Code (ECC) — Agent Instructions
|
||||||
|
|
||||||
This is a **production-ready AI coding plugin** providing 28 specialized agents, 126 skills, 60 commands, and automated hook workflows for software development.
|
This is a **production-ready AI coding plugin** providing 29 specialized agents, 132 skills, 60 commands, and automated hook workflows for software development.
|
||||||
|
|
||||||
**Version:** 1.9.0
|
**Version:** 1.9.0
|
||||||
|
|
||||||
@@ -141,8 +141,8 @@ Troubleshoot failures: check test isolation → verify mocks → fix implementat
|
|||||||
## Project Structure
|
## Project Structure
|
||||||
|
|
||||||
```
|
```
|
||||||
agents/ — 28 specialized subagents
|
agents/ — 29 specialized subagents
|
||||||
skills/ — 126 workflow skills and domain knowledge
|
skills/ — 132 workflow skills and domain knowledge
|
||||||
commands/ — 60 slash commands
|
commands/ — 60 slash commands
|
||||||
hooks/ — Trigger-based automations
|
hooks/ — Trigger-based automations
|
||||||
rules/ — Always-follow guidelines (common + per-language)
|
rules/ — Always-follow guidelines (common + per-language)
|
||||||
|
|||||||
12
README.md
12
README.md
@@ -1,6 +1,4 @@
|
|||||||
**Language:** English | [Português (Brasil)](docs/pt-BR/README.md) | [简体中文](README.zh-CN.md) | [繁體中文](docs/zh-TW/README.md) | [日本語](docs/ja-JP/README.md) | [한국어](docs/ko-KR/README.md)
|
**Language:** English | [Português (Brasil)](docs/pt-BR/README.md) | [简体中文](README.zh-CN.md) | [繁體中文](docs/zh-TW/README.md) | [日本語](docs/ja-JP/README.md) | [한국어](docs/ko-KR/README.md) | [Türkçe](docs/tr/README.md)
|
||||||
[Türkçe](docs/tr/README.md)
|
|
||||||
|
|
||||||
|
|
||||||
# Everything Claude Code
|
# Everything Claude Code
|
||||||
|
|
||||||
@@ -222,7 +220,7 @@ For manual install instructions see the README in the `rules/` folder. When copy
|
|||||||
/plugin list everything-claude-code@everything-claude-code
|
/plugin list everything-claude-code@everything-claude-code
|
||||||
```
|
```
|
||||||
|
|
||||||
✨ **That's it!** You now have access to 28 agents, 126 skills, and 60 commands.
|
✨ **That's it!** You now have access to 29 agents, 132 skills, and 60 commands.
|
||||||
|
|
||||||
### Multi-model commands require additional setup
|
### Multi-model commands require additional setup
|
||||||
|
|
||||||
@@ -297,7 +295,7 @@ everything-claude-code/
|
|||||||
| |-- plugin.json # Plugin metadata and component paths
|
| |-- plugin.json # Plugin metadata and component paths
|
||||||
| |-- marketplace.json # Marketplace catalog for /plugin marketplace add
|
| |-- marketplace.json # Marketplace catalog for /plugin marketplace add
|
||||||
|
|
|
|
||||||
|-- agents/ # 28 specialized subagents for delegation
|
|-- agents/ # 29 specialized subagents for delegation
|
||||||
| |-- planner.md # Feature implementation planning
|
| |-- planner.md # Feature implementation planning
|
||||||
| |-- architect.md # System design decisions
|
| |-- architect.md # System design decisions
|
||||||
| |-- tdd-guide.md # Test-driven development
|
| |-- tdd-guide.md # Test-driven development
|
||||||
@@ -1111,9 +1109,9 @@ The configuration is automatically detected from `.opencode/opencode.json`.
|
|||||||
|
|
||||||
| Feature | Claude Code | OpenCode | Status |
|
| Feature | Claude Code | OpenCode | Status |
|
||||||
|---------|-------------|----------|--------|
|
|---------|-------------|----------|--------|
|
||||||
| Agents | ✅ 28 agents | ✅ 12 agents | **Claude Code leads** |
|
| Agents | ✅ 29 agents | ✅ 12 agents | **Claude Code leads** |
|
||||||
| Commands | ✅ 60 commands | ✅ 31 commands | **Claude Code leads** |
|
| Commands | ✅ 60 commands | ✅ 31 commands | **Claude Code leads** |
|
||||||
| Skills | ✅ 126 skills | ✅ 37 skills | **Claude Code leads** |
|
| Skills | ✅ 132 skills | ✅ 37 skills | **Claude Code leads** |
|
||||||
| Hooks | ✅ 8 event types | ✅ 11 events | **OpenCode has more!** |
|
| Hooks | ✅ 8 event types | ✅ 11 events | **OpenCode has more!** |
|
||||||
| Rules | ✅ 29 rules | ✅ 13 instructions | **Claude Code leads** |
|
| Rules | ✅ 29 rules | ✅ 13 instructions | **Claude Code leads** |
|
||||||
| MCP Servers | ✅ 14 servers | ✅ Full | **Full parity** |
|
| MCP Servers | ✅ 14 servers | ✅ Full | **Full parity** |
|
||||||
|
|||||||
@@ -57,7 +57,16 @@ npx jest --testPathPattern='tests/data-integrity' --bail --ci
|
|||||||
Tests end-to-end flows: encounter lifecycle, template rendering, medication sets, drug/diagnosis search, prescription PDF, red flag alerts.
|
Tests end-to-end flows: encounter lifecycle, template rendering, medication sets, drug/diagnosis search, prescription PDF, red flag alerts.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx jest --testPathPattern='tests/clinical' --ci 2>&1 | node scripts/check-pass-rate.js 95
|
tmp_json=$(mktemp)
|
||||||
|
npx jest --testPathPattern='tests/clinical' --ci --json --outputFile="$tmp_json" || true
|
||||||
|
total=$(jq '.numTotalTests // 0' "$tmp_json")
|
||||||
|
passed=$(jq '.numPassedTests // 0' "$tmp_json")
|
||||||
|
if [ "$total" -eq 0 ]; then
|
||||||
|
echo "No clinical tests found" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
rate=$(echo "scale=2; $passed * 100 / $total" | bc)
|
||||||
|
echo "Clinical pass rate: ${rate}% ($passed/$total)"
|
||||||
```
|
```
|
||||||
|
|
||||||
**5. Integration Compliance (HIGH — 95%+ required)**
|
**5. Integration Compliance (HIGH — 95%+ required)**
|
||||||
@@ -65,7 +74,16 @@ npx jest --testPathPattern='tests/clinical' --ci 2>&1 | node scripts/check-pass-
|
|||||||
Tests external systems: HL7 message parsing (v2.x), FHIR validation, lab result mapping, malformed message handling.
|
Tests external systems: HL7 message parsing (v2.x), FHIR validation, lab result mapping, malformed message handling.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx jest --testPathPattern='tests/integration' --ci 2>&1 | node scripts/check-pass-rate.js 95
|
tmp_json=$(mktemp)
|
||||||
|
npx jest --testPathPattern='tests/integration' --ci --json --outputFile="$tmp_json" || true
|
||||||
|
total=$(jq '.numTotalTests // 0' "$tmp_json")
|
||||||
|
passed=$(jq '.numPassedTests // 0' "$tmp_json")
|
||||||
|
if [ "$total" -eq 0 ]; then
|
||||||
|
echo "No integration tests found" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
rate=$(echo "scale=2; $passed * 100 / $total" | bc)
|
||||||
|
echo "Integration pass rate: ${rate}% ($passed/$total)"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Pass/Fail Matrix
|
### Pass/Fail Matrix
|
||||||
@@ -108,9 +126,10 @@ jobs:
|
|||||||
# HIGH gates — 95%+ required
|
# HIGH gates — 95%+ required
|
||||||
- name: Clinical Workflows
|
- name: Clinical Workflows
|
||||||
run: |
|
run: |
|
||||||
RESULT=$(npx jest --testPathPattern='tests/clinical' --ci --json 2>&1) || true
|
TMP_JSON=$(mktemp)
|
||||||
TOTAL=$(echo "$RESULT" | jq '.numTotalTests // 0')
|
npx jest --testPathPattern='tests/clinical' --ci --json --outputFile="$TMP_JSON" || true
|
||||||
PASSED=$(echo "$RESULT" | jq '.numPassedTests // 0')
|
TOTAL=$(jq '.numTotalTests // 0' "$TMP_JSON")
|
||||||
|
PASSED=$(jq '.numPassedTests // 0' "$TMP_JSON")
|
||||||
if [ "$TOTAL" -eq 0 ]; then
|
if [ "$TOTAL" -eq 0 ]; then
|
||||||
echo "::error::No clinical tests found"; exit 1
|
echo "::error::No clinical tests found"; exit 1
|
||||||
fi
|
fi
|
||||||
@@ -122,9 +141,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Integration Compliance
|
- name: Integration Compliance
|
||||||
run: |
|
run: |
|
||||||
RESULT=$(npx jest --testPathPattern='tests/integration' --ci --json 2>&1) || true
|
TMP_JSON=$(mktemp)
|
||||||
TOTAL=$(echo "$RESULT" | jq '.numTotalTests // 0')
|
npx jest --testPathPattern='tests/integration' --ci --json --outputFile="$TMP_JSON" || true
|
||||||
PASSED=$(echo "$RESULT" | jq '.numPassedTests // 0')
|
TOTAL=$(jq '.numTotalTests // 0' "$TMP_JSON")
|
||||||
|
PASSED=$(jq '.numPassedTests // 0' "$TMP_JSON")
|
||||||
if [ "$TOTAL" -eq 0 ]; then
|
if [ "$TOTAL" -eq 0 ]; then
|
||||||
echo "::error::No integration tests found"; exit 1
|
echo "::error::No integration tests found"; exit 1
|
||||||
fi
|
fi
|
||||||
@@ -157,8 +177,13 @@ npx jest --testPathPattern='tests/data-integrity' --bail --ci
|
|||||||
### Example 2: Check HIGH Gate Pass Rate
|
### Example 2: Check HIGH Gate Pass Rate
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx jest --testPathPattern='tests/clinical' --ci --json | \
|
tmp_json=$(mktemp)
|
||||||
jq '{passed: .numPassedTests, total: .numTotalTests, rate: (.numPassedTests/.numTotalTests*100)}'
|
npx jest --testPathPattern='tests/clinical' --ci --json --outputFile="$tmp_json" || true
|
||||||
|
jq '{
|
||||||
|
passed: (.numPassedTests // 0),
|
||||||
|
total: (.numTotalTests // 0),
|
||||||
|
rate: (if (.numTotalTests // 0) == 0 then 0 else ((.numPassedTests // 0) / (.numTotalTests // 1) * 100) end)
|
||||||
|
}' "$tmp_json"
|
||||||
# Expected: { "passed": 21, "total": 22, "rate": 95.45 }
|
# Expected: { "passed": 21, "total": 22, "rate": 95.45 }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user