@xiaotianxt/skills 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/EXCLUDED.md +42 -0
- package/LICENSE +21 -0
- package/README.md +165 -0
- package/SECURITY.md +23 -0
- package/SOURCES.md +45 -0
- package/bin/skills.mjs +241 -0
- package/package.json +38 -0
- package/skills/1password/SKILL.md +94 -0
- package/skills/1password/agents/openai.yaml +4 -0
- package/skills/1password/references/item-management.md +80 -0
- package/skills/1password/references/op-cli.md +107 -0
- package/skills/apple-calendar-event/SKILL.md +81 -0
- package/skills/apple-calendar-event/agents/openai.yaml +4 -0
- package/skills/apple-calendar-event/scripts/calendar_audit.py +201 -0
- package/skills/apple-calendar-event/scripts/calendar_event.py +164 -0
- package/skills/bro-browser/SKILL.md +118 -0
- package/skills/bro-browser/agents/openai.yaml +4 -0
- package/skills/bro-browser/references/tool-map.md +102 -0
- package/skills/bro-browser/references/workflows.md +146 -0
- package/skills/bro-browser/scripts/bro-call.mjs +189 -0
- package/skills/calendar/SKILL.md +182 -0
- package/skills/calendar/agents/openai.yaml +4 -0
- package/skills/calendar/references/operations.md +255 -0
- package/skills/calendar/scripts/calendar_list_review.py +157 -0
- package/skills/calendar/scripts/event_dedupe_preview.py +155 -0
- package/skills/canvas/SKILL.md +70 -0
- package/skills/canvas/agents/openai.yaml +4 -0
- package/skills/canvas/references/canvas-api.md +76 -0
- package/skills/course-exam-review-planner/SKILL.md +127 -0
- package/skills/cx/SKILL.md +25 -0
- package/skills/gh-fix-ci/LICENSE.txt +201 -0
- package/skills/gh-fix-ci/SKILL.md +81 -0
- package/skills/gh-fix-ci/agents/openai.yaml +6 -0
- package/skills/gh-fix-ci/assets/github-small.svg +3 -0
- package/skills/gh-fix-ci/assets/github.png +0 -0
- package/skills/gh-fix-ci/scripts/inspect_pr_checks.py +509 -0
- package/skills/gh-review-workflow/SKILL.md +61 -0
- package/skills/gh-review-workflow/agents/openai.yaml +4 -0
- package/skills/gh-review-workflow/references/workflow.md +48 -0
- package/skills/gh-review-workflow/scripts/fetch_review_state.py +222 -0
- package/skills/gh-review-workflow/scripts/resolve_review_threads.py +83 -0
- package/skills/github/SKILL.md +74 -0
- package/skills/github/agents/openai.yaml +6 -0
- package/skills/github/assets/github-small.svg +3 -0
- package/skills/github/assets/github.png +0 -0
- package/skills/gws-calendar/SKILL.md +126 -0
- package/skills/gws-calendar-agenda/SKILL.md +52 -0
- package/skills/gws-calendar-insert/SKILL.md +66 -0
- package/skills/gws-docs/SKILL.md +48 -0
- package/skills/gws-docs-write/SKILL.md +49 -0
- package/skills/gws-drive/SKILL.md +137 -0
- package/skills/gws-drive-upload/SKILL.md +52 -0
- package/skills/gws-gmail/SKILL.md +62 -0
- package/skills/gws-gmail-forward/SKILL.md +55 -0
- package/skills/gws-gmail-reply/SKILL.md +58 -0
- package/skills/gws-gmail-reply-all/SKILL.md +62 -0
- package/skills/gws-gmail-send/SKILL.md +57 -0
- package/skills/gws-gmail-triage/SKILL.md +50 -0
- package/skills/gws-gmail-watch/SKILL.md +58 -0
- package/skills/gws-shared/SKILL.md +27 -0
- package/skills/helium-browser-mcp/SKILL.md +137 -0
- package/skills/helium-browser-mcp/agents/openai.yaml +4 -0
- package/skills/helium-browser-mcp/scripts/obmcp.mjs +92 -0
- package/skills/helium-browser-mcp/scripts/openbrowsermcp-stdio-proxy.mjs +170 -0
- package/skills/learn/SKILL.md +122 -0
- package/skills/learn/agents/openai.yaml +7 -0
- package/skills/learn/assets/AGENTS.template.md +33 -0
- package/skills/learn/assets/errorlog.template.typ +61 -0
- package/skills/learn/assets/reading-sequence.template.md +23 -0
- package/skills/learn/assets/source-index.template.md +17 -0
- package/skills/learn/assets/tasklog.template.typ +57 -0
- package/skills/learn/assets/workbook.template.typ +60 -0
- package/skills/learn/references/learning-science.md +103 -0
- package/skills/learn/scripts/init_learning_workspace.py +70 -0
- package/skills/macos-messages/SKILL.md +258 -0
- package/skills/memory/SKILL.md +33 -0
- package/skills/memory/codex.md +186 -0
- package/skills/memory/opencode.md +164 -0
- package/skills/mimestreamctl/SKILL.md +170 -0
- package/skills/mimestreamctl/agents/openai.yaml +4 -0
- package/skills/mimestreamctl/scripts/mimestreamctl +33 -0
- package/skills/mon/SKILL.md +51 -0
- package/skills/mon/scripts/mon_spend_review.py +458 -0
- package/skills/ocr/SKILL.md +136 -0
- package/skills/ocr/agents/openai.yaml +4 -0
- package/skills/ocr/references/local-ocr-best-practices.md +297 -0
- package/skills/ocr/references/mineru-api.md +159 -0
- package/skills/ocr/scripts/ocr-router +22 -0
- package/skills/ocr/scripts/ocr_router.py +741 -0
- package/skills/panopto-mp4-bulk-download/SKILL.md +57 -0
- package/skills/panopto-mp4-bulk-download/agents/openai.yaml +4 -0
- package/skills/panopto-mp4-bulk-download/references/url-patterns.md +26 -0
- package/skills/panopto-mp4-bulk-download/scripts/panopto_bulk_mp4.sh +213 -0
- package/skills/rust-systems-style/SKILL.md +109 -0
- package/skills/rust-systems-style/agents/openai.yaml +4 -0
- package/skills/rust-systems-style/references/rust-review-checklist.md +77 -0
- package/skills/rust-systems-style/references/style-sources.md +68 -0
- package/skills/ship-ai-native-cli/SKILL.md +76 -0
- package/skills/ship-ai-native-cli/agents/openai.yaml +4 -0
- package/skills/ship-ai-native-cli/references/case-notes.md +83 -0
- package/skills/ship-ai-native-cli/references/product-method.md +82 -0
- package/skills/ship-ai-native-cli/references/release-checklist.md +147 -0
- package/skills/ship-ai-native-cli/references/rust-cli-shape.md +111 -0
- package/skills/telegram-mtproto-session/SKILL.md +125 -0
- package/skills/telegram-mtproto-session/agents/openai.yaml +4 -0
- package/skills/telegram-mtproto-session/scripts/telegram_session.py +687 -0
- package/skills/tg/SKILL.md +173 -0
- package/skills/things3-manager/SKILL.md +116 -0
- package/skills/things3-manager/scripts/things +42 -0
- package/skills/things3-manager/scripts/things_cli.py +514 -0
- package/skills/web-artifacts-builder/LICENSE.txt +202 -0
- package/skills/web-artifacts-builder/SKILL.md +74 -0
- package/skills/web-artifacts-builder/scripts/bundle-artifact.sh +54 -0
- package/skills/web-artifacts-builder/scripts/init-artifact.sh +379 -0
- package/skills/web-artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
- package/skills/yeet/LICENSE.txt +201 -0
- package/skills/yeet/SKILL.md +71 -0
- package/skills/yeet/agents/openai.yaml +6 -0
- package/skills/yeet/assets/yeet-small.svg +3 -0
- package/skills/yeet/assets/yeet.png +0 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
|
|
3
|
+
import argparse
|
|
4
|
+
import json
|
|
5
|
+
import sys
|
|
6
|
+
from collections import Counter
|
|
7
|
+
from datetime import datetime, timezone
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
from typing import Any
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def load_items(path: Path) -> list[dict[str, Any]]:
|
|
13
|
+
with path.open(encoding="utf-8") as handle:
|
|
14
|
+
payload = json.load(handle)
|
|
15
|
+
if isinstance(payload, dict):
|
|
16
|
+
items = payload.get("items", [])
|
|
17
|
+
elif isinstance(payload, list):
|
|
18
|
+
items = payload
|
|
19
|
+
else:
|
|
20
|
+
raise SystemExit(f"Unsupported JSON shape in {path}")
|
|
21
|
+
if not isinstance(items, list):
|
|
22
|
+
raise SystemExit(f"Expected items array in {path}")
|
|
23
|
+
return [item for item in items if isinstance(item, dict)]
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def event_start(event: dict[str, Any]) -> str:
|
|
27
|
+
start = event.get("start") or {}
|
|
28
|
+
if not isinstance(start, dict):
|
|
29
|
+
return ""
|
|
30
|
+
if start.get("date"):
|
|
31
|
+
return f"date:{start.get('date')}"
|
|
32
|
+
date_time = str(start.get("dateTime") or "")
|
|
33
|
+
return normalized_datetime(date_time)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def normalized_datetime(value: str) -> str:
|
|
37
|
+
if not value:
|
|
38
|
+
return ""
|
|
39
|
+
candidate = value.replace("Z", "+00:00")
|
|
40
|
+
try:
|
|
41
|
+
parsed = datetime.fromisoformat(candidate)
|
|
42
|
+
except ValueError:
|
|
43
|
+
return " ".join(value.split())
|
|
44
|
+
if parsed.tzinfo is None:
|
|
45
|
+
return parsed.isoformat()
|
|
46
|
+
return parsed.astimezone(timezone.utc).isoformat()
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def event_start_display(event: dict[str, Any]) -> str:
|
|
50
|
+
start = event.get("start") or {}
|
|
51
|
+
if not isinstance(start, dict):
|
|
52
|
+
return ""
|
|
53
|
+
return str(start.get("dateTime") or start.get("date") or "")
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def event_location(event: dict[str, Any]) -> str:
|
|
57
|
+
return " ".join(str(event.get("location") or "").split()).casefold()
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def event_summary(event: dict[str, Any]) -> str:
|
|
61
|
+
return " ".join(str(event.get("summary") or "").split()).casefold()
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def event_signature(event: dict[str, Any]) -> tuple[str, str, str]:
|
|
65
|
+
return (event_summary(event), event_start(event), event_location(event))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def short_event(event: dict[str, Any]) -> dict[str, Any]:
|
|
69
|
+
return {
|
|
70
|
+
"id": event.get("id"),
|
|
71
|
+
"iCalUID": event.get("iCalUID"),
|
|
72
|
+
"summary": event.get("summary"),
|
|
73
|
+
"start": event.get("start"),
|
|
74
|
+
"end": event.get("end"),
|
|
75
|
+
"location": event.get("location"),
|
|
76
|
+
"htmlLink": event.get("htmlLink"),
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
def build_preview(source: list[dict[str, Any]], target: list[dict[str, Any]]) -> dict[str, Any]:
|
|
81
|
+
target_ical_uids = Counter(
|
|
82
|
+
str(event.get("iCalUID"))
|
|
83
|
+
for event in target
|
|
84
|
+
if event.get("iCalUID")
|
|
85
|
+
)
|
|
86
|
+
target_signatures = Counter(event_signature(event) for event in target)
|
|
87
|
+
|
|
88
|
+
matches: list[dict[str, Any]] = []
|
|
89
|
+
unmatched: list[dict[str, Any]] = []
|
|
90
|
+
for event in source:
|
|
91
|
+
ical_uid = event.get("iCalUID")
|
|
92
|
+
by_ical_uid = bool(ical_uid and str(ical_uid) in target_ical_uids)
|
|
93
|
+
by_signature = event_signature(event) in target_signatures
|
|
94
|
+
match_count = max(
|
|
95
|
+
target_ical_uids[str(ical_uid)] if by_ical_uid else 0,
|
|
96
|
+
target_signatures[event_signature(event)] if by_signature else 0,
|
|
97
|
+
)
|
|
98
|
+
record = {
|
|
99
|
+
"matchedBy": "iCalUID" if by_ical_uid else "summary_start_location" if by_signature else None,
|
|
100
|
+
"targetMatchCount": match_count,
|
|
101
|
+
"ambiguous": match_count > 1,
|
|
102
|
+
"event": short_event(event),
|
|
103
|
+
}
|
|
104
|
+
if by_ical_uid or by_signature:
|
|
105
|
+
matches.append(record)
|
|
106
|
+
else:
|
|
107
|
+
unmatched.append(record)
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
"source_count": len(source),
|
|
111
|
+
"target_count": len(target),
|
|
112
|
+
"matched_count": len(matches),
|
|
113
|
+
"unmatched_count": len(unmatched),
|
|
114
|
+
"matches": matches,
|
|
115
|
+
"unmatched": unmatched,
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
def print_tsv(preview: dict[str, Any]) -> None:
|
|
120
|
+
print("matched\tstart\tsummary\tlocation\tiCalUID")
|
|
121
|
+
for record in preview["unmatched"]:
|
|
122
|
+
event = record["event"]
|
|
123
|
+
print(
|
|
124
|
+
"\t".join(
|
|
125
|
+
[
|
|
126
|
+
"false",
|
|
127
|
+
event_start_display(event),
|
|
128
|
+
str(event.get("summary") or ""),
|
|
129
|
+
str(event.get("location") or ""),
|
|
130
|
+
str(event.get("iCalUID") or ""),
|
|
131
|
+
]
|
|
132
|
+
)
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def main() -> int:
|
|
137
|
+
parser = argparse.ArgumentParser(
|
|
138
|
+
description="Preview source calendar events not already present in a target events.list JSON export."
|
|
139
|
+
)
|
|
140
|
+
parser.add_argument("--source", required=True, help="Source events JSON from gws calendar events list.")
|
|
141
|
+
parser.add_argument("--target", required=True, help="Target events JSON from gws calendar events list.")
|
|
142
|
+
parser.add_argument("--format", choices=["json", "tsv"], default="json")
|
|
143
|
+
args = parser.parse_args()
|
|
144
|
+
|
|
145
|
+
preview = build_preview(load_items(Path(args.source)), load_items(Path(args.target)))
|
|
146
|
+
if args.format == "tsv":
|
|
147
|
+
print_tsv(preview)
|
|
148
|
+
else:
|
|
149
|
+
json.dump(preview, sys.stdout, ensure_ascii=False, indent=2)
|
|
150
|
+
print()
|
|
151
|
+
return 0
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
if __name__ == "__main__":
|
|
155
|
+
sys.exit(main())
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: canvas
|
|
3
|
+
description: "Use when Codex needs to work with Canvas LMS / Instructure through the Canvas API: listing courses, finding course IDs, reading syllabi, assignments, modules, pages, files, submissions, grades, rubrics, due dates, or calculating current/final/maximum course grades. Also use when a user asks to submit Canvas assignments or download Canvas course materials, while keeping Canvas tokens in macOS Keychain or environment variables."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Canvas
|
|
7
|
+
|
|
8
|
+
Use Canvas through the REST API first. Prefer API calls over browser automation for courses, grades, files, modules, pages, assignments, submissions, and syllabus data.
|
|
9
|
+
|
|
10
|
+
This is a Canvas data-access skill. For full exam preparation planning, use
|
|
11
|
+
`course-exam-review-planner` as the workflow owner and use this skill only for
|
|
12
|
+
Canvas-specific data gathering and grade calculations.
|
|
13
|
+
|
|
14
|
+
## Authentication
|
|
15
|
+
|
|
16
|
+
- Default CMU Canvas base URL: `https://canvas.cmu.edu`.
|
|
17
|
+
- Prefer a token in macOS Keychain at service `codex.canvas`, account `credential`.
|
|
18
|
+
- Use `CANVAS_TOKEN_COMMAND='keychain-secret get codex.canvas credential'` or a local script that reads the same Keychain entry.
|
|
19
|
+
- One-time migration from 1Password, when needed: `keychain-secret import-op codex.canvas credential 'op://Private/Canvas/credential'`.
|
|
20
|
+
- Do not print Canvas tokens, auth headers, raw cookies, or secret values.
|
|
21
|
+
- Use 1Password only as a scoped import/fallback source when the Keychain entry is missing.
|
|
22
|
+
|
|
23
|
+
## Existing Local Helper
|
|
24
|
+
|
|
25
|
+
When available, reuse:
|
|
26
|
+
|
|
27
|
+
`/Users/yupeit/Documents/20-29 Academics & Research/20 CMU Course Materials/84-792 Policy Seminar II/canvas-api-research/canvas_api.py`
|
|
28
|
+
|
|
29
|
+
Useful commands:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
python3 canvas_api.py whoami
|
|
33
|
+
python3 canvas_api.py courses
|
|
34
|
+
python3 canvas_api.py raw-get /api/v1/users/self/courses --param 'include[]=total_scores' --param 'include[]=term'
|
|
35
|
+
python3 canvas_api.py raw-get /api/v1/courses/COURSE_ID/assignment_groups --param 'include[]=assignments' --param 'include[]=submission'
|
|
36
|
+
python3 canvas_api.py sync-course COURSE_ID --out OUT_DIR
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Quote parameters containing `[]` in zsh, such as `'include[]=total_scores'`, or zsh will treat them as glob patterns.
|
|
40
|
+
|
|
41
|
+
## Workflow
|
|
42
|
+
|
|
43
|
+
1. Identify the course with `/api/v1/users/self/courses`, including `term` and `total_scores`.
|
|
44
|
+
2. Fetch course details with `include[]=syllabus_body,total_scores` and verify whether `apply_assignment_group_weights` is true.
|
|
45
|
+
3. Fetch assignment groups with `include[]=assignments` and `include[]=submission`.
|
|
46
|
+
4. Summarize large JSON locally before showing results. Avoid dumping assignment descriptions, discussion bodies, attachment URLs, or secure params unless the user explicitly needs them.
|
|
47
|
+
5. For grade questions, inspect the syllabus PDF or page for grade cutoffs, rounding rules, drop rules, late penalties, and optional or extra-credit treatment.
|
|
48
|
+
6. Reconcile Canvas enrollment scores with local calculations. Canvas may apply muted grades, drop rules, optional assignments, hidden rules, excused submissions, or grading-period settings.
|
|
49
|
+
|
|
50
|
+
## Grade Calculation Notes
|
|
51
|
+
|
|
52
|
+
- If `apply_assignment_group_weights` is true, calculate each group separately and multiply by `group_weight`.
|
|
53
|
+
- Exclude unpublished assignments and assignments with `omit_from_final_grade=true`.
|
|
54
|
+
- Treat `excused` submissions as excluded.
|
|
55
|
+
- Distinguish current score from final score:
|
|
56
|
+
- Current score usually ignores ungraded assignments.
|
|
57
|
+
- Final score often treats ungraded assignments as zero.
|
|
58
|
+
- Maximum possible score gives full credit for remaining ungraded assignments.
|
|
59
|
+
- Always check syllabus rules for drops. Canvas assignment group API may not fully explain the visible gradebook calculation unless group rules are included or inferred from the syllabus.
|
|
60
|
+
- When answering "can I get an A?", report the current Canvas score, final score, remaining assignments, required score on remaining work, and the grade cutoff/rounding rule with exact dates when relevant.
|
|
61
|
+
|
|
62
|
+
## Files And Syllabus
|
|
63
|
+
|
|
64
|
+
- A syllabus page may link to a full syllabus PDF through a Canvas file endpoint. Fetch file metadata from `/api/v1/courses/:course_id/files/:file_id`, then download the `url` field.
|
|
65
|
+
- Use `pdftotext` when available to extract grade intervals and policy details from syllabus PDFs.
|
|
66
|
+
- Course files and media may be external LTI systems. Canvas often exposes only the link, iframe, or file metadata, not the original video or external resource.
|
|
67
|
+
|
|
68
|
+
## References
|
|
69
|
+
|
|
70
|
+
- Read `references/canvas-api.md` for endpoint patterns, pagination, output shaping, and the lessons learned from prior Canvas grade work.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Canvas API Reference
|
|
2
|
+
|
|
3
|
+
## Token And Sandbox
|
|
4
|
+
|
|
5
|
+
- Prefer macOS Keychain service `codex.canvas`, account `credential`, for the Canvas API token.
|
|
6
|
+
- Use `keychain-secret get codex.canvas credential` in `CANVAS_TOKEN_COMMAND`.
|
|
7
|
+
- If the Keychain entry is missing, import it once with `keychain-secret import-op codex.canvas credential 'op://Private/Canvas/credential'`.
|
|
8
|
+
- Never print the token or `Authorization: Bearer ...` header.
|
|
9
|
+
|
|
10
|
+
## Common Endpoints
|
|
11
|
+
|
|
12
|
+
- Current user: `GET /api/v1/users/self`
|
|
13
|
+
- Courses: `GET /api/v1/users/self/courses`
|
|
14
|
+
- Useful params: `enrollment_state=active`, `include[]=term`, `include[]=total_scores`, `include[]=teachers`, `per_page=100`
|
|
15
|
+
- Course details: `GET /api/v1/courses/:course_id`
|
|
16
|
+
- Useful params: `include[]=syllabus_body`, `include[]=total_scores`, `include[]=term`, `include[]=teachers`
|
|
17
|
+
- Assignment groups: `GET /api/v1/courses/:course_id/assignment_groups`
|
|
18
|
+
- Useful params: `include[]=assignments`, `include[]=submission`, `include[]=rules`, `per_page=100`
|
|
19
|
+
- Assignments: `GET /api/v1/courses/:course_id/assignments`
|
|
20
|
+
- Useful params: `include[]=submission`, `include[]=rubric`, `per_page=100`
|
|
21
|
+
- Single submission: `GET /api/v1/courses/:course_id/assignments/:assignment_id/submissions/self`
|
|
22
|
+
- Modules: `GET /api/v1/courses/:course_id/modules`
|
|
23
|
+
- Useful params: `include[]=items`, `include[]=content_details`, `per_page=100`
|
|
24
|
+
- Pages: `GET /api/v1/courses/:course_id/pages`, then `GET /api/v1/courses/:course_id/pages/:url`
|
|
25
|
+
- Files: `GET /api/v1/courses/:course_id/files` or `GET /api/v1/courses/:course_id/files/:file_id`
|
|
26
|
+
- Announcements: `GET /api/v1/announcements?context_codes[]=course_:course_id`
|
|
27
|
+
- Discussions: `GET /api/v1/courses/:course_id/discussion_topics`
|
|
28
|
+
|
|
29
|
+
Always quote zsh args containing brackets:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
--param 'include[]=total_scores'
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Pagination
|
|
36
|
+
|
|
37
|
+
Canvas uses HTTP `Link` headers for pagination. Prefer a helper that follows `rel="next"`. Set `per_page=100` for list calls.
|
|
38
|
+
|
|
39
|
+
## Output Shaping
|
|
40
|
+
|
|
41
|
+
Canvas assignment objects can contain huge HTML descriptions, rubrics, discussion entries, secure params, and attachment metadata. For user-facing answers, reduce to:
|
|
42
|
+
|
|
43
|
+
- `id`, `name`, `due_at`, `points_possible`
|
|
44
|
+
- assignment group name and weight
|
|
45
|
+
- submission `score`, `grade`, `workflow_state`, `submitted_at`, `graded_at`
|
|
46
|
+
- `late`, `missing`, `excused`, `points_deducted`
|
|
47
|
+
- flags: `muted`, `omit_from_final_grade`, `published`, `locked_for_user`
|
|
48
|
+
|
|
49
|
+
Do not dump discussion bodies or secure params unless the task requires them.
|
|
50
|
+
|
|
51
|
+
## Grade Workflows
|
|
52
|
+
|
|
53
|
+
For "what grade can I get?" questions:
|
|
54
|
+
|
|
55
|
+
1. Fetch course list with total scores and identify the course ID.
|
|
56
|
+
2. Fetch `assignment_groups` with assignments and submissions.
|
|
57
|
+
3. Pull syllabus body. If it links a PDF syllabus, download it through the file endpoint and extract text with `pdftotext`.
|
|
58
|
+
4. Find:
|
|
59
|
+
- grade intervals and rounding rules
|
|
60
|
+
- assignment group weights
|
|
61
|
+
- drop rules for quizzes, discussions, and in-class work
|
|
62
|
+
- late-day credits and final-assignment penalties
|
|
63
|
+
5. Calculate:
|
|
64
|
+
- current weighted score from graded work only
|
|
65
|
+
- final score with ungraded work as zero
|
|
66
|
+
- max score if remaining work earns full credit
|
|
67
|
+
- required score on remaining work for each relevant letter cutoff
|
|
68
|
+
6. Compare against Canvas `computed_current_score` and `computed_final_score`. If they differ, explain likely causes and prefer Canvas enrollment numbers when they directly answer current/final displayed grade.
|
|
69
|
+
|
|
70
|
+
## Lessons From 17-629
|
|
71
|
+
|
|
72
|
+
- CMU Canvas course `Product Management Essentials II` used group weights: Product Assignments 74%, In-Class Exercises 10%, Short Quizzes 10%, Discussions 6%.
|
|
73
|
+
- The syllabus PDF, not just the Canvas syllabus HTML excerpt, contained grade intervals and rounding rules.
|
|
74
|
+
- The course had drop rules: lowest two in-class activities, lowest quiz, lowest discussion.
|
|
75
|
+
- A raw assignment-groups response was too large for direct display. A temporary summarizer was the right pattern.
|
|
76
|
+
- Canvas displayed `computed_current_score` and `computed_final_score`; the answer needed both and a required remaining-assignment score.
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: course-exam-review-planner
|
|
3
|
+
description: Build an evidence-driven review plan for a course exam or final. Use when the user wants to prepare for a new course exam by collecting recordings/transcripts, identifying the official exam scope, mining homework/practice exams/past exams/forums, and turning the result into a concrete study plan or Things 3 project.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Course Exam Review Planner
|
|
7
|
+
|
|
8
|
+
Use this skill when planning how to review for a course exam, especially when the course has lecture recordings, transcripts, homeworks, practice exams, previous exams, or forum discussions.
|
|
9
|
+
|
|
10
|
+
This skill owns the exam-review workflow. Use neighboring tool skills for data
|
|
11
|
+
access and execution details: `canvas` for Canvas LMS data,
|
|
12
|
+
`panopto-mp4-bulk-download` for lecture media extraction, and
|
|
13
|
+
`things3-manager` for Things 3 task creation.
|
|
14
|
+
|
|
15
|
+
## Core Principle
|
|
16
|
+
|
|
17
|
+
Do not start by making a generic day-by-day schedule. First reconstruct the exam contract:
|
|
18
|
+
|
|
19
|
+
1. What is definitely in scope?
|
|
20
|
+
2. What question formats are likely?
|
|
21
|
+
3. What skills are repeatedly tested?
|
|
22
|
+
4. What artifacts best train those skills?
|
|
23
|
+
5. What should be converted into retrieval drills, an error log, and a final cheat sheet?
|
|
24
|
+
|
|
25
|
+
Treat evidence by priority:
|
|
26
|
+
|
|
27
|
+
1. Official exam page, final guide, syllabus, instructor announcement.
|
|
28
|
+
2. The lecture or recording that explicitly describes the final exam.
|
|
29
|
+
3. Latest official practice exam and solutions.
|
|
30
|
+
4. Homework, projects, recitations, quizzes, and midterms that overlap the final scope.
|
|
31
|
+
5. Older official exams from the same course/instructor.
|
|
32
|
+
6. Online forums, Reddit, reviews, and student notes as weak signals only. Use them to discover likely pain points, not to override official materials.
|
|
33
|
+
|
|
34
|
+
## Inputs To Gather
|
|
35
|
+
|
|
36
|
+
Ask for or locate:
|
|
37
|
+
|
|
38
|
+
- Course name/number and term.
|
|
39
|
+
- Exam date, time, location, duration, allowed materials, grading weight.
|
|
40
|
+
- Course website, LMS/exported folder, syllabus, final guide, announcements.
|
|
41
|
+
- Full lecture recordings and transcripts. If recordings are on Panopto, use the `panopto-mp4-bulk-download` skill when bulk download is needed.
|
|
42
|
+
- Homework PDFs, solution PDFs, quizzes, midterm/final practice exams, previous exams.
|
|
43
|
+
- Existing notes, cheat sheet constraints, and user time availability.
|
|
44
|
+
- User's target outcome: pass, high grade, or mastery.
|
|
45
|
+
|
|
46
|
+
## Workflow
|
|
47
|
+
|
|
48
|
+
1. Build the corpus.
|
|
49
|
+
- Ensure all recordings are downloaded or accessible.
|
|
50
|
+
- Ensure every recording has a transcript or searchable text.
|
|
51
|
+
- Collect PDFs and HTML pages into a single course material directory when possible.
|
|
52
|
+
- Make local files searchable with filenames that preserve topic, date, and artifact type.
|
|
53
|
+
|
|
54
|
+
2. Find the exam contract.
|
|
55
|
+
- Search transcripts for phrases like `final exam`, `scope`, `cumulative`, `practice final`, `cheat sheet`, `allowed`, `logistics`, `review`.
|
|
56
|
+
- Identify the recording or lecture segment that most directly describes the final.
|
|
57
|
+
- Extract concrete facts: covered lectures, textbook chapters, excluded topics, exam length, question count, point count, allowed materials, date/time/location.
|
|
58
|
+
- If relative dates appear, convert them into exact dates.
|
|
59
|
+
|
|
60
|
+
3. Map official scope to artifacts.
|
|
61
|
+
- Create a table with columns: topic, official source, lecture numbers, textbook sections, homework questions, practice exam questions, older exam questions.
|
|
62
|
+
- Prefer the newest practice exam as the primary diagnostic.
|
|
63
|
+
- Use homework only where it trains concepts that appear in the final scope.
|
|
64
|
+
- Use older exams to add coverage for recurring question archetypes.
|
|
65
|
+
|
|
66
|
+
4. Mine external and historical signals.
|
|
67
|
+
- Search official archives first.
|
|
68
|
+
- Then search online forums, Reddit, course reviews, and public notes for recurring complaints, surprise topics, or highly emphasized question types.
|
|
69
|
+
- Mark these as weak evidence unless they are confirmed by official materials.
|
|
70
|
+
- Do not overfit to rumors or outdated terms.
|
|
71
|
+
|
|
72
|
+
5. Classify question archetypes.
|
|
73
|
+
- For each practice/past exam question, record: topic, required procedure, common trap, source artifact, and whether it is calculation, proof, design, debugging, short answer, or concept recognition.
|
|
74
|
+
- Convert each archetype into a closed-book drill template.
|
|
75
|
+
- Prioritize procedural templates that can be repeated cold.
|
|
76
|
+
|
|
77
|
+
6. Plan backward from the exam.
|
|
78
|
+
- Day 1: run the newest practice exam cold by topic clusters; grade immediately; create error log.
|
|
79
|
+
- Middle days: backfill misses using homework, lectures, textbook sections, and older exams.
|
|
80
|
+
- Final day: redo every missed practice subpart cold; finalize the cheat sheet; stop learning new content.
|
|
81
|
+
- Keep review blocks tied to artifacts and completion criteria, not vague labels like "study transactions".
|
|
82
|
+
|
|
83
|
+
7. Maintain an error log.
|
|
84
|
+
- Columns: question, missed rule, corrected rule, next drill.
|
|
85
|
+
- Every wrong or uncertain answer gets a rule-level entry.
|
|
86
|
+
- The final-day review is driven from the error log, not from rereading slides.
|
|
87
|
+
|
|
88
|
+
8. Build the cheat sheet.
|
|
89
|
+
- Include distilled rules, formulas, state machines, algorithms, and decision tables.
|
|
90
|
+
- Exclude copied slides or long explanations.
|
|
91
|
+
- Every cheat-sheet line should answer a known question archetype or correct an error-log miss.
|
|
92
|
+
|
|
93
|
+
9. Produce an action plan.
|
|
94
|
+
- Group tasks by date and topic cluster.
|
|
95
|
+
- Each task should name exact files, questions, and completion criteria.
|
|
96
|
+
- If using Things 3, create a project with headings by day/topic and verify the import with `things3-manager`.
|
|
97
|
+
|
|
98
|
+
## Output Shape
|
|
99
|
+
|
|
100
|
+
For a normal planning request, produce:
|
|
101
|
+
|
|
102
|
+
1. A short summary of the confirmed exam contract.
|
|
103
|
+
2. A scope map from official topics to course artifacts.
|
|
104
|
+
3. A prioritized review plan by day.
|
|
105
|
+
4. A list of closed-book drill templates.
|
|
106
|
+
5. A cheat-sheet outline.
|
|
107
|
+
6. A Things-ready task breakdown when the user wants task management output.
|
|
108
|
+
|
|
109
|
+
## Lessons From The 15-445 Final Review Plan
|
|
110
|
+
|
|
111
|
+
In the 15-445 run, the useful pattern was:
|
|
112
|
+
|
|
113
|
+
1. Confirm the official final scope from the final guide: textbook chapters, lecture numbers, date/time/location, duration, point count, and allowed notes.
|
|
114
|
+
2. Treat the newest S26 practice final as the main diagnostic and solution source.
|
|
115
|
+
3. Split the exam into topic clusters: query processing/joins, transactions/MVCC, recovery/ARIES, distributed systems.
|
|
116
|
+
4. Attach each cluster to specific practice questions, homework backfills, older exam drills, and cheat-sheet blocks.
|
|
117
|
+
5. Make an error log the central artifact.
|
|
118
|
+
6. Schedule the final pass around redoing misses cold, completing the handwritten note page, and packing exam materials.
|
|
119
|
+
7. Import the resulting project into Things and verify that the tasks exist.
|
|
120
|
+
|
|
121
|
+
## Guardrails
|
|
122
|
+
|
|
123
|
+
- Never rely on forum posts as the source of truth for scope.
|
|
124
|
+
- Do not spend time on pre-scope or explicitly excluded content unless it is prerequisite knowledge for an in-scope procedure.
|
|
125
|
+
- Do not reread lectures passively when there are practice questions available.
|
|
126
|
+
- Do not build a plan without exact artifacts and completion criteria.
|
|
127
|
+
- When current course pages, forum posts, or online archives may have changed, browse or verify before citing them.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cx
|
|
3
|
+
description: Use when Codex needs to operate the local Codex multi-slot workflow with cx, including selecting the best slot, checking usage, creating or logging into slots, or validating slot state.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# cx
|
|
7
|
+
|
|
8
|
+
Canonical source: https://github.com/xiaotianxt/skills/tree/main/skills/cx
|
|
9
|
+
|
|
10
|
+
Use this skill when you need to operate the local Codex multi-slot workflow.
|
|
11
|
+
|
|
12
|
+
## Commands
|
|
13
|
+
|
|
14
|
+
- `cx`: run Codex through the best available slot.
|
|
15
|
+
- `cat file | cx "prompt"`: wrap stdin as Codex prompt context.
|
|
16
|
+
- `cx status`: show all configured slots and live usage.
|
|
17
|
+
- `cx select`: print the best slot name.
|
|
18
|
+
- `cx add <slot> --rotate`: create a slot and add it to rotation.
|
|
19
|
+
- `cx login <slot>`: log into a slot-specific `CODEX_HOME`.
|
|
20
|
+
- `cx doctor --online`: validate local layout and query usage.
|
|
21
|
+
|
|
22
|
+
## Safety
|
|
23
|
+
|
|
24
|
+
Do not print `auth.json`, access tokens, or `env.conf` values. These files may
|
|
25
|
+
contain live credentials.
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf of
|
|
171
|
+
any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don\'t include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|