mirror of
https://github.com/github/awesome-copilot.git
synced 2026-08-08 18:19:14 +00:00
chore: publish from main
This commit is contained in:
@@ -140,7 +140,7 @@ Wait for user confirmation before proceeding.
|
||||
**Title**: `[COST-OPT] [Resource Type] - [Brief Description] - $X/month savings`
|
||||
|
||||
**Body**:
|
||||
```markdown
|
||||
````markdown
|
||||
## 💰 Cost Optimization: [Brief Title]
|
||||
|
||||
**Monthly Savings**: $X | **Risk Level**: [Low/Medium/High] | **Effort**: X days
|
||||
@@ -170,7 +170,7 @@ Wait for user confirmation before proceeding.
|
||||
- [Risk and mitigation]
|
||||
|
||||
**Priority Score**: X | **Value**: X/10 | **Risk**: X/10
|
||||
```
|
||||
````
|
||||
|
||||
### Step 7: Create EPIC Coordinating Issue
|
||||
**Action**: Create master tracking issue. Label with "cost-optimization" (green), "aws" (orange), "epic" (purple).
|
||||
|
||||
@@ -265,7 +265,7 @@ WHERE order_date >= '2024-01-01'
|
||||
## 🎯 Review Output Format
|
||||
|
||||
### Issue Template
|
||||
```
|
||||
````
|
||||
## [PRIORITY] [CATEGORY]: [Brief Description]
|
||||
|
||||
**Location**: [Table/View/Procedure name and line number if applicable]
|
||||
@@ -285,7 +285,7 @@ WHERE order_date >= '2024-01-01'
|
||||
```
|
||||
|
||||
**Expected Improvement**: [Performance gain, security benefit]
|
||||
```
|
||||
````
|
||||
|
||||
### Summary Assessment
|
||||
- **Security Score**: [1-10] - SQL injection protection, access controls
|
||||
|
||||
@@ -157,7 +157,7 @@ The key requirements from RFC 8805 that this skill enforces are summarized below
|
||||
- Generate a **script** for this phase.
|
||||
- Do NOT combine this phase with others.
|
||||
- Do NOT precompute future-phase data.
|
||||
- Store the output as a JSON file at: [`./run/data/report-data.json`](./run/data/report-data.json)
|
||||
- Store the output as a JSON file at: `./run/data/report-data.json`
|
||||
|
||||
#### Schema Definition
|
||||
|
||||
@@ -355,7 +355,7 @@ The goal is to ensure the file can be parsed reliably and normalized into a **co
|
||||
- Remove comment rows where the **first column begins with `#`**.
|
||||
- This also removes a header row if it begins with `#`.
|
||||
- Create a map of comments using the **1-based line number** as the key and the full original line as the value. Also store blank lines.
|
||||
- Store this map in a JSON file at: [`./run/data/comments.json`](./run/data/comments.json)
|
||||
- Store this map in a JSON file at: `./run/data/comments.json`
|
||||
- Example: `{ "4": "# It's OK for small city states to leave state ISO2 code unspecified" }`
|
||||
|
||||
- **Notes**
|
||||
@@ -543,7 +543,7 @@ Lookup all the `Entries` using Fastah's `rfc8805-row-place-search` tool.
|
||||
|
||||
#### Step 1: Build Lookup Payload with Deduplication
|
||||
|
||||
Load the dataset from: [./run/data/report-data.json](./run/data/report-data.json)
|
||||
Load the dataset from: `./run/data/report-data.json`
|
||||
- Read the `Entries` array. Each entry will be used to build the MCP lookup payload.
|
||||
|
||||
Reduce server requests by deduplicating identical entries:
|
||||
@@ -569,7 +569,7 @@ Build request batches:
|
||||
- When reading responses, match each response `rowKey` field to the corresponding deduplication entry to retrieve all associated `entryIndices`.
|
||||
|
||||
Rules:
|
||||
- Write payload to: [./run/data/mcp-server-payload.json](./run/data/mcp-server-payload.json)
|
||||
- Write payload to: `./run/data/mcp-server-payload.json`
|
||||
- Exit the script after writing the payload.
|
||||
|
||||
#### Step 2: Invoke Fastah MCP Tool
|
||||
@@ -591,7 +591,7 @@ Rules:
|
||||
{"rowKey": "550e8400-...", "countryCode":"CA", ...},
|
||||
{"rowKey": "690e9301-...", "countryCode":"ZZ", ...}
|
||||
]
|
||||
- Open [./run/data/mcp-server-payload.json](./run/data/mcp-server-payload.json) and send all deduplicated entries with their rowKeys.
|
||||
- Open `./run/data/mcp-server-payload.json` and send all deduplicated entries with their rowKeys.
|
||||
- If there are more than 1000 deduplicated entries after deduplication, split into multiple requests of 1000 entries each.
|
||||
- The server will respond with the same `rowKey` field in each response for mapping back.
|
||||
- Do NOT use local data.
|
||||
@@ -599,7 +599,7 @@ Rules:
|
||||
#### Step 3: Attach Tuned Data to Entries
|
||||
|
||||
- Generate a new **script** for attaching tuned data.
|
||||
- Load both [./run/data/report-data.json](./run/data/report-data.json) and the deduplication map (held in memory from Step 1, or re-derived from the payload file).
|
||||
- Load both `./run/data/report-data.json` and the deduplication map (held in memory from Step 1, or re-derived from the payload file).
|
||||
- For each response from the MCP server:
|
||||
- Extract the `rowKey` from the response.
|
||||
- Look up the `entryIndices` array associated with that `rowKey` from the deduplication map.
|
||||
@@ -633,7 +633,7 @@ The `TunedEntry` field is a **single object** (not an array). It holds the best
|
||||
|
||||
Entries with no UUID match (i.e. the MCP server returned no response for their UUID) must receive an empty `TunedEntry: {}` object — never leave the field absent.
|
||||
|
||||
- Write the dataset back to: [./run/data/report-data.json](./run/data/report-data.json)
|
||||
- Write the dataset back to: `./run/data/report-data.json`
|
||||
- Rules:
|
||||
- Maintain all existing validation flags.
|
||||
- Do NOT create additional intermediate files.
|
||||
|
||||
@@ -667,7 +667,7 @@ class McpServerTest {
|
||||
|
||||
## README.md Template
|
||||
|
||||
```markdown
|
||||
````markdown
|
||||
# My MCP Server
|
||||
|
||||
A Model Context Protocol server built with Java and the official MCP Java SDK.
|
||||
@@ -740,7 +740,7 @@ Add to `claude_desktop_config.json`:
|
||||
## License
|
||||
|
||||
MIT
|
||||
```
|
||||
````
|
||||
|
||||
## Generation Instructions
|
||||
|
||||
|
||||
@@ -151,4 +151,5 @@ It looks like we haven't started a napkin yet. Want me to open one for you?
|
||||
- Always check for the PNG first. If it isn't found, prompt the user to click "Share with Copilot."
|
||||
- If the clipboard doesn't have JSON data, proceed with the PNG alone.
|
||||
- The HTML template is located at `assets/napkin.html` relative to this SKILL.md file.
|
||||
- The walkthrough images `assets/step1-activate.svg`, `assets/step2-whiteboard.svg`, `assets/step3-draw.svg`, `assets/step4-share.svg`, and `assets/step5-response.svg` are documentation illustrations, not runtime inputs.
|
||||
- If the noob-mode skill is also active, use its risk indicator format (green/yellow/red) when requesting file or bash permissions.
|
||||
|
||||
@@ -24,6 +24,7 @@ Build evaluators for AI/LLM applications. Code first, LLM for nuance, validate a
|
||||
| Build code evaluator | [evaluators-code-python](references/evaluators-code-python.md), [evaluators-code-typescript](references/evaluators-code-typescript.md) |
|
||||
| Build LLM evaluator | [evaluators-llm-python](references/evaluators-llm-python.md), [evaluators-llm-typescript](references/evaluators-llm-typescript.md), [evaluators-custom-templates](references/evaluators-custom-templates.md) |
|
||||
| Batch evaluate DataFrame | [evaluate-dataframe-python](references/evaluate-dataframe-python.md) |
|
||||
| Understand experiments | [experiments-overview](references/experiments-overview.md) |
|
||||
| Run experiment | [experiments-running-python](references/experiments-running-python.md), [experiments-running-typescript](references/experiments-running-typescript.md) |
|
||||
| Create dataset | [experiments-datasets-python](references/experiments-datasets-python.md), [experiments-datasets-typescript](references/experiments-datasets-typescript.md) |
|
||||
| Generate synthetic data | [experiments-synthetic-python](references/experiments-synthetic-python.md), [experiments-synthetic-typescript](references/experiments-synthetic-typescript.md) |
|
||||
|
||||
@@ -85,10 +85,6 @@ Reference these guidelines when:
|
||||
- [fundamentals-required-attributes](references/fundamentals-required-attributes.md) - Required fields per span type
|
||||
- [fundamentals-universal-attributes](references/fundamentals-universal-attributes.md) - Common attributes (user.id, session.id)
|
||||
- [fundamentals-flattening](references/fundamentals-flattening.md) - JSON flattening rules
|
||||
- [attributes-messages](references/attributes-messages.md) - Chat message format
|
||||
- [attributes-metadata](references/attributes-metadata.md) - Custom metadata schema
|
||||
- [attributes-graph](references/attributes-graph.md) - Agent workflow attributes
|
||||
- [attributes-exceptions](references/attributes-exceptions.md) - Error tracking
|
||||
|
||||
## Common Workflows
|
||||
|
||||
|
||||
@@ -55,9 +55,6 @@ Create a comprehensive system architecture diagram using Mermaid that shows how
|
||||
|
||||
Use subgraphs to organize these layers clearly. Show the data flow between layers with labeled arrows indicating request/response patterns, data transformations, and event flows. Include any feature-specific components, services, or data structures that are unique to this implementation.
|
||||
|
||||
- **Technology Stack Selection**: Document choice rationale for each layer
|
||||
```
|
||||
|
||||
- **Technology Stack Selection**: Document choice rationale for each layer
|
||||
- **Integration Points**: Define clear boundaries and communication protocols
|
||||
- **Deployment Architecture**: Docker containerization strategy
|
||||
|
||||
+1
-1
@@ -163,7 +163,7 @@ function Post({ postId }) {
|
||||
return <PostContent post={post} />;
|
||||
}
|
||||
|
||||
// After:
|
||||
// After:
|
||||
function Post({ postId }) {
|
||||
const post = use(fetchPost(postId));
|
||||
return <PostContent post={post} />;
|
||||
|
||||
@@ -98,3 +98,4 @@ expect(mockFn).toHaveBeenCalledTimes(1);
|
||||
```jsx
|
||||
// Render-phase calls (component body) still double-invoked in React 19 StrictMode:
|
||||
expect(renderSpy).toHaveBeenCalledTimes(2); // stays at 2 for render body calls
|
||||
```
|
||||
|
||||
@@ -526,7 +526,7 @@ end
|
||||
|
||||
## README.md Template
|
||||
|
||||
```markdown
|
||||
````markdown
|
||||
# My MCP Server
|
||||
|
||||
A Model Context Protocol server built with Ruby and the official MCP Ruby SDK.
|
||||
@@ -644,7 +644,7 @@ my-mcp-server/
|
||||
## License
|
||||
|
||||
MIT
|
||||
```
|
||||
````
|
||||
|
||||
## Generation Instructions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user