Skip to content

Commit 13f9d8e

Browse files
committed
Add new files and AI Ops maintenance
1 parent 9a8e6e0 commit 13f9d8e

19 files changed

+1657
-238
lines changed

.github/agents/agent.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ This file documents the primary automation agent(s) for this repository, their p
3636
- **Usage:** Say "Generate a new multi-block plugin" or "Create CPT plugin from scaffold"
3737
- **Related Prompt:** [generate-plugin.prompt.md](../prompts/generate-plugin.prompt.md)
3838

39-
### Development Assistant Agent
40-
41-
- **Agent Spec:** `.github/agents/development-assistant.agent.md`
42-
- **Purpose:** AI-powered development assistant for multi-block plugin development, providing guidance on blocks, CPT, SCF fields, and best practices.
43-
- **Modes:** WordPress Development, Block Development, Post Type, Fields, Testing, Security Audit, Performance, Accessibility
44-
4539
### General Automation Agent
4640

4741
- **Agent Script:** `.github/agents/agent-script.js`

.github/agents/scaffold-generator.agent.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,12 +452,30 @@ This scaffold requires:
452452
| SCF Plugin | Required | Latest |
453453

454454
The generated plugin uses WordPress 6.5+ Plugin Dependencies to require SCF:
455+
455456
```php
456457
Requires Plugins: secure-custom-fields
457458
```
458459

459460
---
460461

462+
## Implementation
463+
464+
This agent is implemented in [`scaffold-generator.agent.js`](./scaffold-generator.agent.js).
465+
466+
**Direct Usage:**
467+
```bash
468+
node .github/agents/scaffold-generator.agent.js
469+
```
470+
471+
**Available Modes:**
472+
- Interactive: `node scaffold-generator.agent.js`
473+
- JSON input: `echo '{"slug":"my-plugin"}' | node scaffold-generator.agent.js --json`
474+
- Validation: `node scaffold-generator.agent.js --validate '{"slug":"test"}'`
475+
- Schema output: `node scaffold-generator.agent.js --schema`
476+
477+
---
478+
461479
## Related Files
462480

463481
- [Generate Plugin Prompt](../prompts/generate-plugin.prompt.md)

.github/instructions/block-json.instructions.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/instructions/blocks.instructions.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)