legislative-tracker

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Legislative 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:
CommitteeChamberQuery
EducationHouseAll bills - no filtering
Early Learning & K-12 EducationSenateAll bills - no filtering
查询以下委员会,获取所有教育相关法案:
委员会议院查询规则
Education众议院所有法案——无过滤
Early Learning & K-12 Education参议院所有法案——无过滤

Tier 2: Indirect Impact Bills (Candidates)

第二层:间接影响类法案(候选)

Query these committees and filter via WebFetch:
CommitteeChamber
AppropriationsHouse
Capital BudgetHouse
Labor & Workplace StandardsHouse
Ways & MeansSenate
Labor & CommerceSenate
State Government, Tribal Affairs & ElectionsSenate
Workflow: The SOAP API returns only bill IDs. Geoffrey must:
  1. Get all bill IDs from Tier 2 committees (~700 bills)
  2. WebFetch each bill's summary page to get the title/description
  3. Filter for education keywords in the description
  4. 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需执行以下步骤:
  1. 获取第二层委员会的所有法案ID(约700项)
  2. 通过WebFetch获取每项法案的摘要页面,提取标题和描述
  3. 在描述中筛选教育类关键词
  4. 将匹配的法案添加至追踪列表
**筛选关键词:**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 2025

Workflow Phases

工作流程阶段

Phase 1: Committee Discovery (SOAP)

阶段1:委员会检索(SOAP)

Run the orchestrator script:
bash
bun skills/legislative-tracker/scripts/get_bills.js
Returns 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_bills
:
URL: https://app.leg.wa.gov/billsummary?BillNumber={NUM}&Year=2025
Extract full details for analysis.
针对
confirmed_bills
中的每项法案:
URL: https://app.leg.wa.gov/billsummary?BillNumber={NUM}&Year=2025
提取完整详情用于分析。

Phase 3: Filter Tier 2 Candidates

阶段3:过滤第二层候选法案

For each bill in
tier2_candidates
:
  1. WebFetch the bill summary page
  2. Check if title/description contains education keywords
  3. 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
中的每项法案:
  1. WebFetch法案摘要页面
  2. 检查标题/描述是否包含教育类关键词
  3. 若相关,添加至追踪法案列表
**教育类关键词:**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 #work

Script Usage

脚本使用

Main Orchestrator

主编排脚本

bash
undefined
bash
undefined

Full 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
undefined
bun skills/legislative-tracker/scripts/get_bills.js --format briefing
undefined

Committee Explorer

委员会浏览器

bash
undefined
bash
undefined

List 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
undefined
bun skills/legislative-tracker/scripts/get_committees.js --filter education
undefined

Single Committee Query

单个委员会查询

bash
undefined
bash
undefined

Get bills in a specific committee

获取特定委员会的法案

bun skills/legislative-tracker/scripts/get_committee_bills.js
--committee "Education" --agency House
bun skills/legislative-tracker/scripts/get_committee_bills.js
--committee "Education" --agency House

Include referral history

包含转介历史

bun skills/legislative-tracker/scripts/get_committee_bills.js
--committee "Education" --agency House --referrals
undefined
bun skills/legislative-tracker/scripts/get_committee_bills.js
--committee "Education" --agency House --referrals
undefined

Single Bill Lookup

单个法案查询

bash
undefined
bash
undefined

Get 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

优先级

LevelSymbolCriteria
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

影响类别

CategoryKeywordsDescription
FISCALlevy, bond, funding, appropriationFunding formulas, levies, bonds, appropriations
OPERATIONALprocurement, transportation, facilitiesDay-to-day operations, contracts, services
WORKFORCEstaff, salary, certification, benefitsStaffing, compensation, certification requirements
GOVERNANCEreporting, accountability, boardCompliance, reporting, board authority
类别关键词描述
财政levy, bond, funding, appropriation资助公式、征税、债券、拨款
运营procurement, transportation, facilities日常运营、合同、服务
人力staff, salary, certification, benefits人员配置、薪酬、认证要求
治理reporting, accountability, board合规、报告、董事会权限

Fiscal Impact Indicators

财政影响指标

IndicatorSymbolMeaning
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
undefined
markdown
undefined

WA 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

检索摘要

SourceBills Found
House Education15
Senate EL/K-1212
Tier 2 (filtered)8
Total Unique28
来源找到的法案数
众议院教育委员会15
参议院早期学习/K-12委员会12
第二层(已过滤)8
总计(去重后)28

By Priority

按优先级分类

PriorityCountBills
🔴 HIGH2HB 1234, SB 5678
🟡 MEDIUM5...
🟢 LOW5...
优先级数量法案
🔴 高2HB 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/
ServiceMethodPurpose
CommitteeServiceGetActiveHouseCommitteesList House committee names
CommitteeServiceGetActiveSenateCommitteesList Senate committee names
CommitteeActionServiceGetInCommitteeBills currently in committee
CommitteeActionServiceGetCommitteeReferralsByCommitteeAll bills ever referred
Parameters:
  • biennium
    : "2025-26"
  • agency
    : "House" or "Senate"
  • committeeName
    : Exact name from GetActive*Committees
端点:
https://wslwebservices.leg.wa.gov/
服务方法用途
CommitteeServiceGetActiveHouseCommittees列出众议院委员会名称
CommitteeServiceGetActiveSenateCommittees列出参议院委员会名称
CommitteeActionServiceGetInCommittee当前在委员会的法案
CommitteeActionServiceGetCommitteeReferralsByCommittee所有曾被转介的法案
参数:
  • biennium
    : "2025-26"
  • agency
    : "House" 或 "Senate"
  • committeeName
    : 来自GetActive*Committees的准确名称

WebFetch (Bill Details)

WebFetch(法案详情)

URL Pattern:
https://app.leg.wa.gov/billsummary?BillNumber={NUM}&Year=2025

URL模板:
https://app.leg.wa.gov/billsummary?BillNumber={NUM}&Year=2025

District Configuration

学区配置

From
config/topics.yaml
:
yaml
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
Bills sponsored by district legislators get elevated priority consideration.

来自
config/topics.yaml
:
yaml
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

错误处理

ScenarioResponse
SOAP timeout/errorFall back to WebSearch (Tier 3)
Committee not foundCheck exact name via get_committees.js
No bills in committeeNormal - committee may not have active bills
Bill page unavailableSkip 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:(可选)可为紧急截止日期创建任务