Skip to content

Instantly share code, notes, and snippets.

View lukas-zech-software's full-sized avatar

Lukas Zech lukas-zech-software

  • Lukas Zech Software
  • Augsburg
View GitHub Profile

CLAUDE.md

Behavioral guidelines to reduce common LLM coding mistakes. Merge with project-specific instructions as needed.

Tradeoff: These guidelines bias toward caution over speed. For trivial tasks, use judgment.

1. Think Before Coding

Don't assume. Don't hide confusion. Surface tradeoffs.

Design Spec: E2E Testing Platform (e2e-platform)

Date: 2026-03-18 Status: Draft Project: apps/e2e-platform/

Purpose

A dedicated, standalone Nx project that serves as the central E2E testing platform for the entire portal monorepo. It tests deployed services as black boxes — no application code is imported, no services are started in-process. Playwright is the sole test framework for API tests, browser-based frontend tests, and combined integration tests.

@lukas-zech-software
lukas-zech-software / circular.js
Last active July 9, 2019 11:04
Detect circular references in objects
// http://blog.vjeux.com/2011/javascript/cyclic-object-detection.html.
function isCyclic (obj) {
var seenObjects = [];
function detect (obj) {
if (obj && typeof obj === 'object') {
if (seenObjects.indexOf(obj) !== -1) {
return true;
}
seenObjects.push(obj);
@lukas-zech-software
lukas-zech-software / GeoCodingService.ts
Last active April 9, 2021 21:56
Typescript Definitions for official GoogleMaps API for Node.js (https://github.com/googlemaps/google-maps-services-js)
import { createClient, GoogleMapsClient } from '@google/maps';
export class GeoCodingService {
private geoCoder: GoogleMapsClient;
public constructor() {
this.geoCoder = createClient({
key: 'YOUR-API-KEY',
});