Skip to content

Commit 08529a7

Browse files
authored
Add code style summary to agent build instructions
Added basic style guidelines for C++, Web UI, and CI/CD workflows.
1 parent 64529bb commit 08529a7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/agent-build.instructions.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ Use these timeout values when running builds:
2020

2121
## Development Workflow
2222

23+
### Code Style Summary
24+
- **C++** files in `wled00/` and `usermods/`: 2-space indentation (no tabs), camelCase functions/variables, PascalCase classes, UPPER_CASE macros. No C++ exceptions — use return codes and debug macros.
25+
- **Web UI** files in `wled00/data`: indent HTML and JavaScript with tabs, CSS with tabs.
26+
- **CI/CD workflows** in `.github/workflows`: 2-space indentation, descriptive `name:` on every workflow/job/step. Third-party actions must be pinned to a specific version tag — branch pins such as @main or @master are not allowed. SHA pinning recommended.
27+
2328
### Web UI Changes
2429

2530
1. Edit files in `wled00/data/`

0 commit comments

Comments
 (0)