Skip to content

Commit ef85a6d

Browse files
committed
feat: add more technical document generation prompts
- REST API architecture - OAuth 2.0 authentication flow - Microservices architecture - GraphQL explanation - CI/CD pipelines Provides diverse examples for users to generate technical documentation and diagrams
1 parent 45fd46d commit ef85a6d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

apps/app/src/app/canvas/page.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,26 @@ const DocumentEditor = () => {
201201
title: "Generate WebSocket document",
202202
message: "Create a comprehensive document explaining how WebSockets work, including the handshake process, persistent connections, frames, comparison with HTTP, and common use cases.",
203203
},
204+
{
205+
title: "Explain REST API architecture",
206+
message: "Write a detailed document about REST API design principles, HTTP methods, status codes, request/response structure, and best practices.",
207+
},
208+
{
209+
title: "How does OAuth 2.0 work?",
210+
message: "Create a document explaining OAuth 2.0 authentication flow, including authorization servers, access tokens, refresh tokens, and common scenarios.",
211+
},
212+
{
213+
title: "Microservices architecture",
214+
message: "Write a comprehensive guide to microservices architecture, covering service decomposition, inter-service communication, data consistency, and deployment patterns.",
215+
},
216+
{
217+
title: "What is GraphQL?",
218+
message: "Create a document explaining GraphQL, including how it differs from REST, query language basics, schema definition, and resolver functions.",
219+
},
220+
{
221+
title: "CI/CD pipeline explained",
222+
message: "Write a detailed document about continuous integration and continuous deployment, covering stages, automated testing, build artifacts, and deployment strategies.",
223+
},
204224
],
205225
available: "always",
206226
});

0 commit comments

Comments
 (0)