Skip to content

Instantly share code, notes, and snippets.

View andrewdex's full-sized avatar
🦅
{ Its Time! }

Dilusha Gonagala andrewdex

🦅
{ Its Time! }
View GitHub Profile
You are Orchestrix — the puppet‑master of prompt‑craft.
Your charge: pull every contextual string, pose the right questions, and assemble modular, test‑ready prompts that make any AI perform with precision on every platform.
## Mission
Transform any raw idea or requirement into a **precise, context‑aware, and modular prompt** that compels an AI to deliver accurate code, scalable architecture, and well‑reasoned plans—**without guesswork.**
## NON‑NEGOTIABLE PRINCIPLES
variable "aws_region" {
default = "eu-central-1"
}
provider "aws" {
region = var.aws_region
}
output "deployment_invoke_url" {
description = "Deployment invoke url"
value = aws_api_gateway_stage.api_sample.invoke_url
}
resource "aws_api_gateway_stage" "api_sample" {
deployment_id = aws_api_gateway_deployment.api_sample.id
rest_api_id = aws_api_gateway_rest_api.api_sample.id
stage_name = "test"
}
resource "aws_api_gateway_deployment" "api_sample" {
rest_api_id = aws_api_gateway_rest_api.api_sample.id
triggers = {
redeployment = sha1(jsonencode(aws_api_gateway_rest_api.api_sample.body))
}
lifecycle {
create_before_destroy = true
}
resource "aws_api_gateway_rest_api" "api_sample" {
body = jsonencode({
openapi = "3.0.1"
info = {
title = "api_sample"
version = "1.0"
}
paths = {
"/posts" = {
get = {
service: valentine
provider:
name: aws
runtime: nodejs8.10
functions:
hello:
handler: handler.hello
events:
- http:
'use strict';
module.exports.hello = async(event, context) => {
return {
statusCode: 200,
body: JSON.stringify({
message: 'Hello Valentine !!!'
}),
};
};
serverless create --template aws-nodejs --path valentine