Skip to content

Instantly share code, notes, and snippets.

View terranc's full-sized avatar

Terran terranc

View GitHub Profile

构建 Claude Skills 完整指南(中文翻译)

说明:本文为用户提供的《The Complete Guide to Building Skills for Claude》非官方中文翻译稿,尽量忠实原意并保留结构与示例。少量专有名词(Skill / MCP / Claude Code 等)保留英文以避免歧义。


目录

  • 引言
  • 第 1 章 基础
@terranc
terranc / CountryCodes.json
Created February 17, 2023 14:13 — forked from anubhavshrimal/CountryCodes.json
Country and Dial or Phone codes in JSON format
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
https://press.one/p/v?s=66535a31f70dbfaf8214c15bdfb26fbc8792020327cecf08dd3da393bc461f3a525ffa3c4301d92ed9fe338dcd54babe1a1f050c46e882bef92304cdab3a405301&h=8a6987326ab4c6d8b0dba78a79de89d03343f9a1ef96ca25b95a68c35fa6b6cf&a=d2abc417bc8f203f8e211a83f300e327ed345531&f=P1&v=3
@terranc
terranc / UrlPresenter.php
Created April 22, 2018 15:08
Laravel url presenter
<?php
namespace App\Presenters\User;
use App\User;
class UrlPresenter {
protected $user;
@terranc
terranc / uri.js
Last active June 5, 2017 20:07 — forked from jlong/uri.js
URI Parsing with Javascript
var parser = document.createElement('a');
parser.href = "http://example.com:3000/pathname/?search=test#hash";
parser.protocol; // => "http:"
parser.hostname; // => "example.com"
parser.port; // => "3000"
parser.pathname; // => "/pathname/"
parser.search; // => "?search=test"
parser.hash; // => "#hash"
parser.host; // => "example.com:3000"
#!/bin/sh
# see https://help.github.com/articles/changing-author-info/
git filter-branch --env-filter '
OLD_EMAIL=(
"your-old-email@example.com"
"your-git-email@users.noreply.github.com"
)
CORRECT_NAME="Your Correct Name"
@terranc
terranc / git-mirror-sync.sh
Created August 10, 2016 15:13
同步两个git库
#!/bin/sh
GIT_REPO=/mnt/www/github_tmp_repo
##GITLab
GIT="xxx.git"
GITLAB_GROUP="xxx"
GITLAB_GIT="git@git.xxx.io:${GITLAB_GROUP}/${GIT}"
#GITHub
GITHUB_ORG="xxxx"