Skip to content

Instantly share code, notes, and snippets.

View nicksteffens's full-sized avatar

Nick Steffens nicksteffens

View GitHub Profile
@nicksteffens
nicksteffens / config.json
Created March 25, 2026 20:29
git-ai self-hosted config — scoped to movableink org repos only
{
"git_path": "/usr/bin/git",
"api_base_url": "https://git-ai.k8s.misrv.net",
"allow_repositories": [
"https://github.com/movableink/*",
"*@github.com:movableink/*"
]
}
@nicksteffens
nicksteffens / pr_merge_audit.py
Created March 17, 2026 16:00
PR time-to-merge audit script - analyzes merge velocity by author and PR size
#!/usr/bin/env python3
"""
PR Time-to-Merge Audit
Analyzes merged PR data from GitHub CLI JSON output.
Usage:
gh pr list --repo ORG/REPO --state merged --limit 500 \
--json number,author,createdAt,mergedAt,additions,deletions,changedFiles,title \
> prs.json
python3 pr_merge_audit.py prs.json
@nicksteffens
nicksteffens / commit_audit.py
Created March 17, 2026 15:20
Git commit audit script - analyzes commit message quality by author
import sys
import re
from collections import Counter
CONVENTIONAL_RE = re.compile(
r'^(feat|fix|docs|style|refactor|test|chore|perf|ci|build|revert)(\(.+?\))?!?:\s'
)
BAD_PATTERNS = {
'too_short': lambda s: len(s.strip()) <= 10,
@nicksteffens
nicksteffens / hogwarts-claude-instructions.md
Created August 15, 2025 19:53
Claude Development Instructions for Hogwarts Package - Ember.js Data Sources Management App

Claude Local Instructions - Hogwarts

Application Overview

Hogwarts is an Ember.js v3.28.6 application for Data Sources creation and management. It provides the UI for connecting Intelligent Content to various client data sources.

Development Rules

Package Manager

  • Always use yarn (configured via volta in root package.json)
  • Never use npm commands in this workspace
@nicksteffens
nicksteffens / github-workflow.md
Last active August 28, 2025 15:29
Claude Code: GitHub CLI-First Workflow with Safety Checks
@nicksteffens
nicksteffens / commit-conventional.md
Last active August 28, 2025 15:29
Claude Code: Conventional Commit Workflow with Co-Authors
@nicksteffens
nicksteffens / daily-log.md
Last active August 28, 2025 15:27
Claude Code: Daily Log Update Workflow
@nicksteffens
nicksteffens / branch-create.md
Last active August 28, 2025 15:29
Claude Code: Feature Branch Creation Workflow
@nicksteffens
nicksteffens / repo-assess.md
Last active August 28, 2025 15:29
Claude Code: Repository Assessment Workflow
@nicksteffens
nicksteffens / CLAUDE_RULES.md
Last active August 28, 2025 16:18
Claude Development Rules for Movable Ink