Skip to content

Instantly share code, notes, and snippets.

@chinlung
chinlung / SuperClaude_Manual.md
Created July 22, 2025 15:10 — forked from philipz/SuperClaude_Manual.md
SuperClaude 企業級使用手冊

SuperClaude 企業級使用手冊

SuperClaude v3.0.0.1 是一個革命性的 Claude Code 配置框架,將通用 AI 助手轉變為專業的企業級開發夥伴。該框架通過 16 個專業化命令、9 個認知角色和 70% 的 Token 優化,已為 6,500+ 開發者提供了結構化、高效的 AI 輔助開發解決方案。

從技術架構師的角度分析,SuperClaude 解決了企業級開發中的三大核心挑戰:AI 助手缺乏專業化、開發工作流程標準化困難,以及 Token 成本過高。通過證據驅動的方法論和模塊化設計,它為現代軟體開發提供了可擴展、可維護的 AI 輔助框架。

⚠️ 從 v2 升級?重要提示!

如果您是從 SuperClaude v2 升級,請注意以下關鍵變化:

  1. 徹底清理舊檔案:請手動刪除以下可能存在的文件和目錄,以避免衝突:
  • SuperClaude/ (舊的專案根目錄)
@chinlung
chinlung / CLAUDE.md
Created July 13, 2025 06:23
CLAUDE TDD 定義範例

From: https://github.com/KentBeck/BPlusTree3/blob/main/rust/docs/CLAUDE.md

Always follow the instructions in plan.md. When I say "go", find the next unmarked test in plan.md, implement the test, then implement only enough code to make that test pass.

ROLE AND EXPERTISE

You are a senior software engineer who follows Kent Beck's Test-Driven Development (TDD) and Tidy First principles. Your purpose is to guide development following these methodologies precisely.

CORE DEVELOPMENT PRINCIPLES

@chinlung
chinlung / 4.1.chatmode.md
Created June 27, 2025 09:58 — forked from burkeholland/4.1.chatmode.md
4.1 Custom Mode - Reddit

SYSTEM PROMPT — GPT-4.1 Coding Agent (VS Code Tools Edition)

You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.

Work using a todo list

You MUST manage your progress using a Todo List.

Follow these steps:

@chinlung
chinlung / pullall.sh
Created March 13, 2025 00:53
這個腳本會自動處理所有本地分支的更新,並在遇到衝突時跳過該分支
#!/bin/bash
# 獲取遠端倉庫的最新數據
git fetch origin
# 記錄當前分支
current_branch=$(git rev-parse --abbrev-ref HEAD)
# 檢查是否有未提交的更改,並暫存
stashed=false
@chinlung
chinlung / gnupg_scdaemon.md
Created May 16, 2024 05:21 — forked from artizirk/gnupg_scdaemon.md
OpenPGP SSH access with Yubikey and GnuPG

NB: This document describles a 'Old-School' way of using Yubikey with SSH

Modern OpenSSH has native support for FIDO Authentication. Its much simpler and should also be more stable with less moving parts. OpenSSH also now has support for signing arbitary files witch can be used as replacement of gnupg. Git also supports signing commits/tags with ssh keys.

Pros of FIDO

  • Simpler stack / less moving parts
  • Works directly with ssh, ssh-add and ssh-keygen on most computers
  • Simpler
  • Private key can never leave the FIDO device

Cons of FIDO

@chinlung
chinlung / AuthyToOtherAuthenticator.md
Created April 30, 2024 14:49 — forked from gboudreau/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@chinlung
chinlung / README-setup-tunnel-as-systemd-service.md
Created April 30, 2024 01:32 — forked from drmalex07/README-setup-tunnel-as-systemd-service.md
Setup a secure (SSH) tunnel as a systemd service. #systemd #ssh #ssh-tunnel #ssh-forward

README

Create a template service file at /etc/systemd/system/[email protected]. The template parameter will correspond to the name of target host:

[Unit]
Description=Setup a secure tunnel to %I
After=network.target
@chinlung
chinlung / README.md
Created November 24, 2023 08:14 — forked from 756445638/README.md
Install Samba on Mac OS X

Install Samba 3 on OS X 10.7 Lion

Run the two commands below one at a time to get Samba 3 installed and to have it run on boot.

Install Samba with Homebrew

brew install samba

Set Samba up to launch on boot

@chinlung
chinlung / keys.txt
Created July 18, 2023 05:38 — forked from f0r34chb3t4/keys.txt
Proxifier.txt
Portable Version KEYS:
P6Z3T-UYJC9-YAK3F-APN9M-6ZDSD
FGZPK-93CWX-Q33Y6-D5URV-YXC3X
9CZQX-9YAQA-PF33L-XVUQH-NSD48
8RZ3L-H3Y5L-W2RY5-Z5M8N-C7Z2U
CCZNU-LW3LF-K9V2T-MYZFF-94667
EWZM6-3W4UX-KH922-C96GK-VGBH2
Standard Version KEYS:
4AZNW-S2YHE-LLMWM-J6EL8-7QKDL
@chinlung
chinlung / session-timeout-alert-after-livewire-scripts.blade.php
Created May 31, 2022 06:37 — forked from tanthammar/session-timeout-alert-after-livewire-scripts.blade.php
Laravel Livewire Turbolinks Blade component to keep session alive
{{-- You do not need to add this component if you are using the permanent option in the head component --}}
<script>
if (!window.sessionTimerPermanent && window.Livewire) {
window.livewire.hook('afterDomUpdate', startSessionTimer)
}
// if you are on livewire > 1.3.1 and want to avoid the default error alert
// https://github.com/livewire/livewire/pull/1146
window.livewire.onError(statusCode => {
if (statusCode === 419) {