andrew-bulthuis/prompts icon
public
Published on 5/31/2025
AutoApply JavaScript Prompts

Prompts
AutoApply Code Guidelines
Please create JavaScript code following these principles:

- Prioritize safe form field detection using heuristics, placeholders, and labels—never static IDs.
- Do not guess answers; only submit explicit, confident field matches.
- Log all actions, decisions, and errors using console.error and chrome.storage.local.
- Ensure settings.js follows consistent, minimal patterns; store user config and UI state only.
- Keep the code modular and DRY—extract reusable functions for field-finding, logging, and safe answers.
- Never hardcode job search filters; rely on user-configured values in settings.js.
- Validate all Chrome APIs against official documentation: https://developer.chrome.com/docs/extensions/mv3/