This repository is the GitHub template repo for intel-agency: the substrate from which
each downstream instance is cloned to house a unique application plan and develop it. Any
other repo name is a clone instance seeded from this one.
-
PowerShell 7+ (
pwsh) — all scripts in this repo are written in cross-platform PowerShell. -
GitHub CLI (
gh) — authenticated withrepo,project, anduser:emailscopes. Verify with:gh auth status
-
Node.js (optional) — only needed to run
markdownlint-cli2for Markdown linting.
- Create a new repository from this template (or clone it).
- Ensure all environment variables are set in your shell.
- Read
AGENTS.md— the operating manual for AI agents working in this repo. - Consult
.agents/memory.mdfor project history and current state.
Environment variables are documented in docs/environment-variables.md.
Secrets are referenced as {env:VAR} patterns in .opencode/opencode.jsonc
and are never committed to the repository.
| Path | Description |
|---|---|
AGENTS.md |
Operating manual for AI agents (coding guidelines, validation, source control) |
.agents/memory.md |
Durable project context: current activity, completed work, decisions |
.agents/rules/ |
Coding conventions, tool usage, validation, and practices (one file per subject) |
.agents/skills/ |
Agent Skills (gh-issue-tracking-init, update-powershell-standard) |
docs/ |
Reference documentation including environment variables |
scripts/ |
GitHub CLI helpers: auth, label sync, PR review-thread management, index refresh |
local_ai_instruction_modules/ |
Workflow assignment and dynamic workflow lookup tables |
.opencode/ |
OpenCode agent definitions and runtime configuration |
The Pester test suite covers the gh-issue-tracking-init skill scripts:
Invoke-Pester -Path .agents/skills/gh-issue-tracking-init/scripts/tests -Output DetailedExpected result: 101 tests passing across three test files (GhIssueTracking,
SetProjectFields, AssertNoSecrets).
Markdown linting uses markdownlint-cli2 with configuration in .markdownlint.json.
Scope linting to changed files to avoid known pre-existing violations in
docs/plans/new templates/ and local_ai_instruction_modules/:
markdownlint-cli2 README.md .agents/memory.md- Create a new branch for each change using the form
<prefix>/<name>(e.g.dev/new-feature). - Run
/safe-commitbefore committing to scan for uncommitted secrets. - Pull requests must have a milestone and project set. See
.agents/rules/source-control.mdfor full details.
AGENTS.md— start here for agent operating instructions..agents/memory.md— project history and decisions..agents/rules/— detailed conventions for each subject area.