feat: modified agent behavior for a more test centric workflow
This commit is contained in:
@@ -98,9 +98,14 @@ When writing or modifying Eleventy files:
|
||||
---
|
||||
|
||||
## 4. Validation & Verification
|
||||
|
||||
Always follow the project TDD standard: write automated tests (including adversarial edge cases) in `test/` before modifying functional templates, filters, or configuration. Ensure all test cases pass before presenting the final output.
|
||||
|
||||
Run these commands to test Eleventy builds:
|
||||
Run these commands to test and verify builds:
|
||||
```bash
|
||||
# Run complete test suite (unit tests, filters, server, design rules, build integrity)
|
||||
npm test
|
||||
|
||||
# Validate Eleventy configuration and build static output
|
||||
npx @11ty/eleventy --dryrun
|
||||
|
||||
@@ -110,3 +115,4 @@ npx @11ty/eleventy
|
||||
# Launch local dev server with auto-refresh
|
||||
npx @11ty/eleventy --serve
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user