agentleFS
CrowdStrikeCrowdStrike/foundry-skills/CLAUDE.md

foundry-skills

CLAUDE.md30 starsChanged 59 days agoMITView on GitHub

Before responding to any Foundry development request, read AGENTS.md for the complete CLI reference, skills ecosystem, and development guide. Below are Claude Code-specific additions for this plugin. This plugin includes four hooks that run automatically: The foundry-cli-guard.sh hook checks every Bash command and flags: The hook is advisory: it adds context to the tool call but doesn't block or rewrite the command, so the command still runs as written. Get the flags right before running. Planning Integration: For structured planning…

The file

We split this CLAUDE.md into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before responding to any Foundry development request, read AGENTS.md for the complete CLI reference, skills ecosystem, and development …

    line 3
  2. Very specific:

    Execution Integration: If superpowers is installed, superpowers:executing-plans provides batch execution with review checkpoints between …

    line 29
  3. Very specific:

    Testing Integration: If superpowers is installed, superpowers:test-driven-development enforces RED-GREEN-REFACTOR discipline.

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

Before responding to any Foundry development request, read AGENTS.md for the complete CLI reference, skills ecosystem, and development guide.

Below are Claude Code-specific additions for this plugin.

Plugin Hook Behavior

This plugin includes four hooks that run automatically:

  • SessionStart: foundry-session-start.sh checks CLI version and initializes the Foundry environment
  • UserPromptSubmit: foundry-skill-router.sh routes user intents to the appropriate skill
  • PreToolUse (Bash): foundry-cli-guard.sh checks Bash commands and adds advisory context when a Foundry CLI command is missing a required flag such as --no-prompt, or when app structure is being created by hand
  • PreToolUse (Skill): superpowers-foundry-bridge.sh advises switching from superpowers:brainstorming to the Foundry development workflow skill when the task is Foundry app work

Automated Safety Enforcement

The foundry-cli-guard.sh hook checks every Bash command and flags:

  • Foundry CLI commands missing --no-prompt (prevents Error: EOF failures)
  • Manual directory/file creation for app structure (prevents invalid manifest.yml)

The hook is advisory: it adds context to the tool call but doesn't block or rewrite the command, so the command still runs as written. Get the flags right before running.

Skills Integration with Claude Code Workflows

Planning Integration: For structured planning with review checkpoints, install superpowers (superpowers:writing-plans, superpowers:executing-plans). Without superpowers, the orchestrator provides basic planning guidance that accounts for dependencies between Foundry capabilities and the manifest.

Execution Integration: If superpowers is installed, superpowers:executing-plans provides batch execution with review checkpoints between capabilities. Otherwise, use the orchestrator's built-in execution checkpoints.

Testing Integration: If superpowers is installed, superpowers:test-driven-development enforces RED-GREEN-REFACTOR discipline. Each Foundry sub-skill also has its own capability-specific testing patterns.

Handoff Integration: Preserve Foundry-specific CLI state (profiles, authentication, foundry ui run status) when handing off between sessions.

Essential Skills Commands

Accessing Skills: Skills are automatically invoked by Claude Code when working on Foundry development tasks. You can reference them explicitly using @skills/skill-name syntax.

Skills Documentation: Each skill includes comprehensive documentation in its SKILL.md file with specific patterns, testing approaches, and integration guidance.

Skills Coordination: The development-workflow skill ensures proper coordination between all sub-skills and maintains CLI state consistency throughout development.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.