From 9f7767e064c1cb4bbd15c367f955d41878ebf0d1 Mon Sep 17 00:00:00 2001
From: PrithvijitBose
Date: Sat, 1 Aug 2026 18:31:56 +0530
Subject: [PATCH 1/9] docs(copilot): update integration prompt instructions
---
.../integrate-social-share-button.prompt.md | 732 ++++--------------
1 file changed, 170 insertions(+), 562 deletions(-)
diff --git a/.github/copilot/integrate-social-share-button.prompt.md b/.github/copilot/integrate-social-share-button.prompt.md
index bea2b48..9cdcc0b 100644
--- a/.github/copilot/integrate-social-share-button.prompt.md
+++ b/.github/copilot/integrate-social-share-button.prompt.md
@@ -1,442 +1,128 @@
---
agent: agent
description: >
- Integrate SocialShareButton into any web project. Covers CDN (recommended),
- npm (advanced), and React/Preact/Qwik Wrapper Components (optional). Framework-specific
- steps for CRA, Next.js App Router, Next.js Pages Router, Vite/Vue/Angular,
- Preact, Qwik, and Vanilla HTML. Use this skill whenever a developer asks how to add the
- share button to their project.
+ Automatically integrate @aossie-org/social-share-button into a client web project
+ with zero manual steps except specifying where to place the button.
---
# SocialShareButton — Integration Skill
-You are helping a developer integrate the **SocialShareButton** library
-(`social-share-button-aossie`) into their project. Follow these rules strictly.
+## Goal
+Integrate `@aossie-org/social-share-button` into a client web project with zero manual steps from the user except specifying button location.
---
-> 🚫 **IMPORTANT:** Do NOT create new files like `ShareButton.jsx` or `ShareButton.tsx`!
-> ✅ Add code directly to the developer's **existing** component (Header, Navbar, etc.)
-> 📄 **Exception:** If a separate file is needed (e.g. a dedicated share component), follow **Method 3 — React Wrapper Component** exclusively.
+## Step-by-Step Workflow
----
-
-## How to respond
-
-The README defines **3 installation methods**. Ask (or infer) which the developer wants:
+### 1. Inspect Repo & Identify Frontend
+- Locate frontend `package.json` (look for React, Next.js, Vue, Angular, Qwik, Preact, Vanilla).
+- In monorepos (`apps/`, `packages/`), target the frontend app directory only. Never modify backend projects.
-| Method | When to use |
-| ------------------------------------------------------- | ------------------------------------------------------------------------- |
-| **Method 1 — CDN (Recommended)** | Most projects. No build step needed. Load via `
-
-