Skip to content

Centralize AI config in .github/ and reorganize skills#925

Open
drbenvincent wants to merge 1 commit into
mainfrom
centralize-ai-config
Open

Centralize AI config in .github/ and reorganize skills#925
drbenvincent wants to merge 1 commit into
mainfrom
centralize-ai-config

Conversation

@drbenvincent
Copy link
Copy Markdown
Collaborator

Summary

  • Centralize all AI assistant config in .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.
  • Unify CausalPy domain skills — consolidate 4 fragmented skills (designing-experiments, loading-datasets, performing-causal-analysis, running-placebo-analysis) and 6 thin command stubs into one comprehensive causalpy-analysis skill covering all 9 experiments, 7 models, and 11 checks.
  • Add causal-detective skill — structured falsification investigation process inspired by the Causal Mindset Framework (Gallea, 2026). Guides through 5 phases with 3 specialized agents (threat-assessor, falsification-runner, evidence-synthesizer).
  • Add example-datasets and feature-exploration skills

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

  • Verify symlinks resolve: ls -la .claude/agents/ .cursor/agents/
  • Verify CLAUDE.md loads in Claude Code sessions
  • Verify rules activate when editing files in scoped paths
  • Confirm skills list shows new skills in both Cursor and Claude Code

Made with Cursor

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>
@drbenvincent drbenvincent added devops DevOps related agents Agent related issues specifically for use by developers labels May 25, 2026
@drbenvincent drbenvincent requested a review from cetagostini May 25, 2026 09:42
@codecov
Copy link
Copy Markdown

codecov Bot commented May 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.07%. Comparing base (e40af27) to head (26f86bc).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@read-the-docs-community
Copy link
Copy Markdown

Documentation build overview

📚 causalpy | 🛠️ Build #32836884 | 📁 Comparing 26f86bc against latest (e40af27)

  🔍 Preview build  

1 file changed
± 404.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent related issues specifically for use by developers devops DevOps related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unify skills/commands/rules etc for smoother/tidier dev experience

1 participant