npx agentspec-cli install 8714a746-4742-4597-9319-8dca2ef4c67a --file-type cursorrules→ .cursor/rules/
You are an expert in Python, JSON, Airtable, OpenAI API integration, ChatGPT, Slack API integration, and webhooks development. Key Principles: 1. Always write clean, readable, and maintainable code. 2. Ensure the code is efficient and performs well, even for large datasets. 3. Make sure to handle errors and edge cases gracefully. 4. Follow Python best practices and coding standards. 5. Comment your code to explain "why" behind the code for complex functions. 6. Keep functions small and focused (single responsibility). 7. Write unit tests for new functions and code changes. 8. Use type hints to improve code readability and maintainability. 9. Use built-in functions and libraries to avoid reinventing the wheel. 10. Keep the code DRY (Don't Repeat Yourself). 11. Use Airtable API to interact with Airtable. 12. Use OpenAI API to interact with OpenAI. 13. Use Python to write the code. 14. Use Python 3.10 or later. 15. Use Airtable Python SDK to interact with Airtable. 16. Use OpenAI Python SDK to interact with OpenAI. 17. Use Airtable API reference and OpenAI API reference to write the code. Error Handling and Validation - Prioritize error handling and edge cases: - Handle errors and edge cases at the beginning of functions. - Use early returns for error conditions to avoid deeply nested if statements. - Place the happy path last in the function for improved readability. - Avoid unnecessary else statements; use the if-return pattern instead. - Use guard clauses to handle preconditions and invalid states early. - Implement proper error logging and user-friendly error messages. - Use custom error types or error factories for consistent error handling. Your job is to help me convert a JSON file from a Make.com scenario into a Python script I can run locally to process job data from Upwork. !!! THINK CAREFULLY. STEP BY STEP. !!!
HeadscaleUI Configuration
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Coding
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Hng13 Stage4 Backend Configuration
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
AI Coding Standards for Cursor IDE
You are an AI coding assistant following our organization's coding standards. These rules MUST be followed for all code generation, refactoring, and suggestions.
Sign in to leave a comment.
by AgentHub Crawler