.agents/skills/apply-paper-to-project/SKILL.md
Apply validated research paper insights to the current project codebase — improving architecture, code patterns, testing strategies, documentation, or workflows based on empirical findings. Load when learn-from-paper routes insights to the current project, or when the user asks to apply paper findings to this project, improve this codebase with research, use this paper to improve my project, or apply research to my code. Also triggers on "apply this to my project", "how can this paper help my codebase", "use these findings here". Always called AFTER learn-from-paper has completed credibility and security checks — never ingests papers directly.
npx skillsauth add dvy1987/agent-loom apply-paper-to-projectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a research-to-practice engineer. You take validated, security-cleared insights from academic papers (provided by learn-from-paper) and apply them to the user's current project — improving real code, architecture, tests, and documentation based on empirical evidence. You never apply unvalidated findings.
learn-from-paper. If the user asks to apply a paper without running learn-from-paper first, invoke it.Accept the extracted insights from learn-from-paper (GOTCHAs, TECHNIQUEs, FAILURE_MODEs, METRICs). If not provided, ask the user to run learn-from-paper first or provide the paper — then invoke learn-from-paper and return here with the results.
Read the project context:
AGENTS.md — conventions, stack, architecturedocs/ — existing specs, ADRs, and design docsMap the project's current state: what patterns are used, what architecture decisions exist, what testing approach is in place.
For each extracted insight, assess applicability to THIS project:
| Insight type | Project application | |---|---| | GOTCHA | Does the project currently violate this? Flag specific files/patterns. | | TECHNIQUE | Can this improve an existing workflow, algorithm, or pattern? Where? | | FAILURE_MODE | Is the project vulnerable to this failure? What needs hardening? | | METRIC | Does this validate or invalidate a current project decision? |
Classify each as:
Present a structured plan to the user before making any changes:
═══ Project Improvement Plan (from: [paper title]) ═══
Directly Applicable:
1. [File/pattern] — [what changes] — [evidence from paper]
2. [File/pattern] — [what changes] — [evidence from paper]
Architecturally Relevant (requires discussion):
1. [Area] — [what the paper suggests] — [tradeoffs for this project]
Not Applicable:
- [Insight] — [why it doesn't fit this project]
Estimated scope: [N files, small/medium/large change]
Wait for user approval. User may approve all, select specific items, or reject.
For each approved change:
Batch wisely: if multiple insights affect the same file, apply them together. If they affect independent areas, apply sequentially and verify each.
For architecturally significant changes, offer to create an ADR via architectural-decision-log:
Decision: [what changed]
Context: [paper finding that motivated it]
Source: [paper citation]
After applying changes:
═══ Applied Research Insights ═══
Paper: [title] ([venue], [year])
Project: [project name/path]
Changes Applied:
1. [file:line] — [what changed] — [paper evidence]
2. [file:line] — [what changed] — [paper evidence]
Deferred (architecturally relevant, needs planning):
- [area] — [recommendation]
ADR created: [path or N/A]
Tests: [passed/failed/N/A]
Directly Applicable:
Not Applicable:
Estimated scope: 2 files, small change Approve? (all / select / reject) </output> </example> </examples>
In scope: Applying validated paper insights to code, architecture, tests, docs, and workflows in the current project.
Out of scope:
learn-from-paperlearn-from-paper Step 6code-review-crspAfter applying changes, append to docs/skill-outputs/SKILL-OUTPUTS.md:
| YYYY-MM-DD HH:MM | apply-paper-to-project | [files changed] | Applied [paper] insights: [summary] |
After completing, always report:
Paper applied: [title]
Project: [path]
Changes applied: [N]
Files modified: [list]
Deferred items: [N]
ADR created: [path or N/A]
Tests: [passed/failed/N/A]
development
Run a fast, read-only health check across all skills in the library and produce a structured quality report — without modifying anything. Load when the user asks to validate skills, check skill health, audit the library, run a skill quality check, or when improve-skills needs a pre-flight before starting its cycle. Also triggers on "what's wrong with my skills", "check all skills", "skill health report", "are my skills ok", or "pre-flight check". Called automatically by improve-skills before any improvement work begins, and by universal-skill-creator after every new skill is created. Never modifies any file — only reads and reports.
tools
Design, build, validate, and ship production-grade agent skills that work across OpenAI Codex, Ampcode, Factory.ai Droids, Google Gemini, Warp, Bolt.new, Replit, GitHub Copilot, Claude Code, VS Code, Cursor, and any agentskills.io compliant platform. Load when the user asks to create a skill, build a custom skill, write a SKILL.md, package instructions as a reusable agent capability, convert a workflow into a skill, improve or audit an existing SKILL.md, generate a meta-skill, make a cross-platform skill, turn a repeated task into automation, or design agent skills that target multiple AI coding tools simultaneously. Also load for skill stacking, skill scoping, skill discovery, parameterized skills, skill publishing to GitHub or skills.sh, or when the user says skill creator, skill architect, or skill engineer.
tools
Identify the right tool for a process step. Load when a user or skill needs to check tool availability, confirm CLI compatibility, or determine if an MCP server is needed. Triggers on "what tool", "do I need an MCP", "is [tool] available", "which tool handles", "tool lookup", "check tool availability", "find a tool for". Called by process-decomposer and agent-builder when assigning tools to steps.
development
Apply the Red-Green-Refactor cycle to software development. Load when the user asks to write code using TDD, create unit tests, implement a feature with test coverage, refactor code, or ensure software quality through automated testing. Also triggers on "test-driven development", "write tests first", "TDD this feature", "Red-Green-Refactor", "ensure 100% test coverage", or any request to build software with a test-first approach. Supports unit, integration, and end-to-end testing strategies.