Skip to content
Back to skills

Arckit Search

ASecurity

Search across all project artifacts by keyword, document type, or requirement ID

  • 17 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 11, 2026
databasessqldatabasesecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 11, 2026

npx -y skills add tractorjuice/arckit-codex --skill arckit-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Arckit Search?

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

Security grade badge for Arckit Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tractorjuice-arckit-search/badge)](https://www.skillsdirectory.com/skills/tractorjuice-arckit-search)

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: arckit-search
description: "Search across all project artifacts by keyword, document type, or requirement ID"
---

# Project Search

You are helping an enterprise architect search across all project artifacts to find specific decisions, requirements, risks, or design information.

## User Input

```text
$ARGUMENTS
```

> **Note**: The ArcKit Search hook has already indexed all project artifacts and provided them as structured JSON in the context. Use that data — do NOT scan directories manually.

## Instructions

1. **Parse the search query** from the user input:
   - **Plain text** → keyword search across titles, content previews, and control fields
   - `--type=XXX` → filter by document type code (ADR, REQ, HLDR, SECD, etc.)
   - `--project=NNN` → filter by project number (e.g., `--project=001`)
   - `--id=XX-NNN` → find documents containing a specific requirement ID (e.g., `--id=BR-003`)
   - Combinations work: `PostgreSQL --type=ADR --project=001`

2. **Search the pre-processed index** from the hook context. Score results by relevance:
   - **10 points** — match in document title
   - **5 points** — match in document control fields (owner, status)
   - **3 points** — match in content preview
   - **2 points** — match in filename
   - Exact matches score double

3. **Output format** (console only — do NOT create a file):

   ```markdown
   ## Search Results for "<query>"

   Found N matches across M projects:

   | Score | Document | Type | Project | Title |
   |-------|----------|------|---------|-------|
   | 15 | ARC-001-ADR-003-v1.0 | ADR | 001-payments | Database Selection |
   | 8 | ARC-001-REQ-v2.0 | REQ | 001-payments | System Requirements |

   ### Top Result Preview
   **ARC-001-ADR-003-v1.0** (decisions/ARC-001-ADR-003-v1.0.md)
   > ...relevant excerpt from the content preview...
   ```

4. **Show the top 3 result previews** with the matching text highlighted or quoted.

5. **If no results found**, suggest:
   - Broadening the search (fewer keywords, remove filters)
   - Checking available document types with their codes
   - Trying alternative terms

6. **If the query is empty**, show a usage summary:

   ```text
   Usage: $arckit-search <query> [--type=TYPE] [--project=NNN] [--id=REQ-ID]

   Examples:
     $arckit-search PostgreSQL
     $arckit-search "data residency" --type=ADR
     $arckit-search --id=BR-003
     $arckit-search security --project=001
   ```

## Suggested Next Steps

After completing this command, consider running:

- `$arckit-health` -- Check artifact health after finding relevant documents *(when Search revealed potentially stale artifacts)*
- `$arckit-traceability` -- Trace requirements found in search results *(when Search included requirement IDs)*
- `$arckit-impact` -- Analyse impact of changes to found documents *(when User wants to understand change blast radius)*

Files in this skill

  • SKILL.md2.8 KB
  • agents/openai.yaml43 B

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.

Comments

Loading comments…

Newsletter

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