Skip to content

Commit 934b5a8

Browse files
committed
ci
1 parent def4ed8 commit 934b5a8

File tree

166 files changed

+7138
-13456
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+7138
-13456
lines changed

.claude/AGENTS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
- In all interactions and commit messages, be extremely concise and sacrifice grammar for the sake of concision.
2+
3+
## PR Comments
4+
5+
- When tagging Claude in GitHub issues, use '@claude'
6+
7+
## GitHub
8+
9+
- Your primary method for interacting with GitHub should be the GitHub CLI.
10+
11+
## Plans
12+
13+
- At the end of each plan, give me a list of unresolved questions to answer, if any. Make the questions extremely concise. Sacrifice grammar for the sake of concision.

.claude/prompt.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"beforeStart": [
3+
{
4+
"tag": "MANDATORY-FIRST-RESPONSE",
5+
"header": "🚨 STOP - YOUR FIRST TOOL CALL MUST BE TodoWrite",
6+
"instructions": [
7+
"DO NOT analyze the task yet. DO NOT read files. DO NOT edit anything. DO NOT load skills yet.",
8+
"YOUR FIRST ACTION: Call TodoWrite with the todo below, marking it as in_progress",
9+
"Check if the todo's condition applies - if NO, mark completed immediately and proceed with normal work",
10+
"If condition applies: work through all steps → mark completed → proceed with normal work",
11+
"If you skip TodoWrite or jump straight to file operations, you have FAILED to follow instructions"
12+
],
13+
"todos": [
14+
"Skill analysis (SKIP if message contains 'quick'): (1) Check if rationalizing with thoughts like 'simple question', 'just checking files', 'don't need formal skill', 'overkill', 'might be relevant' - if YES to ANY, stop rationalizing; (2) List ALL available skills from context; (3) For EACH skill: Read its description and check for 'always load first' or foundational patterns - mark these ✓ IMMEDIATELY. Then ask 'Does this task involve [skill topic]?' If YES or MIGHT or MAYBE = mark ✓. Only mark ✗ if DEFINITELY not related; (4) Use Skill tool to load ALL marked ✓ IN ONE PARALLEL CALL - do NOT load one skill then wait to see if it tells you to load others. Load ALL potentially relevant skills upfront; (5) Output '[Skills checked: X available, Y loaded: name1, name2, ...]'. CRITICAL: 'Might be relevant' = MUST load. 'Could apply' = MUST load. '1% chance' = MUST load. Do NOT depend on one skill to tell you to load another."
15+
]
16+
}
17+
],
18+
"beforeComplete": [
19+
{
20+
"tag": "VERIFICATION-CHECKLIST",
21+
"header": "Before claiming work is complete, fixed, or passing - NO completion claims without FRESH verification evidence:",
22+
"instructions": [
23+
"Create TodoWrite with ALL todos below (each has its own condition)",
24+
"For EACH todo: Check if its condition applies - if NO, mark completed immediately and skip to next",
25+
"If condition applies: mark in_progress → complete the check → mark completed",
26+
"Work through every todo even if some don't apply (conditions are per-todo, not global)",
27+
"We manually start session with `bun logs && bun typecheck:watch` as Background Bash Shell - read output when checking errors",
28+
"Run `bun typecheck` only when Background Bash Shells are not visible/running",
29+
"NEVER make git commits unless user explicitly asked",
30+
"NEVER run `bun dev` or `bun run build` unless explicitly asked"
31+
],
32+
"todos": [
33+
"TypeScript check (ONLY if updated ts files): Verify no `any` used (pause and ask user if `any` seems required)",
34+
"Typecheck (ONLY if updated ts files): Read typecheck:watch output OR run `bun typecheck` - verify passes",
35+
"Lint: Run `bun lint:fix` - verify passes"
36+
]
37+
}
38+
],
39+
"afterCompact": [
40+
{
41+
"tag": "POST-COMPACT-RECOVERY",
42+
"header": "🚨 CONTEXT WIPED - MANDATORY SKILL RELOAD REQUIRED",
43+
"instructions": [
44+
"STOP. Context compaction has DELETED all previously loaded skills. You have FORGOTTEN everything.",
45+
"DO NOT proceed with any task until you complete skill reloading below",
46+
"DO NOT assume you remember any skills - they are ALL gone from memory",
47+
"YOUR IMMEDIATE ACTION: Complete the mandatory reload checklist below",
48+
"Skipping this = GUARANTEED FAILURE because you lost all behavioral patterns"
49+
],
50+
"todos": [
51+
"Skill reload after compaction: (1) Check TodoWrite to identify what task you were working on; (2) List ALL available skills from context; (3) For EACH skill: Read its description and check for 'always load first' or foundational patterns - mark these ✓ IMMEDIATELY. Then ask 'Does this apply to my current task?' If YES or MIGHT or MAYBE = mark ✓. Only mark ✗ if DEFINITELY not related; (4) Use Skill tool to load ALL marked ✓ IN ONE PARALLEL CALL (REQUIRED - they were wiped) - do NOT load one skill then wait to see if it tells you to load others. Load ALL potentially relevant skills upfront; (5) ONLY after reloading skills, resume the task. CRITICAL: All previously loaded skills are GONE and MUST be reloaded. 'Might apply' = MUST load."
52+
]
53+
}
54+
]
55+
}

