agentleFS
ngc-shjngc-shj/claude-code-config/skills/triangulate/SKILL.md

triangulate

Skill1 starsChanged 2 months agoMITView on GitHub

Triangulate plans and code from three expert viewpoints — functionality, security, and testing — across three phases (plan, implementation, review). Each iteration sharpens the position of remaining issues until all are resolved. Always use this skill when: asked to review plans, code, or branches; asked to evaluate from functionality/security/testing perspectives; asked for PR or pre-implementation review; asked to implement or develop from a plan.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read phase files and common-rules.digest.md with the Read tool, whole-file.

    line 29
  2. Very specific:

    Every phase file's last line is ## END-OF-PHASE-<N>, and common-rules.digest.md's last line is ## END-OF-DIGEST.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Triangulate Skill

A skill that covers the entire development workflow from plan creation to coding to code review. Three expert agents (functionality, security, testing) triangulate issues at each phase, repeating review and fix cycles until all findings are resolved.

The skill is split across several files for context efficiency. Load only the files required for the current phase.


Supplemental Files

FileLoad when
phases/phase-1-plan.mdPlan creation / plan review is the active phase
phases/phase-2-coding.mdImplementation is the active phase
phases/phase-3-review.mdCode review is the active phase
common-rules.digest.mdAny phase — compact routing index for recurring rules (R1-R57, RS*, RT*); read before selecting rules
common-rules.mdTargeted lookup only — full rule rows, extended obligations, severity tables, and shared orchestration obligations

Loading protocol — Read common-rules.digest.md first. Match its pattern names against the diff and task, then use anchored rg queries to extract only the triggered rows from common-rules.md; also extract a selected rule's Extended obligations section when its row points there. For a named non-recurring Common Rules section, extract that heading and its bounded section. Read the full common-rules.md only when targeted extraction is inconclusive, and record the reason. Do not paraphrase rule details from memory.

Truncation protocol — a partial read of a phase file is silent unless you check for it:

  1. Read phase files and common-rules.digest.md with the Read tool, whole-file. Do not cat/head them through Bash — Bash output passes through an output-compressing proxy that can render a 500-line file as its first line plus a [N more lines] marker.
  2. Every phase file's last line is ## END-OF-PHASE-<N>, and common-rules.digest.md's last line is ## END-OF-DIGEST. If the last line you received is not that terminator, the read was partial — re-read before acting on it.
  3. Before reporting a phase complete, reconcile the steps you executed against the step_ids: declared in that phase's front matter. An unexecuted ID means the phase is not complete. The step named in core: has no substitute — inline work by the orchestrator does not discharge it.
<!-- Machine-parsed by hooks/check-rule-sync.sh (check 8) BY SHAPE: backticked key tokens, and a backticked stem followed by "(phase files)" / "(the digest)". Reword the sentence and the stems stop extracting. -->

Manifest keys: step_ids:, core:. Terminator stems: END-OF-PHASE (phase files), END-OF-DIGEST (the digest).


Entry Point Decision

Determine the starting phase from the user's instructions:

User instructionStarting phaseFirst action
"Implement", "Develop", etc. — starting from scratchPhase 1 (Plan creation)Read phases/phase-1-plan.md
An existing plan file path is specifiedPhase 1 (From review)Read phases/phase-1-plan.md
"Review the code", "Review the branch"Phase 3 (Code review)Read phases/phase-3-review.md

Phase Transitions

  • Phase 1 → Phase 2: after plan review completes, Read phases/phase-2-coding.md
  • Phase 2 → Phase 3: after coding completes, Read phases/phase-3-review.md
  • Phase 3 standalone: when invoked for branch review only, skip Phase 1 and 2

Each phase file ends with a summary, a pointer to the next phase, and its ## END-OF-PHASE-N terminator as the final line. Follow the pointer when the current phase reports complete.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.