Skill596 repo starsupdated 3d ago
finance-r-and-d-credit
Form 6765 R&D Tax Credit walkthrough plus §174 capitalization rules (post-TCJA mandate, software-SMB hot topic). Inputs qualified research activities, qualified research expenses (wages, supplies, contract research), four-part test screening. Outputs 6765 prep package + §174 capitalization schedule. Templates only - not personalized tax advice.
Install in Claude Code
Copygit clone --depth 1 https://github.com/FerroxLabs/wayland /tmp/finance-r-and-d-credit && cp -r /tmp/finance-r-and-d-credit/resources/bundled-extensions/business-finance/skills/finance-r-and-d-credit ~/.claude/skills/finance-r-and-d-creditThen start a new Claude Code session; the skill loads automatically.
Definition
SKILL.md
> **Templates and analytical tools only - not personalized financial, tax, accounting, or legal advice.** R&D credit and §174 capitalization are the highest-dollar SMB-software tax issues and most volatile area of current tax legislation. Documentation requirements are stringent (Treas. Reg. §1.41-4(d), §41(d) four-part test). Review with a qualified CPA / EA / R&D specialist before claiming the credit. Improperly claimed §41 credits are an active IRS audit target.
# Finance - R&D Credit + §174 Capitalization
Build a Form 6765 R&D credit prep package and §174 capitalization schedule for SMBs (especially software, manufacturing, biotech, engineering, and product-development businesses).
## Required inputs
- **Filing year** `{filing_year}` (legislation in this area changes annually - verify §174 immediate-expensing status and §41 credit calculation method for `{filing_year}`)
- **Jurisdiction** (US federal - `finance-r-and-d-credit` covers §41 federal credit; many states have separate R&D credits - CA FTB §23609, NY DTF, MA DOR, etc.)
- **Entity type** (C-corp / S-corp / partnership / sole prop affects how credit flows out)
- **Business activity**: the qualified research activities being claimed
- **Wage records** for employees performing qualified research
- **Supplies used** in research
- **Contract research** payments
- **Cloud computing / hosting** used to develop products (qualifying cases)
- **Prior year QRE** for base-amount calculation (regular method) or 3-year average (simplified)
- **Gross receipts** (5-year for regular method)
## Section 174 capitalization mandate - read FIRST
> ⚠️ **For tax years beginning after 12/31/2021, §174 requires capitalization and amortization of "specified research or experimental (SRE) expenditures":**
> - **5-year amortization** for **domestic** R&E
> - **15-year amortization** for **foreign** R&E
> - Half-year convention applies in year of incurrence
> - Software development is **explicitly** included as SRE (per Notice 2023-63)
> - This applies **whether or not** the §41 credit is claimed
> - Verify whether `{filing_year}` legislation has restored immediate expensing - multiple bills have proposed restoration; status changes.
### Practical impact for software SMBs
A bootstrapped software company spending $500K/year on developer wages historically deducted that immediately. Under post-2021 §174, only 1/5 (with half-year convention, ~10% in year 1) is deductible - taxable income jumps materially even with no operational change. **Pair with §41 credit when possible to soften the cash impact.**
### §174 capitalization schedule
```
SECTION 174 CAPITALIZATION SCHEDULE - Tax Year {filing_year}
──────────────────────────────────────────────────────────────────
Activity Domestic SRE Foreign SRE Total
──────────────────────────────────────────────────────────────────
[Activity 1] $XX,XXX $X,XXX $XX,XXX
[Activity 2] $XX,XXX $X,XXX $XX,XXX
-------- -------- --------
TOTAL $XX,XXX $XX,XXX $XXX,XXX
Year 1 amortization:
Domestic: 1/5 × ½ = 10% → $XX,XXX × 10% = $X,XXX
Foreign: 1/15 × ½ ≈ 3.3% → $XX,XXX × 3.33% = $X,XXX
Years 2–5 (domestic): 20% per year
Years 2–15 (foreign): 6.67% per year
──────────────────────────────────────────────────────────────────
```
## §41 R&D Tax Credit - Four-Part Test (IRC §41(d))
For activities to qualify, **ALL FOUR** must be satisfied:
### 1. Permitted Purpose (§41(d)(1)(B)(ii))
The activity must be undertaken to develop a **new or improved business component** - function, performance, reliability, or quality. Cosmetic / style / aesthetic improvements do NOT qualify.
### 2. Technological in Nature (§41(d)(1)(B)(i))
The activity must rely on principles of:
- Physical sciences (physics, chemistry)
- Biological sciences (biology, biochemistry)
- Engineering (mechanical, electrical, civil, chemical)
- Computer sciences (software development, data processing, AI/ML)
Activities relying solely on social sciences, arts, or humanities do NOT qualify.
### 3. Elimination of Uncertainty (§41(d)(1)(A))
At the outset, the taxpayer must face uncertainty about:
- **Capability** - can it be done?
- **Methodology** - how should it be done?
- **Appropriate design** - what is the optimal design?
If the answer was already known via existing public knowledge, professional skill, or off-the-shelf solutions, the activity does NOT qualify.
### 4. Process of Experimentation (§41(d)(1)(C))
Substantially all (≥80%) of the research activities must constitute a **process of experimentation** - systematic evaluation of one or more alternatives. Examples:
- Modeling, simulation
- Iterative testing and refinement
- Trial and error to converge on a solution
Documented hypotheses, alternatives evaluated, and iterations are key audit defenses.
## Qualified Research Expenses (QRE) categories
### Wages - IRC §41(b)(2)
- W-2 wages of employees performing qualified services (research, direct supervision, direct support).
- **Box 1 wages** are the base; specifically excludes amounts not reported in Box 1 (e.g., 401(k) deferrals are still in QRE; some bonuses included; verify).
- Time-tracking by activity is the strongest documentation - % of time on QRA × wages.
- Officer / owner wages can qualify if performing qualified services.
### Supplies - IRC §41(b)(2)(A)(ii)
- Tangible property (other than land and depreciable property) used in qualified research.
- Includes prototype materials, lab supplies, materials consumed in testing.
- Does NOT include capital assets (computers, lab equipment) - those are depreciated separately.
### Contract Research - IRC §41(b)(3)
- 65% of payments to non-employees performing qualified research on the taxpayer's behalf.
- The taxpayer must bear the financial risk and have substantial rights in the research.
- 75% if payment is to a qualified research consortium.
### Computer Leasing / Cloud Computing - IRC §41(b)(2)(A)(More from this repository
architectureSkill
|
bump-versionSkill
Use when bumping the Wayland version: update package.json, run checks, branch, commit, push, create PR, wait for merge, tag release.
fix-issuesSkill
|
fix-sentrySkill
|
i18nSkill
|
oss-prSkill
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
pr-automationSkill
|
pr-fixSkill
|