Skip to content

Commit 3a818b1

Browse files
committed
dev: Add Theia AI slash commands for common dev tasks
1 parent 40b47e6 commit 3a818b1

File tree

6 files changed

+42
-0
lines changed

6 files changed

+42
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
isCommand: true
3+
commandName: build-examples
4+
commandDescription: Build the JSON Forms examples application
5+
---
6+
Run the "Build Examples App" task to build the examples application for JSON Forms.
7+
~{runTask}

.prompts/build.prompttemplate

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
isCommand: true
3+
commandName: build
4+
commandDescription: Build the JSON Forms project
5+
---
6+
Run the "Build" task to compile the entire JSON Forms project.
7+
~{runTask}

.prompts/clean.prompttemplate

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
isCommand: true
3+
commandName: clean
4+
commandDescription: Clean the JSON Forms project build artifacts
5+
---
6+
Run the "Clean" task to remove build artifacts and clean the JSON Forms project.
7+
~{runTask}

.prompts/lint-fix.prompttemplate

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
isCommand: true
3+
commandName: lint-fix
4+
commandDescription: Run linting and auto-fix issues in the JSON Forms project
5+
---
6+
Run the "Lint Fix" task to automatically fix linting issues in the JSON Forms project.
7+
~{runTask}

.prompts/lint.prompttemplate

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
isCommand: true
3+
commandName: lint
4+
commandDescription: Run linting checks on the JSON Forms project
5+
---
6+
Run the "Lint" task to check the code for linting errors in the JSON Forms project. ~{runTask}
7+
~{runTask}

.prompts/test.prompttemplate

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
isCommand: true
3+
commandName: test
4+
commandDescription: Run tests for the JSON Forms project
5+
---
6+
Run the "Test" task to execute the test suite for the JSON Forms project.
7+
~{runTask}

0 commit comments

Comments
 (0)