Developer Prompts
Focused prompts for daily development workflows — code, MRs, pipelines, and debugging.
Morning Standup
"Show me my open MRs and their pipeline status"
"What review requests are waiting for me?"
"List my todos — what needs attention?"
Working with Branches
"Create a branch
feature/user-authfrommaininmy-org/api"
"Show me all branches matching
feature/*inmy-org/api"
"Compare
feature/user-authwithmain— what's the diff?"
{
"project_id": "my-org/api",
"branch": "feature/user-auth",
"ref": "main"
}{
"action": "list_branches",
"project_id": "my-org/api",
"search": "feature/"
}{
"action": "compare",
"project_id": "my-org/api",
"from": "main",
"to": "feature/user-auth",
"per_page": 20
}Creating Merge Requests
"Create an MR from
feature/user-authtomaininmy-org/api"
"Create a draft MR for my work-in-progress"
{
"action": "create",
"project_id": "my-org/api",
"source_branch": "feature/user-auth",
"target_branch": "main",
"title": "feat: Add user authentication module",
"description": "## Changes\n- JWT token generation\n- Session middleware\n- Login/logout endpoints\n\n## Testing\n- Added unit tests for auth service\n- Integration tests for endpoints",
"remove_source_branch": true
}{
"action": "create",
"project_id": "my-org/api",
"source_branch": "feature/user-auth",
"target_branch": "main",
"title": "Draft: User authentication (WIP)",
"description": "Work in progress - not ready for review yet"
}Editing Files
"Update the version in
package.jsonto 2.0.0"
"Create a new config file
src/config/auth.ts"
{
"action": "single",
"project_id": "my-org/api",
"file_path": "src/config/auth.ts",
"content": "export const AUTH_CONFIG = {\n tokenExpiry: '24h',\n refreshExpiry: '7d',\n};",
"commit_message": "feat: add auth configuration",
"branch": "feature/user-auth"
}{
"action": "batch",
"project_id": "my-org/api",
"branch": "feature/user-auth",
"commit_message": "feat: add auth module files",
"files": [
{
"file_path": "src/auth/index.ts",
"content": "export { AuthService } from './service';"
},
{
"file_path": "src/auth/service.ts",
"content": "export class AuthService {\n // implementation\n}"
}
]
}Debugging CI
"My pipeline failed — show me the error logs"
"Retry the failed test job"
"What's the status of my MR's pipeline?"
See Debug Pipeline Failures for the complete workflow.
Code Search
"Search for
AuthServiceacross all projects"
"Find files containing
TODOinmy-org/api"
{
"action": "project",
"project_id": "my-org/api",
"scope": "blobs",
"search": "AuthService",
"per_page": 20
}{
"action": "global",
"scope": "blobs",
"search": "AuthService",
"per_page": 20
}Daily Workflow
- Check todos and review requests
- Review pending MRs assigned to you
- Push code and create/update MRs
- Monitor pipeline status
- Address review feedback
- Merge approved MRs
Related
- Code Review — Review workflows
- Debug Pipelines — CI troubleshooting
- Explore Repo — Navigate codebases
