Centralize AI config in .github/ and reorganize skills#925
Open
drbenvincent wants to merge 1 commit into
Open
Conversation
Move agents, commands, and rules from .cursor/ to .github/ as the
single source of truth. Both .cursor/ and .claude/ now consume these
via symlinks. One edit propagates to both tools.
Infrastructure:
- Move agents from .cursor/agents/ to .github/agents/
- Move commands from .cursor/commands/ to .github/commands/
- Create 4 scoped rules in .github/rules/ (core-code, testing,
documentation, marimo)
- Replace .cursor/{agents,commands,rules} with symlinks to .github/
- Create .claude/{agents,commands,rules} symlinks to .github/
- Create CLAUDE.md as symlink to AGENTS.md
- Remove 6 redundant causalpy_* command stubs and basic.mdc
Skills:
- Unify 4 fragmented skills into single causalpy-analysis skill
covering all 9 experiments, 7 models, and 11 checks
- Add causal-detective skill for structured falsification investigation
- Add example-datasets and feature-exploration skills
- Remove superseded designing-experiments, performing-causal-analysis,
running-placebo-analysis, and loading-datasets skills
Agents:
- Add threat-assessor, falsification-runner, evidence-synthesizer
Closes #640
Based on agent infrastructure work from #837 by @cetagostini.
Co-authored-by: Cursor <cursoragent@cursor.com>
5 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #925 +/- ##
=======================================
Coverage 95.07% 95.07%
=======================================
Files 87 87
Lines 13701 13701
Branches 812 812
=======================================
Hits 13026 13026
Misses 479 479
Partials 196 196 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/— agents, rules, commands, and skills now live in.github/as the single source of truth. Both.cursor/and.claude/consume them via symlinks. One edit propagates to both tools.causalpy-analysisskill covering all 9 experiments, 7 models, and 11 checks.Extracted from #837 (agent infrastructure portion only — core library changes like OutcomeFalsification, random placebo folds, and model clone support should come in separate, focused PRs).
Based on work by @cetagostini.
Closes #640
Test plan
ls -la .claude/agents/ .cursor/agents/CLAUDE.mdloads in Claude Code sessionsMade with Cursor