| name | jj-atomic-workflow |
|---|---|
| description | Guide for atomic change workflow with jj and single-phrase test |
See core-commands skill for prohibited commands and temp file pattern.
| diff --git a/Makefile b/Makefile | |
| index 99ecb0b..b414af3 100644 | |
| --- a/Makefile | |
| +++ b/Makefile | |
| @@ -97,7 +97,7 @@ GO_VERSION ?= 1.26 | |
| # renovate: datasource=npm depName=markdownlint-cli | |
| MARKDOWNLINTCLI_VERSION ?= 0.48.0 | |
| OPERATING_SYSTEM := $(shell uname -s | tr "[:upper:]" "[:lower:]") | |
| -ARCH := $(shell uname -m | sed 's/x86_64/amd64/' | sed 's/aarch64/arm64/') | |
| +ARCH := amd64 |
| { | |
| "$schema": "https://opencode.ai/config.json", | |
| "model": "google-vertex/zai-org/glm-5-maas", | |
| "provider": { | |
| "google-vertex": { | |
| "models": { | |
| "zai-org/glm-5-maas": { | |
| "name": "GLM-5", | |
| "provider": { | |
| "npm": "@ai-sdk/openai-compatible", |
| block return # block stateless traffic | |
| pass # establish keep-state | |
| pass in quick on $int_if | |
| match out on $ext_if inet from $int_if:network to any nat-to $ext_if | |
| pass out on $ext_if from $int_if:network to any |
| package main | |
| import ( | |
| "fmt" | |
| "strconv" | |
| ) | |
| // An interface lets you avoid dealing directly with concrete types. | |
| type i0 interface { | |
| plus1() int |
| theme = "aura-dark" | |
| # theme = "kanagawa" | |
| # theme = "base16_transparent" | |
| # theme = "tokyonight" | |
| [editor] | |
| cursorline = true | |
| line-number = "relative" | |
| [editor.lsp] |
| You will be analyzing a git diff and generating a well-structured commit message following conventional commit guidelines. | |
| Here is the git diff to analyze: | |
| <git_diff> | |
| </git_diff> | |
| Here is additional context about the change: | |
| <context> |
| TLDR; | |
| git clone https://github.com/libimobiledevice/idevicerestore | |
| mkdir -p limd-build | |
| cd limd-build | |
| curl -o ./limd-build-macos.sh -L https://is.gd/limdmacos | |
| bash ./limd-build-macos.sh | |
| Manual build |
| [Interface] | |
| Address = # e.g. 10.20.10.2/24 | |
| ListenPort = 33333 | |
| DNS = 8.8.8.8 | |
| PrivateKey = # ... | |
| [Peer] | |
| PublicKey = # server.conf public key | |
| Endpoint = # server IP:PORT | |
| AllowedIPs = # e.g. 10.20.10.0/24 or 0.0.0.0/0 |