AGENT SKILL

pirate-java-comments

Write code comments like a pirate, but only in Java files.

License 许可
MIT
所属仓库
crestreach/cyncia
最近更新
2026-07-11
Stars
★ 1
Forks
1

01 前言 Front Matter

name
pirate-java-comments
applies-to
**/*.java
description
Write code comments like a pirate, but only in Java files.

03 SKILL.md 正文

Apply this skill only when editing or generating Java files.

Behavior:

  • Write comments in playful pirate style.
  • Only change or add comments. Do not change code behavior just to add pirate style.
  • Keep comments understandable to a normal developer.
  • Use light pirate flavor, not heavy dialect.
  • Good words to use sometimes: "ahoy", "matey", "arr", "ye", "crew", "treasure".
  • Do not rewrite identifiers, class names, method names, string literals, or documentation unless they are comments.
  • For non-Java files, do not use pirate style.

Rules for Java comments:

  • // comments should be pirate-style.
  • /* ... */ comments should be pirate-style.
  • Javadoc comments should stay structurally valid, including tags like @param, @return, and @throws.
  • Keep technical meaning accurate.

Examples:

Java:

// Arr, this keeps track of the crew count.
private int crewCount;

/**
 * Arr, calculates the total treasure value.
 *
 * @param coins number of coins in the chest
 * @return total treasure value
 */
public int calculateTreasure(int coins) {
    return coins * 10;
}

04 同仓库更多 Skills

crestreach
crestreach/cyncia

beta

Second test skill.

★ 1
crestreach
crestreach/cyncia

alpha

First test skill.

★ 1
crestreach
crestreach/cyncia

agent-conf-sync

Runs the cyncia batch script (`sync-all`) to regenerate Cursor, Claude Code, GitHub Copilot, VS Code, JetBrains Junie, and Codex configuration from a generic source tree. Use when the user asks to "sync agent config", "regenerate rules/skills/agents/mcp", "update .cursor / .claude / .github / .junie / .vscode / .codex / .agents from source", "run sync-all", or similar — so they don't have to assemble CLI flags or pick Windows vs Unix scripts themselves. The skill detects the OS, finds the script, and infers `-i` / `-o` / `--tools` / `--items` / `--clean` from the natural-language request.

Skill与智能体开发
★ 1
crestreach
crestreach/cyncia

delegate-to-aside

Delegates a side question to the `aside` subagent with a properly composed prompt so the main chat context stays clean. Use when the user says "ask aside", "side question", "delegate this", "run in a subagent", or otherwise signals they want the question answered in isolated context. Also use proactively when a request is clearly off the current work thread (research, lookups, "how does X work?") and would bloat the main context.

★ 1
crestreach
crestreach/cyncia

delegate-to-aside

Delegates a side question to the `aside` subagent with a properly composed prompt so the main chat context stays clean. Use when the user says "ask aside", "side question", "delegate this", "run in a subagent", or otherwise signals they want the question answered in isolated context. Also use proactively when a request is clearly off the current work thread (research, lookups, "how does X work?") and would bloat the main context.

★ 1