Welcome to Codyception, a web-based tool designed for creating custom commands for Cody, the AI coding assistant from Sourcegraph. This manual will guide you through the process of using Codyception to define commands, set up prompts, and save them as JSON files for use with Cody.
- Accessing Codyception
- Creating Commands
- Using the Sidebar
- Toggling Dark Mode
- Viewing and Saving Commands
- GitHub Updates
- Additional Features
To access Codyception, visit the the Codyception website. Ensure you are using a modern web browser for the best experience.
- Select Pre-made Command (Optional): Use the dropdown menu to select a pre-made command as a starting point.
- Command Name: Enter a unique name for your command. Avoid spaces; use hyphens if needed.
- Command Prompt: Provide a detailed prompt for the task you want Cody to complete.
- Command Context: Choose the context for your command by selecting from the available options such as selection, openTabs, currentDir, currentFile, and none.
- Slash Command (Optional): Define a keyword for Cody to associate with the command during chat sessions.
- Command Note (Optional): Add any additional notes about the command.
- Click the hamburger menu icon to toggle the sidebar visibility.
- Access links to Sourcegraph, Cody, and Codyception resources, including Discord, GitHub, and documentation.
Click the lightbulb icon to switch between light and dark modes for better visibility according to your preference.
- Show JSON Data: Click to view the JSON representation of your command.
- Create Command and Save: Click to save your command as a JSON file. The file will be downloaded to your device.
- Copy JSON: In the modal that appears after clicking "Show JSON Data," you can copy the JSON to your clipboard.
Stay informed about the latest updates to Codyception:
- The GitHub Updates banner at the bottom of the interface displays the most recent changes from the Codyception repository.
- Custom Command Viewer: Access a modal containing a custom command viewer by clicking the corresponding sidebar link.
- Open Cody AI Extension in VSCode: Click the button to open the Cody AI extension directly in Visual Studio Code.
- Instructions For Adding Custom Commands: Click this button to view detailed instructions on how to add custom commands to Cody.
For any further assistance or support, please reach out through the Discord community.