Development Workflow 标志

Development Workflow

组织
CrowdStrike
development-workflow

Orchestrates 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.

概览

发布者CrowdStrike
代码仓库foundry-skills
技能名称development-workflow
星标数
37
复刻数
7
附带文件
7
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载的 SKILL.md 文件,因此只有在请求确实匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 7 个随附文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 CrowdStrike 发布于 GitHub。请在安装前查看源内容。

安装

在 TypingMind 中安装 Development Workflow AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/CrowdStrike/foundry-skills/tree/main/skills/development-workflow
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CrowdStrike/foundry-skills.git /tmp/foundry-skills
mkdir -p .claude/skills
cp -r /tmp/foundry-skills/skills/development-workflow .claude/skills/development-workflow
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Development Workflow,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Development Workflow。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Development Workflow 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会获取指令,因此未使用的技能不会产生额外费用。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Foundry Development Workflow

This skill owns the Foundry development flow. Follow the App Creation Flow below from user prompt to running app, scaffold with foundry apps create and related CLI commands, delegate capability-specific content to the Foundry sub-skills, and hand-write only what the CLI can't generate (OpenAPI content, workflow logic, UI code).

Don't hand Foundry app creation to superpowers:brainstorming or superpowers:writing-plans. They don't know the Foundry CLI and produce plans that hand-write manifest.yml and boilerplate files. They can supplement this flow (TDD discipline, code review), not replace it.

CRITICAL: add --no-prompt to every command that accepts it — without it, interactive prompts cause Error: EOF. The create, validate, deploy, release, and delete commands all accept it (apps delete also needs --force-delete). These reject it and fail with unknown flag: foundry version, apps list, apps list-deployments, ui extensions list-sockets, and auth scopes list. Verify with foundry <command> --help. When a command fails, MUST NOT fall back to mkdir — fix the command and retry.

CRITICAL: All foundry app commands MUST run from the app root directory (where manifest.yml lives). The CLI resolves manifest paths relative to os.Getwd(), not relative to the manifest's location. Running foundry apps validate, foundry apps deploy, or foundry ui run from a subdirectory (e.g., ui/extensions/my-ext/) causes doubled paths and misleading "file not found" errors. Commands that work from anywhere: foundry version, foundry profile *, foundry apps list.

This skill coordinates the full Falcon Foundry app lifecycle — from parsing requirements through scaffolding, implementation, and deployment. It delegates capability-specific work to sub-skills that know the platform details.

Decision Tree

What does the user need?

Create a new Foundry app
└── Follow the App Creation Flow below

Upgrade a template-installed app
└── app-upgrades

Audit an existing app for anti-patterns
└── app-audit

Add a capability to an existing app
├── API integration       → api-integrations
├── Workflow              → workflows-development
├── UI page/extension     → ui-development
├── Function              → functions-development
├── Collection            → collections-development
├── AI agent / knowledge base → ai-agents-development
└── Falcon API from funcs → functions-falcon-api

Execute / test a deployed function
├── "run my function", "execute function"     → functions-development
├── "check execution status", "exec status"   → functions-development
├── "get function logs", "show logs"          → functions-development
├── "list executions"                         → functions-development
├── "test my function" (function tests.yml)   → functions-development
└── "run tests", "test cases"                 → functions-development

Debug a function failure
├── "debug my function", "why did it fail"    → debugging-workflows
├── "function returning errors"               → debugging-workflows
└── "no logs available"                       → debugging-workflows

