Ultimate resource for extending Claude Code with custom skills, specialized agents, slash commands, and professional utilities
Last Updated: October 28, 2025 | Author: Alireza Rezvani | License: MIT
Ultimate resource for extending Claude Code with custom skills, specialized agents, slash commands, and professional utilities
Last Updated: October 28, 2025 | Author: Alireza Rezvani | License: MIT
| using System; | |
| using System.Collections.Generic; | |
| using HotChocolate; | |
| using HotChocolate.Execution; | |
| using HotChocolate.Execution.Instrumentation; | |
| using HotChocolate.Resolvers; | |
| using Microsoft.Extensions.Logging; | |
| namespace MyCompany.GraphQL.Execution.Instrumentation | |
| { |
This code is extracted from one of my private projects as an example of how to implement encryption of PII in event streams using two keys: a master key for each "data subject" that is stored in Vault and never transported to the systems that process the PII, and a key unique to each event that is stored (itself encrypted) with the event.
To be clear, the key that is stored with the data is encrypted by another key that is not stored with the data. The idea is that each "data subject" has an encryption key that is stored in Vault (external). When you encrypt data, the library will:
| provider "aws" { | |
| region = "${var.region}" | |
| } | |
| ### VPC | |
| # Fetch AZs in the current region | |
| data "aws_availability_zones" "available" {} | |
| resource "aws_vpc" "datastore" { | |
| cidr_block = "172.17.0.0/16" |
| // FP Lenses | |
| const lens = get => set => ({ get, set }); | |
| const view = lens => obj => lens.get(obj); | |
| const set = lens => val => obj => lens.set(val)(obj); | |
| const over = lens => fn => obj => set(lens)(fn(view(lens)(obj)))(obj); | |
| const lensProp = key => lens(prop(key))(assoc(key)); |
| // | |
| // See https://github.com/louthy/language-ext | |
| // | |
| using System; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Threading.Tasks; | |
| using LanguageExt; | |
| using static LanguageExt.Prelude; |
| (* | |
| Example of domain-driven design for Checkers | |
| Rules from here: https://www.itsyourturn.com/t_helptopic2030.html | |
| A SERIES OF SCRATCH DESIGNS | |
| *) | |
| // As we go through the rules, and learn things, we create a series of designs | |
| module Version1 = |