Skip to content
Back to skills

Wiki First Query

ASecurity

Wiki-first query convention: consult knowledge/wiki/index.md and the linked pages BEFORE re-reading raw sources for a project topic. The wiki is the canonical project memory layer.

  • 10 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 23, 2026
ai-agentsbashbackend

Works with

  • claude code

Security analysis

A100/100

Scanned November 23, 2026

npx -y skills add gosha70/code-copilot-team --skill wiki-first-query --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Wiki First Query?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Wiki First Query
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gosha70-wiki-first-query/badge)](https://www.skillsdirectory.com/skills/gosha70-wiki-first-query)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: wiki-first-query
description: "Wiki-first query convention: consult knowledge/wiki/index.md and the linked pages BEFORE re-reading raw sources for a project topic. The wiki is the canonical project memory layer."
---

# Wiki-First Query Convention

This project maintains a curated knowledge layer at
`knowledge/wiki/`. It is the canonical home for durable project
knowledge — concepts, workflows, incidents, decisions, playbooks,
glossary entries, and known open questions. Every page is cited
back to a raw source.

## The convention

When you start work on a topic that touches this project's domain
(SDD workflow, peer review, adapter generation, agent safety,
shape-up cycles, etc.), **consult the wiki first**:

1. Read `knowledge/wiki/index.md` (repo-relative path) to find
   pages relevant to your topic.
2. Follow the links into `concepts/`, `workflows/`, `incidents/`,
   `decisions/`, `playbooks/`, or `glossary/` as relevant.
3. Treat what you find there as the project's current best
   understanding. Each page lists its sources in frontmatter; if
   you need deeper detail, follow those citations.

Only after consulting the wiki should you fall back to raw
sources (specs, issues, PRs, code) for the same topic. The wiki
exists so that you do not re-discover the same context every
session.

These are direct file reads. The convention never runs `wiki query`
or `wiki find`: those are engine operations that call a configured
backend (a model, with its cost) and belong to a separate, deliberate
workflow (`./scripts/wiki query "<question>"`), not to reading the
wiki first.

## When the wiki is silent or stale

If the wiki has nothing on the topic, or what it has is clearly
out of date with the current code:

1. Do the raw research yourself.
2. If what you learn is reusable beyond this session, **propose
   a promotion** by following the procedure in
   `knowledge/wiki/workflows/promote-lesson-to-wiki.md`
   (repo-relative path).
3. Do not silently fix wiki content as a side effect of other
   work — wiki edits are intentional, single-purpose changes.

In Claude Code, the `/promote-lesson <description>` slash command
runs the promotion workflow on your behalf. Other adapters can
follow the workflow document directly. Its final lint runs
wiki-studio 0.9.0 through `./scripts/wiki lint` from a CCT checkout
(`bash scripts/setup-wiki.sh` installs it); a plugin-only install
provides the package itself and checks the version before linting.

## What this convention does NOT do

- It does not require you to read every wiki page on every
  invocation. Read the index, then drill into what is relevant.
- It does not replace the SDD spec workflow. Specs still own
  feature requirements; the wiki holds knowledge that outlives
  any one feature.
- It does not replace session memory. Memory holds session
  ephemera; the wiki holds what survives.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.