legislative-tracker
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLegislative Tracker Skill
立法追踪Skill
Track Washington State K-12 education legislation from leg.wa.gov using committee-based discovery. This approach queries committees directly via SOAP API to get ALL bills - not just keyword matches.
通过基于委员会的检索方式,从leg.wa.gov追踪华盛顿州K-12教育立法。该方法通过SOAP API直接查询委员会,获取所有相关法案——而非仅匹配关键词的法案。
Why Committee-Based Discovery
为何选择基于委员会的检索方式
Problem with keyword searching: Bills with unexpected wording or indirect impacts get missed. A bill about "unfunded mandates" might never mention "school" but still affect districts.
Solution: Query education committees directly. If a bill is in the House Education Committee or Senate Early Learning & K-12 Education Committee, it's education-related by definition.
**关键词搜索的问题:**措辞特殊或有间接影响的法案会被遗漏。例如一项关于“无资金支持的强制要求”的法案可能从未提及“学校”,但仍会对学区产生影响。
**解决方案:**直接查询教育委员会。若某法案属于众议院教育委员会或参议院早期学习与K-12教育委员会,则该法案必然与教育相关。
Discovery Strategy
检索策略
Tier 1: Direct Education Bills (Comprehensive)
第一层:直接教育类法案(全覆盖)
Query these committees to get ALL education bills:
| Committee | Chamber | Query |
|---|---|---|
| Education | House | All bills - no filtering |
| Early Learning & K-12 Education | Senate | All bills - no filtering |
查询以下委员会,获取所有教育相关法案:
| 委员会 | 议院 | 查询规则 |
|---|---|---|
| Education | 众议院 | 所有法案——无过滤 |
| Early Learning & K-12 Education | 参议院 | 所有法案——无过滤 |
Tier 2: Indirect Impact Bills (Candidates)
第二层:间接影响类法案(候选)
Query these committees and filter via WebFetch:
| Committee | Chamber |
|---|---|
| Appropriations | House |
| Capital Budget | House |
| Labor & Workplace Standards | House |
| Ways & Means | Senate |
| Labor & Commerce | Senate |
| State Government, Tribal Affairs & Elections | Senate |
Workflow: The SOAP API returns only bill IDs. Geoffrey must:
- Get all bill IDs from Tier 2 committees (~700 bills)
- WebFetch each bill's summary page to get the title/description
- Filter for education keywords in the description
- Add matching bills to the tracked list
Filter keywords: school, student, teacher, education, k-12, district, ospi, classroom, principal, paraeducator, learning, instruction, curriculum, diploma, graduation, superintendent, levy, bond, capital, school construction
查询以下委员会,并通过WebFetch进行过滤:
| 委员会 | 议院 |
|---|---|
| Appropriations | 众议院 |
| Capital Budget | 众议院 |
| Labor & Workplace Standards | 众议院 |
| Ways & Means | 参议院 |
| Labor & Commerce | 参议院 |
| State Government, Tribal Affairs & Elections | 参议院 |
**工作流程:**SOAP API仅返回法案ID。Geoffrey需执行以下步骤:
- 获取第二层委员会的所有法案ID(约700项)
- 通过WebFetch获取每项法案的摘要页面,提取标题和描述
- 在描述中筛选教育类关键词
- 将匹配的法案添加至追踪列表
**筛选关键词:**school, student, teacher, education, k-12, district, ospi, classroom, principal, paraeducator, learning, instruction, curriculum, diploma, graduation, superintendent, levy, bond, capital, school construction
Tier 3: WebSearch Fallback
第三层:WebSearch备选方案
If SOAP API fails, use WebSearch:
site:leg.wa.gov "referred to Education" 2025-26
site:leg.wa.gov "Early Learning & K-12" 2025-26
site:leg.wa.gov K-12 school district bill 2025若SOAP API失效,使用WebSearch:
site:leg.wa.gov "referred to Education" 2025-26
site:leg.wa.gov "Early Learning & K-12" 2025-26
site:leg.wa.gov K-12 school district bill 2025Workflow Phases
工作流程阶段
Phase 1: Committee Discovery (SOAP)
阶段1:委员会检索(SOAP)
Run the orchestrator script:
bash
bun skills/legislative-tracker/scripts/get_bills.jsReturns two lists:
- confirmed_bills: From Tier 1 education committees (definitely education-related)
- tier2_candidates: From Tier 2 finance committees (need filtering)
运行编排脚本:
bash
bun skills/legislative-tracker/scripts/get_bills.js返回两个列表:
- confirmed_bills:来自第一层教育委员会的法案(确定与教育相关)
- tier2_candidates:来自第二层财政委员会的法案(需过滤)
Phase 2: WebFetch Confirmed Bills
阶段2:WebFetch确认类法案
For each bill in :
confirmed_billsURL: https://app.leg.wa.gov/billsummary?BillNumber={NUM}&Year=2025Extract full details for analysis.
针对中的每项法案:
confirmed_billsURL: https://app.leg.wa.gov/billsummary?BillNumber={NUM}&Year=2025提取完整详情用于分析。
Phase 3: Filter Tier 2 Candidates
阶段3:过滤第二层候选法案
For each bill in :
tier2_candidates- WebFetch the bill summary page
- Check if title/description contains education keywords
- If relevant, add to tracked bills list
Education keywords: school, student, teacher, education, k-12, district, ospi, classroom, principal, paraeducator, learning, instruction, curriculum, diploma, graduation, superintendent, levy, bond, capital
针对中的每项法案:
tier2_candidates- WebFetch法案摘要页面
- 检查标题/描述是否包含教育类关键词
- 若相关,添加至追踪法案列表
**教育类关键词:**school, student, teacher, education, k-12, district, ospi, classroom, principal, paraeducator, learning, instruction, curriculum, diploma, graduation, superintendent, levy, bond, capital
Phase 4: Analysis
阶段4:分析
Apply analysis framework to all tracked bills:
- Assign priority level (HIGH/MEDIUM/LOW)
- Categorize impact type (FISCAL/OPERATIONAL/WORKFORCE/GOVERNANCE)
- Assess fiscal implications
- Flag district legislator sponsorship
对所有追踪法案应用分析框架:
- 分配优先级(高/中/低)
- 分类影响类型(财政/运营/人力/治理)
- 评估财政影响
- 标记由本区议员发起的法案
Phase 4: Output
阶段4:输出
Generate report in requested format and save to Obsidian:
Path: Work/PSD/Legislative/[YYYY-MM-DD].md
Tags: #legislation #psd #work生成指定格式的报告并保存至Obsidian:
Path: Work/PSD/Legislative/[YYYY-MM-DD].md
Tags: #legislation #psd #workScript Usage
脚本使用
Main Orchestrator
主编排脚本
bash
undefinedbash
undefinedFull discovery (both tiers)
完整检索(两层)
bun skills/legislative-tracker/scripts/get_bills.js
bun skills/legislative-tracker/scripts/get_bills.js
Education committees only (Tier 1)
仅教育委员会(第一层)
bun skills/legislative-tracker/scripts/get_bills.js --tier 1
bun skills/legislative-tracker/scripts/get_bills.js --tier 1
Finance committees only (Tier 2)
仅财政委员会(第二层)
bun skills/legislative-tracker/scripts/get_bills.js --tier 2
bun skills/legislative-tracker/scripts/get_bills.js --tier 2
Briefing format for morning-briefing integration
晨会集成的简报格式
bun skills/legislative-tracker/scripts/get_bills.js --format briefing
undefinedbun skills/legislative-tracker/scripts/get_bills.js --format briefing
undefinedCommittee Explorer
委员会浏览器
bash
undefinedbash
undefinedList all active committees
列出所有活跃委员会
bun skills/legislative-tracker/scripts/get_committees.js
bun skills/legislative-tracker/scripts/get_committees.js
House committees only
仅众议院委员会
bun skills/legislative-tracker/scripts/get_committees.js --chamber house
bun skills/legislative-tracker/scripts/get_committees.js --chamber house
Education committees only
仅教育委员会
bun skills/legislative-tracker/scripts/get_committees.js --filter education
undefinedbun skills/legislative-tracker/scripts/get_committees.js --filter education
undefinedSingle Committee Query
单个委员会查询
bash
undefinedbash
undefinedGet bills in a specific committee
获取特定委员会的法案
bun skills/legislative-tracker/scripts/get_committee_bills.js
--committee "Education" --agency House
--committee "Education" --agency House
bun skills/legislative-tracker/scripts/get_committee_bills.js
--committee "Education" --agency House
--committee "Education" --agency House
Include referral history
包含转介历史
bun skills/legislative-tracker/scripts/get_committee_bills.js
--committee "Education" --agency House --referrals
--committee "Education" --agency House --referrals
undefinedbun skills/legislative-tracker/scripts/get_committee_bills.js
--committee "Education" --agency House --referrals
--committee "Education" --agency House --referrals
undefinedSingle Bill Lookup
单个法案查询
bash
undefinedbash
undefinedGet WebFetch URL for a specific bill
获取特定法案的WebFetch URL
bun skills/legislative-tracker/scripts/get_bill_info.js HB 2551 --year 2025
bun skills/legislative-tracker/scripts/get_bill_info.js "SB 6247" --year 2025
---bun skills/legislative-tracker/scripts/get_bill_info.js HB 2551 --year 2025
bun skills/legislative-tracker/scripts/get_bill_info.js "SB 6247" --year 2025
---Analysis Framework
分析框架
Priority Levels
优先级
| Level | Symbol | Criteria |
|---|---|---|
| HIGH | 🔴 | Direct fiscal impact >$100K, immediate deadline (<7 days), new mandates affecting operations, sponsored by district legislator |
| MEDIUM | 🟡 | Moderate impact, compliance changes, deadline within 30 days |
| LOW | 🟢 | Minimal direct impact, monitoring only, distant timeline |
| 等级 | 标识 | 判定标准 |
|---|---|---|
| 高 | 🔴 | 直接财政影响超10万美元、紧急截止日期(<7天)、影响运营的新强制要求、由本区议员发起 |
| 中 | 🟡 | 中等影响、合规变更、截止日期在30天内 |
| 低 | 🟢 | 直接影响极小、仅需监控、时间线较远 |
Impact Categories
影响类别
| Category | Keywords | Description |
|---|---|---|
| FISCAL | levy, bond, funding, appropriation | Funding formulas, levies, bonds, appropriations |
| OPERATIONAL | procurement, transportation, facilities | Day-to-day operations, contracts, services |
| WORKFORCE | staff, salary, certification, benefits | Staffing, compensation, certification requirements |
| GOVERNANCE | reporting, accountability, board | Compliance, reporting, board authority |
| 类别 | 关键词 | 描述 |
|---|---|---|
| 财政 | levy, bond, funding, appropriation | 资助公式、征税、债券、拨款 |
| 运营 | procurement, transportation, facilities | 日常运营、合同、服务 |
| 人力 | staff, salary, certification, benefits | 人员配置、薪酬、认证要求 |
| 治理 | reporting, accountability, board | 合规、报告、董事会权限 |
Fiscal Impact Indicators
财政影响指标
| Indicator | Symbol | Meaning |
|---|---|---|
| COST INCREASE | ⬆️ | Adds expense to district budget |
| COST DECREASE | ⬇️ | Reduces costs or adds revenue |
| RISK | ⚠️ | Financial uncertainty or liability exposure |
| NEUTRAL | ➡️ | No direct fiscal impact to district |
| 指标 | 标识 | 含义 |
|---|---|---|
| 成本增加 | ⬆️ | 增加学区预算支出 |
| 成本降低 | ⬇️ | 减少成本或增加收入 |
| 风险 | ⚠️ | 财务不确定性或责任风险 |
| 中性 | ➡️ | 对学区无直接财政影响 |
Output Formats
输出格式
Briefing JSON (for morning-briefing)
简报JSON(用于晨会)
json
{
"summary": {
"total_bills": 12,
"new_this_period": 3,
"urgent": 2,
"by_priority": { "high": 2, "medium": 5, "low": 5 }
},
"priority_items": [
{
"bill": "HB 1234",
"title": "Concerning school construction funding",
"priority": "high",
"impact": "fiscal",
"fiscal_indicator": "cost_increase",
"next_action": "House vote 2026-01-30",
"summary": "Increases capital project funding requirements by 15%"
}
],
"upcoming_deadlines": [],
"generated_at": "2026-01-27T08:00:00Z"
}json
{
"summary": {
"total_bills": 12,
"new_this_period": 3,
"urgent": 2,
"by_priority": { "high": 2, "medium": 5, "low": 5 }
},
"priority_items": [
{
"bill": "HB 1234",
"title": "Concerning school construction funding",
"priority": "high",
"impact": "fiscal",
"fiscal_indicator": "cost_increase",
"next_action": "House vote 2026-01-30",
"summary": "Increases capital project funding requirements by 15%"
}
],
"upcoming_deadlines": [],
"generated_at": "2026-01-27T08:00:00Z"
}Full Report Markdown
完整报告Markdown
markdown
undefinedmarkdown
undefinedWA School Legislation Radar
WA学区立法雷达
Report Date: 2026-01-27
Session: 2025-26 Regular
Discovery: Committee-based (Tier 1 + Tier 2)
报告日期: 2026-01-27
会期: 2025-26常规会期
检索方式: 基于委员会(第一层+第二层)
🚨 Priority Action Items
🚨 优先行动事项
🔴 HIGH Priority
🔴 高优先级
HB 1234 - School Construction Funding
HB 1234 - 学校建设资助
- Status: Passed House, in Senate Education Committee
- Sponsors: Rep. Smith (26th), Rep. Jones
- Impact: FISCAL ⬆️
- Summary: Increases capital project funding requirements
- Next Action: Senate hearing Feb 1
- 状态: 众议院已通过,进入参议院教育委员会
- 发起者: Rep. Smith (第26选区), Rep. Jones
- 影响: 财政 ⬆️
- 摘要: 提高资本项目资助要求15%
- 下一步行动: 参议院听证会2月1日
📊 Legislative Dashboard
📊 立法仪表板
Discovery Summary
检索摘要
| Source | Bills Found |
|---|---|
| House Education | 15 |
| Senate EL/K-12 | 12 |
| Tier 2 (filtered) | 8 |
| Total Unique | 28 |
| 来源 | 找到的法案数 |
|---|---|
| 众议院教育委员会 | 15 |
| 参议院早期学习/K-12委员会 | 12 |
| 第二层(已过滤) | 8 |
| 总计(去重后) | 28 |
By Priority
按优先级分类
| Priority | Count | Bills |
|---|---|---|
| 🔴 HIGH | 2 | HB 1234, SB 5678 |
| 🟡 MEDIUM | 5 | ... |
| 🟢 LOW | 5 | ... |
| 优先级 | 数量 | 法案 |
|---|---|---|
| 🔴 高 | 2 | HB 1234, SB 5678 |
| 🟡 中 | 5 | ... |
| 🟢 低 | 5 | ... |
📋 All Tracked Bills
📋 所有追踪法案
[Per-bill details grouped by priority level]
Generated by Geoffrey Legislative Tracker
Discovery: Committee-based SOAP API
---[按优先级分组的单法案详情]
由Geoffrey立法追踪工具生成
检索方式: 基于委员会的SOAP API
---Data Sources
数据源
SOAP API (Primary)
SOAP API(主数据源)
Endpoint:
https://wslwebservices.leg.wa.gov/| Service | Method | Purpose |
|---|---|---|
| CommitteeService | GetActiveHouseCommittees | List House committee names |
| CommitteeService | GetActiveSenateCommittees | List Senate committee names |
| CommitteeActionService | GetInCommittee | Bills currently in committee |
| CommitteeActionService | GetCommitteeReferralsByCommittee | All bills ever referred |
Parameters:
- : "2025-26"
biennium - : "House" or "Senate"
agency - : Exact name from GetActive*Committees
committeeName
端点:
https://wslwebservices.leg.wa.gov/| 服务 | 方法 | 用途 |
|---|---|---|
| CommitteeService | GetActiveHouseCommittees | 列出众议院委员会名称 |
| CommitteeService | GetActiveSenateCommittees | 列出参议院委员会名称 |
| CommitteeActionService | GetInCommittee | 当前在委员会的法案 |
| CommitteeActionService | GetCommitteeReferralsByCommittee | 所有曾被转介的法案 |
参数:
- : "2025-26"
biennium - : "House" 或 "Senate"
agency - : 来自GetActive*Committees的准确名称
committeeName
WebFetch (Bill Details)
WebFetch(法案详情)
URL Pattern:
https://app.leg.wa.gov/billsummary?BillNumber={NUM}&Year=2025URL模板:
https://app.leg.wa.gov/billsummary?BillNumber={NUM}&Year=2025District Configuration
学区配置
From :
config/topics.yamlyaml
district:
name: "Peninsula School District"
legislators:
- name: "Sen. Emily Randall"
district: 26
chamber: senate
- name: "Rep. Spencer Hutchins"
district: 26
chamber: house
- name: "Rep. Adison Richards"
district: 26
chamber: houseBills sponsored by district legislators get elevated priority consideration.
来自 :
config/topics.yamlyaml
district:
name: "Peninsula School District"
legislators:
- name: "Sen. Emily Randall"
district: 26
chamber: senate
- name: "Rep. Spencer Hutchins"
district: 26
chamber: house
- name: "Rep. Adison Richards"
district: 26
chamber: house由本区议员发起的法案会被优先考虑提升优先级。
Error Handling
错误处理
| Scenario | Response |
|---|---|
| SOAP timeout/error | Fall back to WebSearch (Tier 3) |
| Committee not found | Check exact name via get_committees.js |
| No bills in committee | Normal - committee may not have active bills |
| Bill page unavailable | Skip bill, note in report |
| 场景 | 应对方式 |
|---|---|
| SOAP超时/错误 | 切换至WebSearch(第三层) |
| 委员会未找到 | 通过get_committees.js检查准确名称 |
| 委员会无活跃法案 | 正常情况——委员会可能无当前活跃法案 |
| 法案页面无法访问 | 跳过该法案,在报告中注明 |
Session Scope
会期范围
- Current biennium: 2025-26
- Session types: Regular, Special (1st, 2nd, 3rd)
- Year parameter for URLs: 2025 (uses session start year)
- 当前两年期: 2025-26
- 会期类型: 常规、特别(第1、2、3次)
- URL中的年份参数: 2025(使用会期开始年份)
Related Skills
相关Skill
- morning-briefing: Receives legislative JSON for audio summary
- obsidian-manager: Stores full reports to vault
- omnifocus-manager: (Optional) Could create tasks for urgent deadlines
- morning-briefing: 接收立法JSON用于音频摘要
- obsidian-manager: 将完整报告存储至知识库
- omnifocus-manager:(可选)可为紧急截止日期创建任务