/crowdstrike-falcon-foundry:app-auditfrom crowdstrike-falcon-foundry
Audits Falcon Foundry apps for documented anti-patterns and automatically fixes safe ones. Checks handler naming, function count, workflow integrations, schema mismatches, and deployment issues.
Ships in crowdstrike-falcon-foundry. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Run the bundled script against the app directory (the one with manifest.yml). It reads the manifest and the files it points to, calls no API, and needs only pyyaml:
python3 skills/app-audit/scripts/audit_app.py path/to/app # report
python3 skills/app-audit/scripts/audit_app.py path/to/app --json # machine-readable
python3 skills/app-audit/scripts/audit_app.py path/to/app --fix # apply the safe fixes, then report
It exits 1 when an error-level finding remains. Each finding names the skill and section that explains it; read that section before changing anything.
| Check | Severity | Why |
|---|---|---|
function-count | warn | More than 20 functions. Each is a separate container build, and a fresh install with 43 failed where the same handlers in 11 functions deployed. |
handler-name-length | error | Handler names must be 5 to 64 characters (the CLI's own limits). |
handler-name-duplicate | error | Handler names must be unique within a function. |
request-property-undeclared | error | A workflow passes a property the function's request_schema doesn't declare, so it's silently dropped. |
response-key-missing | warn | A workflow reads a FaaS output key the handler's response_schema doesn't declare. |
unknown-function-action | error | A workflow calls functions.<name>.<handler> that isn't in the manifest. |
missing-workflow-integration | error | A workflow calls a handler that has no workflow_integration, so deploy fails. |
provision-on-install-missing | warn, fixable | Installing won't create the workflow. Leave it off only when the app provisions the workflow itself through the Workflows API, as rapid-response and scalable-rtr do. |
provision-on-install-false | info | Fine when deliberate. |
pycache-not-ignored | warn, fixable | A local __pycache__/ would deploy. The CLI already skips hidden paths like .venv/. |
secret-in-env | warn | A function reads a key, token, secret, or password from an environment variable, which is visible in app exports. |
server-url-protocol | error | An OpenAPI server URL with variables starts with https:// or http://, so the protocol doubles. |
server-variable-default | warn | A server variable has a default but no enum, which renders as a one-value dropdown. |
ui-not-built | error | A page or extension has no dist/; deploy never builds the UI. |
ui-stale-build | warn | src/ is newer than dist/, so deploy would ship the previous build. |
invalid-file | error | manifest.yml, a workflow, or an API spec it points to doesn't parse, so the checks that read it were skipped. |
--fix applies only the fixes marked fixable: it adds the __pycache__ pattern to ignored: and provision_on_install: true to workflows that lack it. Both are single-line insertions that leave the rest of the file as written. Tell the user what --fix will change before running it, and show the diff afterward.
Everything else needs judgment, so handle it with the user:
request_schema.json, then redeploy. If the handler has no schema, the function needs one bound at create time (see the functions-development skill → Function I/O Schemas).response_schema.json, or fix the workflow's data path if the key is misspelled.functions-development skill's references/function-count-and-build-time.md; consolidating changes workflow wiring and needs its checklist.api-integrations skill's spec adapter on the spec rather than editing it by hand.npm run build in each page or extension directory, then return to the app root.Run the audit again after fixing, and run foundry apps validate --no-prompt before deploying. The audit complements validation and doesn't replace it.
The checks are static, so treat a finding as a strong lead, not proof. A warning can be deliberate (a large app may need many functions, and an app that provisions its own workflows skips provision_on_install). If a finding looks wrong for the app in front of you, say why instead of forcing a fix.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/ai-agents-developmentBuild AI agents and knowledge bases for Falcon Foundry apps. TRIGGER when user asks to "create an AI agent", "add a Foundry agent", "build a knowledge base", "give my agent documents", "expose a collection as an agent tool", "expose an API operation to an agent", "put my agent in Charlotte", "expose an agent as a tool for other agents", "delete an agent or knowledge base", runs `foundry agents create`, `foundry agents delete`, `foundry knowledge-bases create`, or `foundry knowledge-bases delete`, or needs help with the `ai.agents` / `ai.knowledge_bases` manifest blocks, agent system prompts, agent input/output formats, agent exposure, or agent tool references. DO NOT TRIGGER for Fusion SOAR workflow YAML — use workflows-development. DO NOT TRIGGER for serverless function handlers — use functions-development. DO NOT TRIGGER for designing a collection schema itself — use collections-development, then return here to wire the collection up as an agent tool./api-integrationsExpose external APIs to Falcon Foundry via OpenAPI specs. TRIGGER when user asks to "create an API integration", "adapt an OpenAPI spec for Foundry", "expose an API to workflows", "connect to a third-party API", or runs `foundry api-integrations create`. Also trigger when user has an OpenAPI/Swagger spec and wants it working in Falcon Foundry. DO NOT TRIGGER when user wants to call Falcon platform APIs from function code — use functions-falcon-api instead./app-upgradesUpgrade a Falcon Foundry app that was installed from a template to a newer version of that template, in place. TRIGGER when user asks to "upgrade an app", "update an app installed from a template", "pull the latest template into my app", "update a sample app installed in my CID to the latest version", or gives an app ID plus a newer template archive, directory, or GitHub repo. DO NOT TRIGGER for creating a new app (use development-workflow) or for deploying changes to an app the user develops locally (use development-workflow's deploy steps)./collections-developmentDesign JSON Schema collections and CRUD patterns for Falcon Foundry apps. TRIGGER when user asks to "create a collection", "define a JSON schema", "store data in Foundry", runs `foundry collections create`, or needs help with indexable fields, FQL queries, or collection access patterns. DO NOT TRIGGER for workflow YAML, function handlers, or UI components — use the appropriate sub-skill./debugging-workflowsSystematic troubleshooting for Falcon Foundry CLI errors, manifest validation failures, deploy failures, artifact runtime errors, and development server issues. TRIGGER when user encounters CLI errors, `foundry ui run` not working, deploy failures, authentication issues, function execution failures, "debug my function", "why did this fail", or any unexpected behavior during Foundry app development. Also trigger for headless/CI environment setup failures./development-workflowOrchestrates the complete Falcon Foundry app lifecycle from requirements through deployment. TRIGGER when user asks to "create a Foundry app", "build a Foundry app", "plan a Foundry app", runs any `foundry apps` CLI command, or discusses Foundry app architecture. DO NOT TRIGGER when user is working on a specific capability (UI, function, workflow, collection) within an existing app — use the appropriate sub-skill instead. This skill OWNS the entire Foundry development flow. Do not delegate Foundry app creation to superpowers:brainstorming or superpowers:writing-plans — those skills do not know about the Foundry CLI.Other plugins' skills for the same job
npx claudepluginhub crowdstrike/foundry-skills --plugin crowdstrike-falcon-foundry