Skip to content

Add AI agent workflows for Claude Code and Cursor#5

Merged
Korbeil merged 1 commit intomainfrom
feature/agents-support
Apr 24, 2026
Merged

Add AI agent workflows for Claude Code and Cursor#5
Korbeil merged 1 commit intomainfrom
feature/agents-support

Conversation

@Korbeil
Copy link
Copy Markdown
Member

@Korbeil Korbeil commented Apr 24, 2026

Summary

  • Adds canonical agent prompts, skill, and hook script in .agents/ as a single source of truth; .claude/ and .cursor/ entries are symlinks, so editing the source keeps both tools in sync.
  • Ships two subagents (spec-drift-investigator, wallet-payload-reviewer) and one workflow skill (refresh-wallet-spec) scoped to the project's spec-drift and payload-serialization concerns.
  • Protects generated spec baselines (tools/spec/*.json) and local credential files (**/.env.local) from agent edits via a Claude Code PreToolUse hook (hard block, exit 2) and a Cursor always-on rule (soft block).

Layout

.agents/
  agents/   spec-drift-investigator.md, wallet-payload-reviewer.md
  skills/   refresh-wallet-spec.md
  scripts/  guard-protected-paths.sh

Canonical prompts and hook script live in .agents/ (agents, skills,
scripts). .claude/ and .cursor/ entries are symlinks to the same
sources so both tools stay in sync. Protects tools/spec/*.json and
**/.env.local via a PreToolUse hook (Claude Code) and an always-on
rule (Cursor).
@Korbeil Korbeil merged commit 29f35ef into main Apr 24, 2026
5 of 6 checks passed
@Korbeil Korbeil deleted the feature/agents-support branch April 24, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant