Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/skills/paperkit-defaults/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: paperkit-defaults
description: Apply default PaperKit workflow settings like citation style, output folders, and document class.
---

## Defaults
Use these defaults unless the user specifies otherwise:

- Citation style: harvard
- Document class: article
- Target audience: academic
- Standards flexibility: pragmatic

## Paths
Assume these default paths (relative to project root):

- Paper folder: .paper
- Output folder: .paperkit/data
- LaTeX folder: latex
- Planning folder: planning

## Usage notes
If a request conflicts with these defaults, prioritize the user's instruction and call out the override.
28 changes: 28 additions & 0 deletions .github/skills/paperkit-routing/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: paperkit-routing
description: Route PaperKit requests to the right agent module using the orchestrator tie-break rules.
---

## Purpose
Use this skill when a request needs routing to a single PaperKit agent.

## Routing rules
Select exactly one agent and do not perform the task yourself. Use these tie-break rules:

- "peer reviewed / cited by / discredited / provenance / credibility" -> librarian
- "help me understand / explain / distil / teach" -> tutor
- "derive / implement / debug / algorithm / model" -> problem-solver
- "harvard / bibtex / biblatex / biber / citations / doi" -> reference-manager
- "latex compile / .tex error / package / build log" -> latex-assembler
- "outline / structure / argument flow" -> paper-architect
- "draft section / write introduction/methods/related work" -> section-drafter
- "polish / rewrite / tighten" -> quality-refiner
- "synthesize / summarize / consolidate" -> research-consolidator
- "brainstorm / ideate / suggest" -> brainstorm
- otherwise: research-consolidator
Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fallback rule differs from the source of truth in orchestrator.md. The orchestrator specifies "otherwise: research-consolidator (if synthesis) or brainstorm (if ideation)", but this skill unconditionally routes to research-consolidator. Consider either matching the orchestrator's nuanced fallback or documenting why the simplification was chosen.

Suggested change
- otherwise: research-consolidator
- otherwise: research-consolidator (if synthesis) or brainstorm (if ideation)

Copilot uses AI. Check for mistakes.

## Output requirements
When routing:
- Choose exactly one agent.
- Ask a clarifying question only when required inputs are missing.
- Do not fabricate citations, sources, quotes, or attribution.
20 changes: 20 additions & 0 deletions .paperkit/docs/skills.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# PaperKit Agent Skills

PaperKit exposes Copilot Agent Skills to make routing and defaults discoverable in tools that support skill injection.

## Skills included

### paperkit-routing
Use for routing PaperKit requests to a single agent based on the orchestrator tie-break rules.

Source of truth:
- [.paperkit/core/agents/orchestrator.md](../core/agents/orchestrator.md)

### paperkit-defaults
Use to apply PaperKit workflow defaults like citation style, output folders, and document class.

Source of truth:
- [.paperkit/core/config.yaml](../core/config.yaml)

## Locations
Project skills are located under `.github/skills/`.