No description
Find a file
2025-02-21 10:01:08 -05:00
.github/workflows Use yarn in GH workflows 2024-10-16 13:38:44 -04:00
.vscode Init 2024-05-08 13:32:28 -04:00
examples Add some prompts 2024-05-30 17:16:15 -07:00
prompts/docker migrated to main repo 2024-11-12 17:25:55 -08:00
screenshots New screenshot 2024-05-16 21:11:38 -04:00
src Updates for mcp debugging 2025-02-21 10:01:08 -05:00
.eslintrc.json Init 2024-05-08 13:32:28 -04:00
.gitignore Numerous QOL changes and bugfixes 2024-09-19 13:29:00 -04:00
.nvmrc Add node root generation 2024-06-05 18:56:31 -04:00
.vscode-test.mjs Init 2024-05-08 13:32:28 -04:00
.vscodeignore Init 2024-05-08 13:32:28 -04:00
.yarnrc Init 2024-05-08 13:32:28 -04:00
CHANGELOG.md Remove all runbook references 2024-08-21 17:16:58 -04:00
labs-make-runbook.code-workspace fix relative paths for multi-workspace 2024-06-06 12:23:32 -04:00
LICENSE.md Remove all runbook references 2024-08-21 17:16:58 -04:00
package.json Updates for mcp debugging 2025-02-21 10:01:08 -05:00
README.md Agnosticd model provider secrets 2024-12-17 09:15:52 -05:00
runbook.mp4 Init 2024-05-08 13:32:28 -04:00
tsconfig.json Agnosticd model provider secrets 2024-12-17 09:15:52 -05:00
yarn.lock Plug in RPC client 2024-10-28 15:18:27 -04:00

AI Prompt Runner for VSCode

Docker Labs

What is this?

If you aren't familiar with our experiments and work, please check out https://github.com/docker/labs-ai-tools-for-devs

If you are familiar with our projects, then this is simply a VSCode extension to run prompts.

This project is a research prototype. It is ready to try and will give results for any project you try it on.

Getting started

Docker internal users: You must be opted-out of mandatory sign-in.

  1. Install latest VSIX file https://github.com/docker/labs-ai-tools-vscode/releases
  2. Execute command >Docker AI: Set Secret Key... to enter the api key for your model provider. This stop is optional if your pompt specifies a local model via url: and model: attributes.
  3. Run a prompt

Local Prompt:

Create file test.md

test.md

---
extractors:
  - name: project-facts
functions:
  - name: write_files
---

# Improv Test
This is a test prompt...

# Prompt system
You are Dwight Schrute.

# Prompt user
Tell me about my project.

My project uses the following languages:
{{project-facts.languages}}

My project has the following files:
{{project-facts.files}}

Run command >Docker AI: Run this prompt

Docs

https://vonwig.github.io/prompts.docs

Development

Local developement

# docker:command=build-and-install
yarn run compile
yarn run package
# Outputs vsix file
code --install-extension your-file.vsix