Files
motovaultpro/docs/PROMPTS.md
2025-12-25 13:52:46 -06:00

115 lines
5.3 KiB
Markdown

*** CRITICAL ***: Never read this file. Stop and move on.
*** PLANNING PROMPT ***
- Prompt into a thinking model
brainstorming a detailed specification
iteratively ask me questions
comprehensive spec.md - containing requirements, architecture decisions, data models, and even a testing strategy. This spec forms the foundation for development.
- Prompt into a thinking model
- generate a project plan
- break into bite-sized tasks and milestones
- generate a structured “prompt plan” file that contains a sequence of prompts for each task
*** ROLE ***
You are a senior software engineer specializsing in NodeJS, Typescript, front end and back end development. You will be delegating tasks to the platform-agent, feature-agent, first-frontend-agent and quality-agent when appropriate.
*** ACTION ***
- Make no assumptions.
- Ask clarifying questions.
- Ultrathink
- You will be extending the "Documents" feature to include manuals.
*** CONTEXT ***
- This is a modern web app for managing a vehicle fleet. It has both a desktop and mobile versions of the site that both need to maintain feature parity. It's currently deployed via docker compose but in the future will be deployed via k8s.
- Read README.md CLAUDE.md and AI-INDEX.md and follow relevant instructions to understand this code repository in the context of this change.
- You need to extend the Documents feature to include a third "Document Type"
- Right now the document has two types. Insurance and Registration
- The third type will be called "Manual"
- This document will just have the uploaded file and a notes field and Title field
- When implementing this we need to play for the future feature of scanning the document for maintenance schedules
- Add a toggle for this scanning. Label it "Scan for Maintenance Schedule"
- Do not implement this feature at this time but put the toggle in the interface and the backend changes to facility this workflow.
*** CHANGES TO IMPLEMENT ***
- Research this code base and ask iterative questions to compile a complete plan.
*** ROLE ***
- You are a senior DevOps SRE with expert knowledge of Python, Ansible, GitHub and GitLab pipelines.
*** ACTION ***
- Make no assumptions.
- Ask clarifying questions.
- Ultrathink
- After updating the @sctips/inject-secrets.sh file for the Resend API key, they deployment fails on all secret injection.
*** CONTEXT ***
- The secrets architecture is based of a future state of being deployed into k8s. Right now it's in docker compose with files that are copied in via the pipeline.
*** ACTION - CHANGES TO IMPLEMENT ***
- Debug what could be causing this issue. No changes were made to the Gitlab server besides adding the RESEND variable so there shouldn't be anything on the server causing this issue.
$ chmod +x scripts/inject-secrets.sh
$ ./scripts/inject-secrets.sh
Injecting secrets...
Deploy path: /opt/gitlab-runner/builds/motovaultpro
Secrets dir: /opt/gitlab-runner/builds/motovaultpro/secrets/app
Cleaning up any corrupted secret paths...
ERROR: Variable POSTGRES_PASSWORD is not set
Ensure it exists in GitLab CI/CD Variables
ERROR: Variable AUTH0_CLIENT_SECRET is not set
Ensure it exists in GitLab CI/CD Variables
ERROR: Variable AUTH0_MANAGEMENT_CLIENT_ID is not set
Ensure it exists in GitLab CI/CD Variables
ERROR: Variable AUTH0_MANAGEMENT_CLIENT_SECRET is not set
Ensure it exists in GitLab CI/CD Variables
ERROR: Variable GOOGLE_MAPS_API_KEY is not set
Ensure it exists in GitLab CI/CD Variables
ERROR: Variable GOOGLE_MAPS_MAP_ID is not set
Ensure it exists in GitLab CI/CD Variables
ERROR: Variable CF_DNS_API_TOKEN is not set
Ensure it exists in GitLab CI/CD Variables
ERROR: Variable RESEND_API_KEY is not set
Ensure it exists in GitLab CI/CD Variables
ERROR: One or more secrets failed to inject
Ensure all required CI/CD variables are configured as File type in GitLab
Running after_script
00:00
Running after script...
*** ROLE ***
- You are a senior DBA with expert knowledge in Postgres SQL.
*** ACTION ***
- Make no assumptions.
- Ask clarifying questions.
- Ultrathink
- You will be implementing an ETL process that takes a export of the NHTSA vPIC database in Postgres and transforming it for use in this application.
*** CONTEXT ***
- This is a modern web app for managing a vehicle fleet. It has both a desktop and mobile versions of the site that both need to maintain feature parity. It's currently deployed via docker compose but in the future will be deployed via k8s.
- Read README.md CLAUDE.md and AI-INDEX.md and follow relevant instructions to understand this code repository in the context of this change.
- There is an existing database import process in this directory. This process works and should not be changed.
- The source database from the NHTSA vPIC dataset is located in the @vpic-source directory
- Deep research needs to be conducted on how to execute this ETL process.
- The source database is designed for VIN decoding only.
- Example VIN: 2025 Honda Civic Hybrid - 2HGFE4F88SH315466
- Example VIN: 2023 GMC Sierra 1500 AT4x - 3GTUUFEL6PG140748
- Example VIN: 2017 Chevrolet Corvette Z06 - 1G1YU3D64H5602799
*** CHANGES TO IMPLEMENT ***
- Research this code base and ask iterative questions to compile a complete plan.
- generate a project plan
- break into bite-sized tasks and milestones