Skip to content

Commit 16c2b7b

Browse files
Copilotlmajano
andauthored
Polish migration skill docs and README after validation
Agent-Logs-Url: https://github.com/ColdBox/skills/sessions/2e954bb1-2de0-4f25-ab0e-3dfda62ddad2 Co-authored-by: lmajano <137111+lmajano@users.noreply.github.com>
1 parent 388e33e commit 16c2b7b

2 files changed

Lines changed: 8 additions & 12 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The [`.claude-plugin/plugin.json`](./.claude-plugin/plugin.json) registers these
5858
| [`request-context`](./coldbox/request-context/SKILL.md) | Request context, flash scope, collections, metadata |
5959
| [`flash-messaging`](./coldbox/flash-messaging/SKILL.md) | Flash RAM, message persistence, success/error/info/warning patterns |
6060
| [`cache-integration`](./coldbox/cache-integration/SKILL.md) | Event and view caching, cache keys, cache invalidation |
61-
| [`database-migrations`](./coldbox/database-migrations/SKILL.md) | Consolidated cfmigrations + CommandBox migrations workflows: schema builder, migration files, CLI execution, rollback, and seeding |
61+
| [`database-migrations`](./coldbox/database-migrations/SKILL.md) | Schema migrations with cfmigrations and CommandBox CLI: create, run, rollback, and seed |
6262
| [`async-programming`](./coldbox/async-programming/SKILL.md) | Async pipelines, ColdBox Futures, `allApply()/anyOf()`, thread-pool executors, AsyncManager |
6363
| [`scheduled-tasks`](./coldbox/scheduled-tasks/SKILL.md) | Scheduler.cfc, task frequencies, lifecycle hooks, module schedulers, clustered fixation |
6464
| [`decorators`](./coldbox/decorators/SKILL.md) | ControllerDecorator, RequestContextDecorator, extending framework internals |
@@ -198,7 +198,7 @@ The bundled [`.mcp.json`](./.mcp.json) includes Ortus documentation MCP endpoint
198198
| [`wirebox/`](./wirebox/) | WireBox dependency injection |
199199
| [`cachebox/`](./cachebox/) | CacheBox standalone caching |
200200
| [`logbox/`](./logbox/) | LogBox logging |
201-
| [`modules/`](./modules/) | 40+ Ortus/ColdBox module skills (including cborm, qb, and quick) |
201+
| [`modules/`](./modules/) | 40+ Ortus/ColdBox module skills |
202202
| [`docbox/`](./docbox/) | DocBox documentation generation skills |
203203

204204
---
@@ -266,8 +266,8 @@ The current [`.claude-plugin/plugin.json`](./.claude-plugin/plugin.json) registe
266266
- `wirebox`
267267
- `cachebox`
268268
- `logbox`
269-
- `modules`
270-
- `docbox`
269+
- `modules` — 40+ Ortus/ColdBox module skills
270+
- `docbox` — DocBox documentation generation
271271

272272
---
273273

@@ -290,7 +290,7 @@ The current [`.claude-plugin/plugin.json`](./.claude-plugin/plugin.json) registe
290290
| [`request-context`](./coldbox/request-context/SKILL.md) | Request context, flash scope, collections, metadata |
291291
| [`flash-messaging`](./coldbox/flash-messaging/SKILL.md) | Flash RAM, message persistence, success/error/info/warning patterns |
292292
| [`cache-integration`](./coldbox/cache-integration/SKILL.md) | Event and view caching, cache keys, cache invalidation |
293-
| [`database-migrations`](./coldbox/database-migrations/SKILL.md) | Consolidated cfmigrations + CommandBox migrations workflows: schema builder, migration files, CLI execution, rollback, and seeding |
293+
| [`database-migrations`](./coldbox/database-migrations/SKILL.md) | Schema migrations with cfmigrations and CommandBox CLI: create, run, rollback, and seed |
294294
| [`coldbox-cli`](./coldbox/coldbox-cli/SKILL.md) | `coldbox create` workflows, app skeletons, language flags, scaffolding |
295295
| [`coldbox-documenter`](./coldbox/coldbox-documenter/SKILL.md) | Documentation standards for handlers, models, modules, config files |
296296
| [`coldbox-reviewer`](./coldbox/coldbox-reviewer/SKILL.md) | Code review heuristics for ColdBox applications and modules |

coldbox/database-migrations/SKILL.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ box install commandbox-migrations
2828

2929
### `config/ColdBox.cfc`
3030

31-
```js
31+
```boxlang
3232
moduleSettings = {
3333
cfmigrations: {
3434
manager: "cfmigrations.models.QBMigrationManager",
@@ -81,7 +81,7 @@ box migrate status
8181

8282
## Migration Shape
8383

84-
```js
84+
```cfml
8585
component {
8686
function up( schema, query ) {
8787
schema.create( "users", ( table ) => {
@@ -101,7 +101,7 @@ component {
101101

102102
## Common Schema Operations
103103

104-
```js
104+
```boxlang
105105
schema.create( "posts", ( table ) => {
106106
table.increments( "id" )
107107
table.unsignedInteger( "userId" )
@@ -127,7 +127,3 @@ schema.alter( "posts", ( table ) => {
127127
- Use env vars for credentials and avoid destructive commands in production
128128
- Use `box migrate up` (not reset/refresh) in production deployments
129129

130-
## Related Module Skills
131-
132-
- [`cfmigrations`](../../modules/cfmigrations/SKILL.md)
133-
- [`commandbox-migrations`](../../modules/commandbox-migrations/SKILL.md)

0 commit comments

Comments
 (0)