Implement a known pattern (pagination, enrichment, ingestion)
└── Search use-cases/*.md for matching pattern → load for context

Debug / troubleshoot      → debugging-workflows
Security review           → security-patterns
E2E testing / Playwright  → e2e-testing

Standalone Fusion workflow (no app — trigger + existing actions only)
└── fusion-redirect (declines and points to the Falcon Fusion plugin)

Routing When Sub-Skills Are Not Registered

Sub-skills live beside this one as ../<name>/SKILL.md. On a single-entry-point install only this skill is discoverable, so capability-level requests land here — that is intended, not a mis-route. Read the sub-skill file from disk before writing any capability content, then:

  • manifest.yml already present — skip Steps 1-2 and Step 4. Run the Step 3 prerequisite check, add the capability with its command from Capability Create Commands in references/advanced-patterns.md, and follow Manifest Coordination.
  • No app yet — run the full App Creation Flow.

This never overrides the fusion-redirect skill: a standalone Fusion workflow request is still a redirect, not a capability to add.

App Creation Flow

Step 1: Parse Requirements

Map user requests to Foundry capabilities:

User SaysCapabilityCLI Command
"API integration", "connect to X API"API Integrationfoundry api-integrations create
"workflow", "on-demand", "automate"Workflowfoundry workflows create
"UI", "page", "dashboard"UI Pagefoundry ui pages create
"extension", "sidebar", "widget"UI Extensionfoundry ui extensions create
"function", "serverless", "backend"Functionfoundry functions create
"store data", "collection", "database"Collectionfoundry collections create
"AI agent", "Charlotte agent", "agentic"AI Agentfoundry agents create
"knowledge base", "give the agent docs"Knowledge Basefoundry knowledge-bases create
"run function", "execute", "test handler"Function Executionfoundry functions exec
"get logs", "show execution logs"Log Retrievalfoundry functions logs
"check status", "execution result"Execution Statusfoundry functions exec status
"test function", "run tests", "test cases"Function Testingfoundry functions test
"debug function", "why did it fail"Function Debugging→ debugging-workflows skill

⚠️ "Summarize/list alerts, detections, or incidents" (a population the workflow doesn't already have) implies a source-of-truth fetch. A request like "a workflow that emails a summary of high-severity alerts" needs the set of alerts, which is not reliably in NG-SIEM (Event Query can silently return nothing — repo contents are connector-dependent). Fetch it from the source of truth: a native platform action (e.g. Cases → Search Cases) first, or a FalconPy Alerts/Detects function when none fits — so the app needs BOTH that capability (plan the alerts:read scope) AND a workflow to schedule it and send email. Exception: enriching a detection the workflow was already triggered on (query by its ID) stays an Event Query and needs no function. See the functions-falcon-api skill and the workflows-development skill's references/event-query-vs-api.md.

Step 1b: Check for Known Patterns

Before scaffolding, check if the user's request matches a known use case. Glob use-cases/*.md and scan the description field in each file's frontmatter. If a match is found, read the use case file for implementation context (architecture, capability order, gotchas) before proceeding.

Use cases cover common scenarios like API pagination, detection enrichment, lookup table creation, LogScale data ingestion, SOAR custom actions, and more. See use-cases/README.md for the full catalog.

Step 2: Confirm App Name and Capabilities

Always confirm the app name with the user before creating anything. Use the assistant's available user-input mechanism; if none exists, ask directly in chat. Derive a reasonable default from the user's request (e.g., "okta-integration" for an Okta API integration), then present it as the recommended option with 1-2 alternatives. Include a brief description of what will be created.

Page vs Extension disambiguation: When the user mentions "UI" without specifying "page" or "extension", ask which they want using the available user-input mechanism. Offer two options: "Page" (standalone full-page view — dashboards, lists, management UIs) and "Extension" (sidebar widget embedded in detection/host/incident pages). Default to Page when running non-interactively (e.g., agent batch mode or test automation) since pages are the more common case.

For other decisions, prefer reasonable defaults: use React for UI, download public OpenAPI specs from vendor GitHub repos. Only ask additional clarifying questions when the prompt is genuinely ambiguous and a wrong guess would produce an unusable app.

Plan functions by domain, not one per feature. Each function is a separate container build at deploy, and fresh installs with dozens of functions can fail outright (a 43-function app failed where the same handlers in 11 functions deployed in about 9 minutes). Before adding a function, extend an existing one in the same language. The functions-development skill's references/function-count-and-build-time.md covers consolidation patterns.

Step 3: CLI Prerequisite Check

bash
foundry version          # Verify CLI installed
foundry profile list     # First line shows the active profile
foundry apps list        # Check existing apps (avoid name collisions)

If a tenant command fails with only connection issue, the usual cause is a sandbox denying the CLI's token-cache write to ~/.config/foundry/ — an expected refresh, not a network fault. Request write access to that directory and retry; see headless operation. Never redirect the config path into the workspace or copy credentials.

Step 4: Scaffold the App

Prerequisite: User must have confirmed the app name in Step 2. Do not run this without confirmation.

Choose the location automatically: use an existing app when manifest.yml is present; otherwise create in the current directory, or beside it when the current directory is an unrelated repository. Request sandbox write access when needed; never put the app inside an unrelated repository as a fallback.

bash
foundry apps create --name "app-name" --description "description" --no-prompt --no-git
cd app-name

--no-prompt prevents interactive prompts that fail in non-interactive environments with Error: EOF. --no-git skips git initialization. The command is foundry apps create (there is no init command). If it fails, fix the command and retry — MUST NOT fall back to mkdir, which produces invalid manifest structure.

foundry apps create always makes a subdirectory named after the app (spaces included). When converting an existing repo, run create beside it and move the freshly generated manifest.yml to the repo root rather than leaving a nested app directory.

Step 5: Add Capabilities (CLI Commands)

Run in dependency order (API integrations → collections → validate → functions → knowledge bases → agents → workflows → UI pages → extensions). Write spec/schema files to /tmp/ — the CLI copies them into the project and updates manifest.yml with generated IDs.

bash
foundry api-integrations create --name "MyApi" --description "desc" --spec /tmp/MyApi.yaml --no-prompt
foundry collections create --name "my_col" --schema /tmp/my_schema.json --description "desc" --no-prompt  # letters, digits, _ only
foundry apps validate --no-prompt   # fail fast on specs and schemas
foundry functions create --name "my-fn" --language python --description "desc" \
  --handler-name process --handler-method POST --handler-path /api/process --no-prompt
foundry knowledge-bases create --name "Runbook Docs" --description "desc" --files /tmp/runbook.md --no-prompt
foundry agents create --name "My Agent" --description "desc" --system-prompt /tmp/system_prompt.md \
  --knowledge-bases "Runbook Docs" --expose-charlotte-chat --no-prompt
foundry workflows create --name "My Workflow" --spec /tmp/My_workflow.yml --no-prompt
foundry ui pages create --name "my-page" --description "desc" --from-template React --homepage --no-prompt
foundry ui navigation add --name "My Page" --path / --ref pages.my-page --no-prompt
foundry ui extensions create --name "my-ext" --description "desc" --from-template React \
  --sockets "activity.detections.details" --no-prompt   # sockets: ui-development → Extension Socket Locations

Annotated notes for each command (KB --files forms, agent exposure flags, workflow-to-agent calls) are in references/advanced-patterns.md → Capability Create Commands.

Fail fast: Validate right after API integrations and collections — foundry apps validate --no-prompt is a seconds-long dry-run of deploy validation (specs + schemas; NOT workflow semantics or app-name uniqueness, which only deploy checks). If it fails, STOP and fix the spec/schema before building UI on a broken backend; let adapt_spec_for_foundry.py fix known spec issues and tell the user what it missed. Don't validate right before deploy — deploy runs the same checks plus more.

Step 6: Write Domain-Specific Content

The CLI scaffolds structure but cannot generate app logic. Delegate to sub-skills:

  • OpenAPI spec → api-integrations
  • Workflow YAML → workflows-development
  • UI components → ui-development
  • Function handlers → functions-development
  • Collection schemas → collections-development
  • AI agents / knowledge bases → ai-agents-development

Load the relevant sub-skill before writing domain-specific code. Foundry formats and SDK calls differ from what general knowledge suggests — writing without the sub-skill loaded is the top cause of invented formats (wrong workflow YAML, raw HTTP instead of FalconPy, agents created before their KBs). The per-capability "what goes wrong without it" table is in references/advanced-patterns.md → Sub-Skill Loading.

Save turns. Every turn resends the whole conversation, so the number of turns drives a build's cost more than the size of any file. Load each sub-skill when you reach its step, in the same turn as that step's first command, not in a turn of its own. Read each SKILL.md separately: concatenating several in one shell command overflows the output limit and costs a turn to read back. Each sub-skill's SKILL.md covers the common case. Open a reference only for what it doesn't cover, and read it once rather than in several grep/sed slices. Chain dependent commands with && in one Bash call.

Step 7: Final Build and Deploy

bash
# Build UI (required before deploy) — MUST cd back to app root afterward
cd ui/pages/my-page && npm install && npm run build && cd ../../..
# For extensions: cd ui/extensions/my-ext && npm install && npm run build && cd ../../..

# From the app root (where manifest.yml lives): deploy once, wait, and release, in ONE call
python3 <skill-dir>/scripts/deploy_and_release.py --change-type Patch --change-log "Complete app"

<skill-dir> is this SKILL.md's directory, not the app workspace. The script (standard library only, no venv) runs foundry apps deploy --no-prompt once, polls list-deployments for the version deploy printed (release numbers differ), and releases that deployment ID. --no-release stops after the deploy. It prints the packaged dist/ files, because Deploy never builds a UI: it ships dist/ as it is.

  • Exit 1: the deploy, the deployment, or the release failed. A Failed deployment shows no reason in the CLI; read it in the console (App manager > the app > "Show errors (N)").
  • Exit 3: still in progress at the timeout. Don't deploy again (it duplicates); poll foundry apps list-deployments, then run the release command it printed.

When re-deploying an existing app after a UI change, check that the new dist/assets files are listed first: foundry apps deploy --diff-only --no-prompt. While a deploy runs, foundry apps validate fails with deployment is currently in progress. Wait; it isn't a manifest error. Without the script, the manual steps are foundry apps deploy --no-prompt --change-type Patch --change-log "...", then foundry apps list-deployments (no sleep before the first poll), then foundry apps release --change-type Patch --deployment-id <id> --notes "..." --no-prompt.

There is no list-releases command — check status via the App Manager URL printed in the output. foundry ui run serves UI locally only; backend capabilities resolve from the cloud, so deploy those first.

Deploy & release operational depth — --re-deploy retries the latest failed deployment (never to test an edit); the post-update console-cache hard-refresh (Cmd/Ctrl+Shift+R, don't re-deploy to "fix" a stale view); patch-release credential entry (Modify settings vs a --change-type Major Accept update); and the version numbers (catalog vs deployment vs any version shown in the UI) — all in references/advanced-patterns.md → Deploy & Release.

Multi-Cloud Deployment

To deploy the same app to a second cloud (US-1/US-2/US-3/EU-1): strip all IDs (yq -i 'del(.. | select(has("id")).id) | del(.. | select(has("app_id")).app_id)' manifest.yml — delete, don't null), foundry profile activate the target cloud, deploy + release, then explicitly install from the App Catalog (no auto-install; allow a few minutes for propagation). Full steps + the manifest-backup note in references/advanced-patterns.md → Multi-Cloud Deployment.

Existing App Workflow

With an existing manifest.yml, edit files; use the CLI only for:

  • foundry apps run / foundry ui run — local development
  • foundry apps deploy / foundry apps release — deployment
  • foundry api-integrations create etc. — adding capabilities

Manifest Coordination

Dependency order: the Step 5 order (each may depend on the previous)

  • MUST NOT edit manifest.yml unless a deploy fails with "app name already exists" on a true name collision (rename only); if the deploy-written IDs were lost, restore them instead (see below). The CLI sets path, entrypoint, scopes, and IDs correctly — manual edits cause double-path errors and wasted deploy cycles.
  • The first (cold) deploy writes the provisioned app_id + page/function/workflow/agent IDs back into manifest.yml — COMMIT those. They identify your app on that cloud; without them the next deploy fails with an app with the provided name already exists. This is the OPPOSITE of the e2e-sample git checkout manifest.yml step (see references/advanced-patterns.md → Testing an Existing App Locally), which is for throwaway CI runs of the public foundry-sample-* repos that commit blanked IDs to install into any CID. For an app you own and operate, keep the written-back IDs.
  • Narrow exceptions: ai.agents[].model and .tools (see ai-agents-development), auth.scopes names scopes add rejects (see security-patterns), renaming a deployed KB (see knowledge-bases.md), and RBAC permissions: keys. (Agent exposure does have --expose-* flags; set it at create time.)
  • MUST NOT edit vite.config.js — the React blueprint is turnkey. Do not change base, root, or noAttr(). Just edit React/JS component code and deploy.
  • OAuth scopes are auto-managed for CLI-created artifacts — MUST NOT manually add api-integrations:read
  • Use npx @redocly/cli lint for OpenAPI validation (not Python/Ruby YAML parsers)
  • Validate early with foundry apps validate --no-prompt after adding API integrations and collections — but don't validate right before deploy (deploy runs the same checks plus more)

Reading Guide

TaskReference
Headless/CI setup, env vars, US-GOV-1references/headless-operation.md
Superpowers plugin coordinationreferences/superpowers-integration.md
Token management, performance targetsreferences/performance-optimization.md
Common wrong turns (CLI vs hand-written files)references/counter-rationalizations.md
Lifecycle phases, manifest patterns, CLI state, app operations, local e2e runsreferences/advanced-patterns.md
Capability create commands, sub-skill loading, deploy & release depth, multi-cloudreferences/advanced-patterns.md

Improving These Skills

If a skill gave incorrect guidance, was missing a pattern, or required extra trial-and-error to get right, the user can ask you to capture the fix at the end of the session:

What did you learn from this session that could improve the Foundry skills?
Clone https://github.com/CrowdStrike/foundry-skills.git,
create a branch, update the skills with this knowledge, and
create a PR on GitHub.

Steps Claude will handle: create a branch, update the relevant skills/*/SKILL.md, and create a PR.

This turns a one-session fix into a permanent improvement for all users.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Development Workflow AI 技能有什么作用?

Orchestrates 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 k...

为什么在 TypingMind 中使用 Development Workflow?

因为您只需安装一次,就能搭配任何模型使用。Development Workflow 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型,甚至可以在聊天中途切换模型,而不会影响技能正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Development Workflow?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/CrowdStrike/foundry-skills/tree/main/skills/development-workflow。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Development Workflow?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Development Workflow 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以搭配 Development Workflow 使用,包括 GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等,都可在 TypingMind 中使用您自己的 API 密钥接入。

Development Workflow AI 技能免费吗?

是的。该技能源自 CrowdStrike 在 GitHub 上以 MIT 许可证发布的项目。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