Add reference

From juice-shop/juice-shop · View interactive version

Add reference is an AI agent skill from the GitHub repository juice-shop/juice-shop. Instructions for adding new blog posts, talks, or other references to REFERENCES.md

How to use this skill

Skill file

Skill: Adding a new Reference to REFERENCES.md

This skill provides instructions for analyzing a new reference (blog post, podcast, conference talk, etc.), determining if it belongs in REFERENCES.md or SOLUTIONS.md, collecting missing information, and adding it to the correct section of REFERENCES.md following the existing format.

Repository Targets & Scope

Source-of-Truth & Data Handling Rules

Change Boundaries

Ambiguity & Unmappable Source Handling

Distinguishing Between SOLUTIONS.md and REFERENCES.md

Unless the user explicitly specifies the target file, follow these rules:

  1. SOLUTIONS.md: Use this for content that is specifically a "how-to" for hacking Juice Shop or a tool that automates/assists in hacking it.
  1. REFERENCES.md: Use this for general mentions, news, blog posts about the project, conference talks, or appearances.

If in doubt, and the content contains spoilers (indicated by :godmode: or :bulb:), prefer SOLUTIONS.md if it is a guide/video/tool. If it is a blog post or talk, prefer REFERENCES.md with the appropriate icon.

General Workflow

  1. Analyze the Initial Prompt: Identify the URL(s) and any provided metadata (author, title, date, event name).
  2. Determine Reference Type: Based on the content and URL, categorize the reference into one of the supported types.
  3. Crawl URL(s): Use the bash tool with curl to fetch the content of the provided link(s).
  1. Infer Icons & Metadata:
  1. Identify Missing Information: If any mandatory information for the type is missing after crawling, ask the user for it.
  2. Find the Correct Section: Locate the target section in REFERENCES.md.
  1. Format the Entry: Use the specific formatting rules for the identified type.
  2. Update Table of Contents: If a new year is added to "Conference and Meetup Appearances", update the TOC.
  3. Skip Validation Commands: Since REFERENCES.md is a plain text file, running npm run lint, npm test, or any other validation commands is unnecessary if only this file (and/or SOLUTIONS.md) was modified.

Supported Types

Refer to the specific instructions for each type:

Verification Expectations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.