Adobe Edge Services Best Practices .cursorrules prompt file
About .cursorrules prompt file
What you can build
Edge Delivery Project Builder - A tool that automates the creation of boilerplate code and file structures for new projects using Adobe Edge Delivery Services (EDS), adhering to best practices in block development, file organization, and accessibility.
Interactive Block Playground - A web application where developers can visually customize and test EDS blocks, providing real-time code snippets, style adjustments, and integrations with Google Docs or Microsoft Word.
JSON/CSV Converter and Validator - A service that converts JSON structures to CSV and vice-versa, while validating the files based on EDS guidelines, ensuring compatibility and performance optimization.
EDS Style Guide Enforcer - A coding plug-in that enforces Airbnb’s JavaScript Style Guide, accessibility standards, and performance optimization rules specifically tailored for EDS projects.
Eager-Lazy-Delayed Pattern Visualizer - A tool to help developers visualize and test different loading patterns (Eager, Lazy, Delayed) on their blocks to optimize load times and performance efficiently.
Metadata Optimization Tool - A service that analyzes and optimizes metadata for EDS projects, enhancing SEO and ensuring content is managed effectively through spreadsheets auto-converted to JSON.
Responsive Design Tester - A web application that allows developers to test and adjust the responsiveness of EDS blocks across various devices and screen sizes.
SEO & Accessibility Audit Tool - A utility that performs comprehensive audits of EDS projects, focusing on SEO and accessibility features, providing actionable insights and suggested improvements.
State Management Implementer - A module that assists in efficient state management for interactive EDS blocks, minimizing client overload while maintaining functionality.
Auto-Blocking Content Mapper - An AI tool that structures content blocks dynamically in an EDS environment, leveraging the auto-blocking feature for streamlined content delivery.
Benefits
- Comprehensive file structure outlined for efficient block development with examples in multiple formats: JSON, CSV, README.md, and EXAMPLE.md.
- Emphasis on performance and best practices, including lazy loading, async operations, and strict adherence to Airbnb’s JavaScript Style Guide.
- Detailed README.md and EXAMPLE.md guidelines ensure thorough documentation, encouraging modularity, accessibility, and responsive design throughout the EDS project lifecycle.
Synopsis
Developers specializing in Adobe Edge Delivery Services would use this prompt to build scalable, accessible, and high-performance web components utilizing best practices and modern technologies.
Overview of .cursorrules prompt
The .cursorrules file provides guidelines and best practices for developers working with Adobe Edge Delivery Services (EDS), also known as Franklin or Helix. It outlines the core concepts of EDS, focusing on document-based authoring, serverless architecture, GitHub integration, block-based development, and modern web technologies. The file details the structure and development of blocks, including file organization, JavaScript and CSS coding standards, and example JSON and CSV file formats. It emphasizes best practices in modularity, semantic HTML, accessibility, performance optimization, responsive design, error handling, and code style. Additionally, it includes instructions for creating comprehensive README.md files and EXAMPLE.md files for components, ensuring they are well-documented, accessible, and maintainable.