.claude/ruler.toml

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# Ruler Configuration for Informed Medical
2+
# This project uses Ruler to manage AI agent instructions
3+
# Source: .ruler/ directory | Generated: root AGENTS.md, CLAUDE.md, etc.
4+
5+
# Default agents to apply when --agents flag is not specified
6+
default_agents = ["claude", "codex", "cursor"]
7+
8+
# --- Fork Configuration ---
9+
10+
root_folder = ".claude"
11+
12+
[rules]
13+
merge_strategy = "cursor"
14+
15+
[backup]
16+
enabled = false
17+
18+
# --- Global Configuration ---
19+
20+
# Skills support (manages .ruler/skills/ → .claude/skills/ propagation)
21+
[skills]
22+
enabled = true
23+
generate_from_rules = true
24+
25+
# Automatic .gitignore management
26+
[gitignore]
27+
enabled = true
28+
29+
# MCP (Model Context Protocol) server configuration
30+
[mcp]
31+
enabled = true
32+
merge_strategy = "merge"
33+
34+
# --- MCP Server Definitions ---
35+
[mcp_servers.registries]
36+
command = "npx"
37+
args = ["-y", "shadcn@latest", "mcp"]
38+
39+
# --- Agent-Specific Configuration ---
40+
41+
# Claude Code (primary agent)
42+
[agents.claude]
43+
enabled = true
44+
output_path = "CLAUDE.md"
45+
46+
# Cursor (secondary agent)
47+
[agents.cursor]
48+
enabled = true
49+
# Uses AGENTS.md by default
50+
51+
# OpenAI Codex CLI
52+
[agents.codex]
53+
enabled = true
54+
output_path_config = ".codex/config.toml"
55+
# Uses AGENTS.md by default
56+
57+
# Disable other agents
58+
[agents.copilot]
59+
enabled = false
60+
61+
[agents.aider]
62+
enabled = false
63+
64+
[agents.windsurf]
65+
enabled = false
66+
67+
[agents.cline]
68+
enabled = false
69+
70+
[agents.crush]
71+
enabled = false
72+
73+
[agents.amp]
74+
enabled = false
75+
76+
[agents.amazonqcli]
77+
enabled = false
78+
79+
[agents.firebase]
80+
enabled = false
81+
82+
[agents.gemini-cli]
83+
enabled = false
84+
85+
[agents.jules]
86+
enabled = false
87+
88+
[agents.junie]
89+
enabled = false
90+
91+
[agents.kilocode]
92+
enabled = false
93+
94+
[agents.opencode]
95+
enabled = false
96+
97+
[agents.openhands]
98+
enabled = false
99+
100+
[agents.goose]
101+
enabled = false
102+
103+
[agents.qwen]
104+
enabled = false
105+
106+
[agents.roo]
107+
enabled = false
108+
109+
[agents.zed]
110+
enabled = false
111+
112+
[agents.trae]
113+
enabled = false
114+
115+
[agents.warp]
116+
enabled = false
117+
118+
[agents.kiro]
119+
enabled = false
120+
121+
[agents.firebender]
122+
enabled = false
123+
124+
[agents.augmentcode]
125+
enabled = false
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
alwaysApply: true
3+
---

.claude/rules/2-tech-stack.mdc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
alwaysApply: true
3+
---

.claude/rules/3-project-status.mdc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
alwaysApply: true
3+
---

0 commit comments

Comments
 (0)