Instructions for coding agents that are asked to create, configure, build, or package a project with Fe.
This guide describes Fe's current behavior. Treat the installed fe --help, each command's --help, the project's own README, and its checked-in build files as the final authority if they differ from this document. Do not assume that a capability is available just because a project type is detected.
Before changing files or running build commands:
- Confirm that
feis installed and available:fe --help
- Inspect the project:
fe inspect . fe setup . fe doctor
fe inspectdetects project markers and may suggest a conventional build command.fe setupis read-only. It reports detected tool requirements; it does not install tools or edit files.fe doctorchecks Fe and project configuration. Use the relevant ecosystem-specific doctor for Godot or O3DE projects.
- Read the project's README, build scripts, manifests, and existing CI configuration.
- Read
.fe.yamlif present. Do not replace an existing build system or overwrite project configuration just to make Fe fit. - Identify the actual build/test command and required SDKs before installing anything.
Inspection is not permission to execute project code. Review commands from project files before running them, especially build scripts, package lifecycle scripts, custom preflight checks, and container commands.
Fe can scaffold one of its built-in language starters or a named template from the remote flushwhy/fe-templates catalog.
The currently supported fe init language names are:
odin— default template:odin-basicc— default template:c-makecpp— default template:cpp-cmakezig— default template:zig-buildgo— default template:go-basic
Example:
fe init go --name my-project
cd my-projectFor Go, set the module path when the project needs a real import path:
fe init go --name my-project --module github.com/owner/my-projectThe destination directory must not already exist. Use a new directory or choose a different project name; do not delete an existing directory to make scaffolding succeed.
List the live catalog rather than guessing template IDs:
fe template list
fe init --template <template-id> --name my-projectTemplates are downloaded and cached locally. Refresh a cached template with:
fe template update <template-id>After scaffolding, enter the new directory and read its README. A named template may have its own dependencies, build steps, and conventions. Do not assume that every template uses the same build command or produces the same output.
Fe writes the selected template into a new project directory and renders its template files. C and C++ starters also receive an initial compile_commands.json stub; that stub is not a real compilation database. Generate a real database using the project's build system before relying on clangd.
Outside CI, fe init also runs Fe's local project-sync step. Check the resulting files and report any tool or editor setup that still needs attention.
Detection is based on files and markers. It does not mean Fe can automatically build every detected ecosystem.
| Detected project type | Typical markers | Fe assistance |
|---|---|---|
| Go | go.mod |
Inspection, Go tool checks, conventional build suggestion for a root module |
| Rust | Cargo.toml |
Inspection, Cargo tool checks, conventional release-build suggestion for a root crate |
| Python | pyproject.toml, requirements.txt, Pipfile, setup.py |
Inspection, Python tool checks, configured preflight/static checks |
| Node.js | package.json |
Inspection and Node/package-manager checks |
| C/C++ | CMakeLists.txt, Makefile |
Inspection, compiler/build-tool checks, compilation database repair and editor setup |
| Godot | project.godot |
Engine detection/management, export presets, native extension workflow |
| Blender add-on | blender_manifest.toml or legacy bl_info metadata |
Static validation and ZIP packaging |
| O3DE | engine.json |
O3DE discovery, diagnostics, project/Gem helpers, existing CMake build directory support |
| Lua | .lua or .rockspec files |
Inspection and Lua runtime/preflight checks |
Important boundaries:
- Project inspection is read-only and does not execute project code.
- Automatic build suggestions are deliberately limited to root-level Go and Rust manifests. For other project types, use the project's own documented build system or explicit
.fe.yamltargets. - Fe does not infer a safe build command from every detected marker.
- Nested projects may be detected, but conventional build suggestions are only made when the relevant manifest is at the inspected project root.
Fe reads .fe.yaml from the working directory by default. You can select another file with --config.
Configuration precedence is:
- Environment-variable overrides supported by Fe.
- Values in
.fe.yaml. - Fe conventions and defaults.
A minimal example for a custom C project:
itchio:
username: ""
game: ""
butler:
directory: "builds"
build:
targets:
- name: linux-release
platform: linux-x64
cmd: "gcc -O2 -o builds/linux-x64/my-game src/main.c"
output: "builds/linux-x64/my-game"Build targets have these fields:
name: optional unique target name, used byfe build --target.platform: optional platform label, used byfe build --platform.cmd: required executable and arguments as a command string. Fe splits this into arguments; it does not run it through a shell. Do not put shell pipelines, redirections, or&&chains in this field. Use a checked-in build script as the command when a multi-step shell workflow is needed.output: optional declared output path.
Example commands:
fe build --list-targets
fe build
fe build --target linux-release
fe build --platform linux-x64Fe runs every configured target by default. Validate that each target's compiler, SDK, and platform toolchain is actually available on the current host. A target being listed does not mean the host can cross-compile it.
Fe's typed configuration currently includes:
build.targetsand optionalbuild.containeritchio.usernameanditchio.gamebutler.directoryandbutler.userversiongodot.executableandgodot.output_dirpack.input,pack.output, and namedpack.sheetstranscodeinput/output and codec optionspreflight.enabled,preflight.detect, and configuredpreflight.checksgumroad.stableversion-to-product-ID mappings
Do not add optional integrations to a project unless the task needs them. Keep credentials out of committed YAML.
Supported environment overrides include:
| Environment variable | Configuration value |
|---|---|
ITCHIO_USERNAME |
itchio.username |
ITCHIO_GAME |
itchio.game |
FE_USERVERSION |
butler.userversion |
FE_BUILD_DIR |
butler.directory |
Use fe setup . to see detected requirements. It is a report, not an installer.
Fe can add project editor/LSP configuration for:
clangd— C/C++ols— Odinzls— Ziggopls— Go
Examples:
fe add clangd
fe add ols
fe add zls
fe add goplsFor CMake projects, generate a real compilation database before configuring clangd:
cmake -S . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
fe fix compile-commandsUse the project's actual configure/build options; the example is not a universal CMake recipe.
Use fe build when the project has valid build.targets in .fe.yaml. Review every configured command before execution. Fe validates the configuration and runs configured preflight checks before building.
For a Godot project:
- Read the project's export presets and required assets.
- Run
fe godot doctorandfe godot engines. - Ensure the matching engine version and export templates are installed.
- Inspect presets and output paths:
fe export --list-presets - Export all presets or one named preset:
fe export fe export --preset "Windows Desktop"
Fe also provides fe godot install, fe godot open, and Godot 4 C++ GDExtension helpers under fe godot extension. Godot 3 GDNative is not the same workflow as Godot 4 GDExtension; inspect the project's existing native-extension setup before changing it.
Fe can validate and package Blender extensions and legacy add-ons:
fe blender validate .
fe blender package . --output dist/my-addon.zipValidation reads metadata and parses Python syntax when Python is available; it does not import or execute add-on code. Blender itself is not required for static validation or ZIP creation, but use Blender for the final in-application installation test.
Fe supplements an existing O3DE installation; it does not replace O3DE's project manager or configure an engine from scratch.
Start with:
fe o3de doctor
fe o3de find engines
fe o3de find projects
fe o3de find gems
fe o3de find templatesUse fe o3de project and fe o3de gem only when the task requires project or Gem registration/management. To build, pass an already configured CMake build directory:
fe o3de build --build-dir buildUse the project's generator and configuration requirements. Do not assume that Fe can create or configure the O3DE build directory for you.
Fe can install Odin source packages by alias or HTTPS repository URL:
fe install <package>
fe get https://github.com/owner/packageThe default destination is mylibs/ (or packages.directory if configured). Existing destinations are not overwritten. Review the repository and its provenance before adding a dependency.
fe packpacks sprite assets usingpack.input,pack.output, or configured named sheets.fe transcodeuses FFmpeg. Install FFmpeg separately and review the input/output and codec settings before converting files.fe packagecreates ZIP ortar.gzarchives from build artifacts.fe manifestwrites an artifact inventory with file sizes and SHA-256 checksums.fe changeloggenerates Markdown release notes from Git history and tags.
These helpers do not replace the project's own asset pipeline unless the project is deliberately configured to use them.
Useful commands:
fe inspect .
fe setup .
fe validate
fe preflight
fe check .
fe doctorfe validatechecks Fe configuration and relevant paths.fe preflightchecks toolchains and runs configured pre-build checks. Review configured commands before allowing them to run.fe checkruns supported local static analyzers when they are installed. Missing tools are reported; Fe does not silently install them.fe doctordiagnoses the local environment and project configuration.
Fix the underlying issue, rerun the narrowest relevant check, and then rerun the build. Do not hide failures by deleting tests, disabling checks, or changing build flags without understanding the cause.
Building and publishing are different operations. Do not publish, upload, create a release, or change a live product unless the user explicitly requested that action.
fe bmppublishes build output to itch.io through Butler.fe releaseorchestrates the configured release workflow and may publish to itch.io.fe gumroad releaseuploads a stable version to its explicitly configured Gumroad product.fe release --gumroadincludes the configured stable Gumroad upload.fe release --dry-runpreviews the release plan; use it before any authorized release.
Gumroad stable uploads require explicit version-to-product mappings. Do not invent product IDs, reuse a product for another version, or retry an ambiguous upload without checking the product state.
For normal agent build tasks, stop after a successful build and report the artifact paths. Ask before running any publishing command.
These commands are available in addition to the build workflows above. Read their command help before using them:
| Command | Purpose |
|---|---|
fe sync [path] |
Sync Fe-managed project files and required local tools. Inspect the planned changes and resulting files. |
fe clean [path] |
Remove Fe-managed files and registrations. This is destructive; use fe clean --dry-run first and never run a real cleanup without explicit approval. |
fe template list / fe template update <id> |
Browse remote templates and refresh a local cached template. |
fe inspect [path] / fe setup [path] |
Detect project markers and report tool requirements. |
fe fix compile-commands [path] |
Repair a C/C++ compilation database for clangd. |
fe add <tool> |
Add supported editor/LSP configuration (clangd, ols, zls, gopls). |
fe check [path] |
Run available language-aware static analyzers. |
fe watch |
Watch supported project files and run configured development actions. |
fe tui |
Open the interactive terminal dashboard. |
fe update / fe update check |
Check for Fe updates and, for supported package-managed installs, request an update. Direct-binary and rolling update paths have limitations; inspect the command output and help. |
Other shipping commands are documented above: build, export, pack, transcode, bmp, package, manifest, changelog, release, and gumroad release.
Do not use fe clean, fe update, or any publishing command as an automatic troubleshooting step. These can change the project, installed Fe version, or remote state.
Before reporting that a project is rebuildable:
- The project README and template-specific instructions were read.
- Fe's detected project type and required tools were checked.
- The exact build command and required toolchain are known.
- Required dependencies are installed or clearly reported as missing.
-
.fe.yamlis valid and does not contain invented or unnecessary settings. - The build was run from a clean, understood state.
- Tests or project-specific validation were run when available.
- Build outputs and their paths were verified.
- No publishing action was taken without explicit authorization.
If a build cannot be reproduced on the current host, state which tool, SDK, platform, or external service is missing. Do not claim success based only on a successful Fe configuration check.