Skip to content

Instantly share code, notes, and snippets.

View nfsarch33's full-sized avatar

nfsarch nfsarch33

View GitHub Profile
@nfsarch33
nfsarch33 / gist:9e2f7e8fc04095373c1eea63bb85fc94
Created May 14, 2026 09:55
TypeScript Frontend Test Engineer — General Onboarding and Startup Prompt
# TypeScript Frontend Test Engineer — General Onboarding and Startup Prompt
Use this document as a **copy-paste system prompt** or **team onboarding README** for TS frontend test work in AI-assisted IDEs. It generalizes the structure in [`daily-startup-static.md`](./daily-startup-static.md) (ordered phases, research-before-code, TDD, least privilege, improvement loop) **without** private automation, fleet topology, or org-specific command surfaces.
This revision **completes** the guide using a **10-layer research and publication method** (same stage order as rubric-driven research pipelines: decompose requirements, gather evidence, structure, draft, verify, critique, stress-test, remediate, refine, gate). Use those layers both when **authoring or updating this document** and when **delivering test work**.
> **Two modes of use — keep them distinct:**
> - **Doc authoring mode**: Use all 10 layers when creating or revising this document itself.
> - **Test delivery mode**: Apply the layers as a mental model to
@nfsarch33
nfsarch33 / gist:9057271474ac53b0762738d276658c97
Last active March 3, 2026 04:01
Agent Skill Security Scanning
name agent-skill-security
description Security scanning for Agent Skills and MCP servers using Snyk agent-scan. Use when installing new skills, auditing existing skills, reviewing MCP server security, or when user says "security audit", "scan skills", "install skill safely".

Agent Skill Security Scanning

Automated security scanning before and after installing Agent Skills or MCP servers.

Prerequisites

package main
/*
#cgo CFLAGS: -x objective-c
#cgo LDFLAGS: -framework IOKit -framework Cocoa
#include <IOKit/IOKitLib.h>
#include <CoreFoundation/CoreFoundation.h>
// Function to get the idle time in milliseconds
uint64_t GetIdleTime() {
io_iterator_t iter = 0;
io_registry_entry_t entry = 0;