More clues for agents
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Style
|
# Style
|
||||||
|
|
||||||
- Two spaces for indentation, no tabs
|
- Two spaces for indentation, no tabs
|
||||||
- Use Bash syntax for conditionals: `[[ -f $file ]]`, not `[ -f "$file" ]`
|
- Use bash 5 syntax: `[[ ]]` for conditionals, not `[ ]`. Don't quote variables inside `[[ ]]` (e.g., `[[ -n $var ]]` not `[[ -n "$var" ]]`)
|
||||||
|
|
||||||
# Command Naming
|
# Command Naming
|
||||||
|
|
||||||
@@ -51,6 +51,7 @@ To create a new migration, run `omarchy-dev-add-migration --no-edit`. This creat
|
|||||||
Migration format:
|
Migration format:
|
||||||
- No shebang line
|
- No shebang line
|
||||||
- Start with an `echo` describing what the migration does
|
- Start with an `echo` describing what the migration does
|
||||||
|
- Use `$OMARCHY_PATH` to reference the omarchy directory
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user