Native Claude Code mechanisms versus Foundry files
Handbook · Configuration · Project structure
Verified against official documentation on 2026-12-01 and installed CLI 2.1.332. Native documentation describes capability; local inventory/static checks do not prove live behavior. The user-provided graphic is an illustration, not a configuration contract.
CLAUDE.md and CLAUDE.local.md
Native instruction files in the launch-directory ancestry are assembled into context; nested files may load on demand. A local file adds personal instructions alongside shared instructions; it is not a deterministic replacement or a security/permission override. Keep local notes ignored and secret-free. Foundry keeps its shared file short and stores temporary product progress separately. See official memory documentation.
Rules
A path-scoped rule is optional Markdown with paths YAML frontmatter. Unscoped rules can add startup context. The template currently has no active rules directory: the example is outside native scope. Adapt its glob to actual application files and avoid contradicting the selected validation mode. The same official memory/rules reference explains loading and supported metadata.
Skills and legacy commands
Native skills live at .claude/skills/name/SKILL.md. The frontmatter name identifies /name; a description supports model selection when not disabled. Detailed body text is used on invocation rather than copying all reference docs into startup. In this template, framework-audit and claude-bootstrap disable model invocation; the other fifteen are eligible, not guaranteed to run automatically.
Legacy .claude/commands/*.md is another command mechanism; a local file does not automatically gain a /project-name: prefix. Plugin namespaces are a separate case. Foundry uses skills and does not duplicate them as legacy commands. Dynamic shell/context features can execute code and are not added to these skills. See official skills documentation.
Agents
Native project agent Markdown defines role and tool/model preferences. Foundry offers two Read/Grep/Glob agents with model inherit. Their separate work context and limited tool inventory are not an OS/filesystem sandbox, nor a guarantee that a model is available. The main conversation supplies actual execution evidence. See official subagent documentation.
Settings
Settings files govern configuration separately from instruction prose. Managed policy has priority; CLI/local/shared-project/user sources interact by documented precedence, and list settings can merge rather than simply replace. A local settings file does not universally erase shared grants. Foundry ships reviewed project-local SessionStart and limited PreToolUse settings; user/organization sources may still apply. Doctor checks only a subset. See official settings precedence and field reference.
Hooks
A script is not active merely because it sits in a hooks folder. Registration connects it to a supported event and matcher. Foundry's registered guard registers PreToolUse for Read/Edit/Write, accepts native JSON input and uses exit 2 to block selected path calls. Event-specific semantics matter; this does not protect Bash, aliases, all secrets or all tools. See official hooks reference.
MCP
Project MCP server configuration uses .mcp.json; it describes server connections/processes, not a generic safe permission grant. External servers can expose data and tools; source review, scope/auth approval and isolated validation are separate. Foundry's shipped empty example starts no server. Finding a config is not testing connectivity. See official MCP documentation.
What the reference image simplifies
Local instruction context is not settings precedence. A commands path is not a universal project namespace. Native skill eligibility is not assured automatic execution. A hook's protection depends on its event, code and coverage. None of the image's example integrations or scripts is enabled simply by documenting them here.
The personal-note example is already ignored by the template; optional installation adds the same ignore and preserves it when a private file survives uninstall. Ignoring a file is not encryption or permission isolation. Existing tracked secrets require separate remediation, not a local-memory example.
The source-template SessionStart hook emits fixed additionalContext guidance and reads only whether project config exists. It installs nothing and cannot force a question UI. See the bootstrap walkthrough for workspace trust, disabling hooks and native/live qualification limits.
Each skill uses argument-hint for native autocomplete and one full $ARGUMENTS binding. Hints do not validate or enforce required inputs; skill instructions resolve those from request/context or ask. These Claude Code fields are not claimed valid for generic Skills API/claude.ai upload. See argument conventions.