Skip to content

Commit e033ee6

Browse files
committed
docs: consolidate AGENTS.md test instructions to /slic skill
1 parent 8465b97 commit e033ee6

1 file changed

Lines changed: 2 additions & 30 deletions

File tree

AGENTS.md

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -160,37 +160,9 @@ bun run lint:php:fix # Auto-fix PHP lint issues
160160
- **slic** installed and on PATH — clone [stellarwp/slic](https://github.com/stellarwp/slic) (located at `~/stellar/slic/`)
161161
- **Docker** running (slic uses Docker containers for the WordPress + database environment)
162162

163-
### First-Time Setup
163+
### Setup & Running Tests
164164

165-
Run once from the WordPress plugins directory:
166-
167-
```bash
168-
cd ~/workspace/srv/wp-content/plugins
169-
~/stellar/slic/slic here
170-
~/stellar/slic/slic use integration-workos
171-
~/stellar/slic/slic composer install
172-
```
173-
174-
- `slic here` registers the current directory as the plugins root
175-
- `slic use integration-workos` selects the plugin as the active target
176-
- `slic composer install` installs PHP dependencies inside the container
177-
178-
### Running Tests
179-
180-
```bash
181-
~/stellar/slic/slic use integration-workos
182-
~/stellar/slic/slic run wpunit
183-
```
184-
185-
### Running Specific Tests
186-
187-
```bash
188-
# Run a single test file:
189-
~/stellar/slic/slic run tests/wpunit/PluginTest.php
190-
191-
# Run a single test method:
192-
~/stellar/slic/slic run tests/wpunit/PluginTest.php:test_version_constant_is_defined
193-
```
165+
Use the global `/slic` skill for first-time setup, running tests, and all slic CLI commands.
194166

195167
### Test Structure
196168

0 commit comments

Comments
 (0)