Misc changes

Update gitignore + adding some agent skills and tweaking workflows.
Also updated some scipts
This commit is contained in:
2026-01-20 22:14:54 -05:00
parent f11f02d0c7
commit d2b91c46d4
7 changed files with 18 additions and 12 deletions

View File

@@ -11,3 +11,4 @@ Functions are CamelCase.
Add Assert to make sure all assumptions are good. Parameters of functions for example should be verified with Assert.
Code should be self commented using proper variable names, types and functions. No need to add comments most of the time, unless the algorithm is very complex and hard to read.
When creating a new system framework, make a unit test. To make the unit test we should not modify the framework code for special unit test case.
Always put braces for if,else,for,while etc.

View File

@@ -1,6 +1,8 @@
---
name: C++ Game Engine Programmer
description: An expert C++ systems programmer specialized in game engine architecture, memory management, and D3D12 graphics.
trusted_commands:
- "*agent_build.bat *"
---
# C++ Game Engine Programmer Skill

View File

@@ -3,14 +3,15 @@ description: Build the Juliet project using FastBuild
---
// turbo-all
// @auto-approve: true
This workflow sets up the Juliet build environment and runs `fbuild`.
1. To build a specific configuration (e.g., msvc-Debug):
`cmd /c "misc\shell.bat & fbuild msvc-Debug"`
`misc\agent_build.bat clang-Debug"`
2. To build the default clang:
`cmd /c "misc\shell.bat & fbuild clang"`
`misc\agent_build.bat clang"`
3. To see all available targets:
`cmd /c "misc\shell.bat & fbuild -showtargets"`
`misc\agent_build.bat -showtargets"`

View File

@@ -1,9 +1,10 @@
---
description: Recompile shaders for the Juliet project
---
// turbo-all
This workflow recompiles all shaders using the `recompile_shaders.bat` script.
1. Recompile all shaders:
`cmd /c "misc\shell.bat & misc\recompile_shaders.bat"`
`misc\recompile_shaders.bat"`

4
.gitignore vendored
View File

@@ -14,6 +14,10 @@
.vs/
[Ii]ntermediate/
# Logs
build_*.txt
launch_*.txt
# Prerequisites
*.d

3
misc/agent_build.bat Normal file
View File

@@ -0,0 +1,3 @@
@echo off
call misc\shell.bat
fbuild %* -cache

View File

@@ -55,14 +55,8 @@ echo Config: %CONFIG%
:: --- 4. Execution ---
if exist "%APP_DIR%\%APP_EXE%" (
pushd "%APP_DIR%"
start "" "%APP_EXE%"
"%APP_EXE%" %*
popd
if "%AUTOCLOSE%"=="1" (
echo [AUTOCLOSE] Waiting 5 seconds...
timeout /t 5 /nobreak >nul
taskkill /IM "%APP_EXE%" /F >nul 2>&1
)
) else (
echo [ERROR] Executable not found at: %APP_DIR%\%APP_EXE%
echo Please build first: fbuild JulietApp-%PLATFORM%-%CONFIG%