brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
software-architecture-overviewProvides a comprehensive understanding of modern software architecture patterns, including microservices, serverless, and event-driven architectures.
Independent GitHub snapshot · Automated classification · Original documentation governs
name: software-architecture-overview description: Provides a comprehensive understanding of modern software architecture patterns, including microservices, serverless, and event-driven architectures. license: MIT compatibility: opencode metadata: version: "1.0.0" domain: software triggers: microservices, serverless, event-driven, architecture patterns, scalability, software design role: implementation scope: implementation output-format: code related-skills: software-development-lifecycle, software-testing-best-practices archetypes: tactical anti_triggers: monolithic, legacy response_profile: { verbosity: high, directive_strength: high, abstraction_level: tactical }
This skill provides a detailed look into various modern software architecture patterns that are crucial for the design and implementation of scalable and efficient software solutions in today’s cloud-native world.
Identify System Requirements
Understand the requirements and constraints of the application, including scalability, performance, and reliability needs.
Design Microservices
Decompose the application into microservices based on business capabilities. Define service boundaries, data ownership, and communication protocols.
Implement Service Discovery
Use tools like Spring Cloud or Eureka to handle service registration and discovery.
Deploy Using Containerization
Containerize microservices using Docker and orchestrate them using Kubernetes. Here's an example of a simple deployment using Docker:
version: '3'
services:
user-service:
image: user-service:latest
ports:
- "8080:8080"
order-service:
image: order-service:latest
ports:
- "8081:8081"
import json
def lambda_handler(event, context):
return {
'statusCode': 200,
'body': json.dumps('Hello from Lambda!')
}
const { PubSub } = require('@google-cloud/pubsub');
const pubsub = new PubSub();
exports.processOrder = (message, context) => {
const orderData = Buffer.from(message.data, 'base64').toString();
console.log(`Processing order: ${orderData}`);
};
Authoritative documentation links for this skill's domain. The model follows markdown links to resolve external references and inline content.